HTML Coding of the APOD Site
Posted: Wed May 21, 2008 8:57 am
The only wish I have for the awesome APOD site is a unified HTML source code.
Reason being, I am writing a free APOD viewer for the Pocket PC
(http://www.alfcen.com/pocket/apod.html) which needs to parse the HTML code
to extract image file names, explanation text, copyright strings, etc.
The HTML code of the APOD site is sometimes written in upper cases,
sometimes in lower cases, with spaces, without spaces, well... quite messy.
It would be great if essential data could be embedded in XML format, such as
This would make programming really painless.
I hope my input finds friends.
Cheers
Robert
Reason being, I am writing a free APOD viewer for the Pocket PC
(http://www.alfcen.com/pocket/apod.html) which needs to parse the HTML code
to extract image file names, explanation text, copyright strings, etc.
The HTML code of the APOD site is sometimes written in upper cases,
sometimes in lower cases, with spaces, without spaces, well... quite messy.
It would be great if essential data could be embedded in XML format, such as
Code: Select all
<!--
<date>Date released</date>
<caption>Image caption</caption>
<image>Image file url</image>
<width>Image width</width>
<height>Image height</height>
<thumb>Thumbnail url</thumb>
<text>Explanation</text>
<copyright>owners</copyright>
<notes>if any</notes>
-->
I hope my input finds friends.
Cheers
Robert