HTML Coding of the APOD Site

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) :ssmile: :( :o :shock: :? 8-) :lol2: :x :P :oops: :cry: :evil: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
View more smilies

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: HTML Coding of the APOD Site

HTML Coding of the APOD Site

by alfcen » 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

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>
-->
This would make programming really painless.
I hope my input finds friends.

Cheers
Robert

Top