I have modified the entries for the Astronomy Picture of
the day to use the date specific page instead of the
front page. This allows the user to sometimes access
the new image earlier, and allows the user to get any
past image by using the DATE command. The new defs
are as follows:
<code>
strip apodbig
name Astronomy Picture of the Day (big image)
homepage http://antwrp.gsfc.nasa.gov/apod/
type search
searchpage
http://antwrp.gsfc.nasa.gov/apod/ap%y%m%d.html
searchpattern <a.+?href="(image/\d{4}/.+?\.
(jpg|gif))"
baseurl $homepage
provides any
end
strip apod
name Astronomy Picture of the Day
homepage http://antwrp.gsfc.nasa.gov/apod/
type search
searchpage
http://antwrp.gsfc.nasa.gov/apod/ap%y%m%d.html
searchpattern <img.+?SRC="(image/\d{4}/.+?
\..+?)"
baseurl $homepage
provides any
end
</code>
Logged In: YES
user_id=627550
Hmm, Sourceforge messed up my linebreaks, but the lines
following each searchpage and searchpattern should be on
the previous line.