Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Archive > Sunrise

Notices

 
 
Thread Tools Search this Thread
Old 01-25-2005, 03:34 PM   #1
angrest
Junior Member
angrest began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2005
Question Tricky update Problem

I have a tricky problem, still unsolved:
I would like to get a weather satellite image to plucker. The problem is that the image name suffix changes hourly. The valid name can be derrived from the current time: eg. suffix _1200.jpg is for 12:00. What I would like to achieve is the following: each time I sync, I would like to retrieve the most recent image and put it to always the same plucker document . Is there a way to do this?
(addidtional problem: the image from the above example, _1200.jpg, is usually refreshed at around 12:10).

Thanks for your help
Angrest
angrest is offline  
Old 01-25-2005, 04:11 PM   #2
Liqiud
Infinite Oblivion
Liqiud began at the beginning.
 
Liqiud's Avatar
 
Posts: 84
Karma: 25
Join Date: Jan 2005
Location: United States
Device: Sony Clie PEG-UX50
I have no earthly idea what you just said,
but someone on this site does.

good luck
Liqiud is offline  
Advert
Old 01-25-2005, 04:15 PM   #3
Francesco
Aficionado
Francesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enoughFrancesco will become famous soon enough
 
Francesco's Avatar
 
Posts: 391
Karma: 710
Join Date: Jul 2003
Location: Denver, CO, USA
Device: Nexus 7, Kindle Touch
angrest, I see what you mean, but... a link would be very helpful. I'm thinking that maybe a little filtering could do the trick.
Francesco is offline  
Old 01-26-2005, 03:52 AM   #4
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
This can be done with scripting. See Help Contents for more info. Scripting is quite involved, though.

I've attached an example SDL with a script that (roughly) does what you want. You will have to fill in the base URL of the image you're trying to fetch. (Let us know the actual URL.) The script simply appends "1200.jpg" (or whatever time it happens to be) to the path.
Attached Files
File Type: sdl example-script.sdl (1.8 KB, 763 views)

Last edited by Laurens; 01-26-2005 at 03:55 AM.
Laurens is offline  
Old 01-26-2005, 08:20 AM   #5
hacker
Technology Mercenary
hacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with others
 
hacker's Avatar
 
Posts: 617
Karma: 2561
Join Date: Feb 2003
Location: East Lyme, CT
Device: Direct Neural Implant
I have something very similar for Plucker hourly weather fetches, but it grabs the latest links from the actual upstream website, not the image links themselves (the hrefs are always going to point to the right image, regardless of time-of-day). Unfortunately, its written in Perl and probably won't work well on your platform.

I may make these .pdb files public soon.

What site are you interested in fetching these images on a regular basis from?
hacker is offline  
Advert
Old 01-26-2005, 03:18 PM   #6
hacker
Technology Mercenary
hacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with others
 
hacker's Avatar
 
Posts: 617
Karma: 2561
Join Date: Feb 2003
Location: East Lyme, CT
Device: Direct Neural Implant
Quote:
Originally Posted by hacker
I may make these .pdb files public soon.
Incidentally, these .pdb files that I create are roughly 23M in size. Not exactly small, but they are VERY packed with images.

Check out the screenshots below for some examples.
Attached Thumbnails
Click image for larger version

Name:	pw01.png
Views:	549
Size:	12.4 KB
ID:	500   Click image for larger version

Name:	pw02.png
Views:	460
Size:	50.8 KB
ID:	501   Click image for larger version

Name:	pw03.png
Views:	561
Size:	43.0 KB
ID:	502   Click image for larger version

Name:	pw04.png
Views:	478
Size:	78.3 KB
ID:	503   Click image for larger version

Name:	pw05.png
Views:	559
Size:	59.5 KB
ID:	504  
hacker is offline  
Old 01-26-2005, 04:34 PM   #7
Liqiud
Infinite Oblivion
Liqiud began at the beginning.
 
Liqiud's Avatar
 
Posts: 84
Karma: 25
Join Date: Jan 2005
Location: United States
Device: Sony Clie PEG-UX50
Cool Images
Liqiud is offline  
Old 02-01-2005, 04:01 PM   #8
angrest
Junior Member
angrest began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2005
Sorry, I did not check this thread reuglarily and so, I missed the answers.
The link is:
http://www.dwd.de/de/WundK/Warnungen...hland_0800.jpg
Well understood, there is a referring page which is updated regularily (as one of the previous posters expected). That's where I found the image location. However, the html looks somewhat complex for me (nested tables, lots of stuff around) so that I did not try to parse this.
So - any new ideas?
Thanks for your help!
angrest
angrest is offline  
Old 02-01-2005, 04:24 PM   #9
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
Attached is an SDL that does what you want. I just grabbed the "2200.jpg" image.

Click on the attachment to open the SDL in Sunrise Desktop, then configure a destination to try it out.
Attached Files
File Type: sdl radarbilder.sdl (1.9 KB, 701 views)
Laurens is offline  
Old 02-08-2005, 08:40 AM   #10
angrest
Junior Member
angrest began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2005
Thank you very much - great.
angrest is offline  
 


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unutterably Silly Tricky Poll GeoffC Lounge 22 05-11-2009 11:24 AM
Update Problem extanker59 Calibre 7 09-28-2008 02:40 PM
2.11 Update Problem gingercat iRex 6 09-28-2007 10:40 AM
Tricky Question of the Day: I want a book... where should I buy it? Bob Russell Which one should I buy? 34 09-17-2007 03:30 PM


All times are GMT -4. The time now is 05:04 PM.


MobileRead.com is a privately owned, operated and funded community.