I've analyzed Wikipedia's HTML code for representing geographical coordinates. The current code is verbose and does not support the Geo microformat correctly. Three alternatives, differing on functionality and code size, are suggested as replacements:
http://www.princexml.com/howcome/2009/wikipedia/geo/
Alternative 1, which is comptible with Wikipedia's current syntax for personalized presentation, reduces the number of elements from 14 to 10. Alternative 2, which uses CSS generated content to achieve personalized presentations, reduces the number of elments from 14 to 5 and the code size from 798 to 248 bytes.
Cheers,
-h&kon Håkon Wium Lie CTO °þe®ª howcome@opera.com http://people.opera.com/howcome
On Mon, Apr 6, 2009 at 10:25 PM, Håkon Wium Lie howcome@opera.com wrote:
I've analyzed Wikipedia's HTML code for representing geographical coordinates. The current code is verbose and does not support the Geo microformat correctly. Three alternatives, differing on functionality and code size, are suggested as replacements:
http://www.princexml.com/howcome/2009/wikipedia/geo/
Alternative 1, which is comptible with Wikipedia's current syntax for personalized presentation, reduces the number of elements from 14 to 10. Alternative 2, which uses CSS generated content to achieve personalized presentations, reduces the number of elments from 14 to 5 and the code size from 798 to 248 bytes.
Have you sent this to the people who work on geocoding on Wikipedia?
Carcharoth
On Mon, Apr 6, 2009 at 10:50 PM, Carcharoth carcharothwp@googlemail.com wrote:
On Mon, Apr 6, 2009 at 10:25 PM, Håkon Wium Lie howcome@opera.com wrote:
I've analyzed Wikipedia's HTML code for representing geographical coordinates. The current code is verbose and does not support the Geo microformat correctly. Three alternatives, differing on functionality and code size, are suggested as replacements:
http://www.princexml.com/howcome/2009/wikipedia/geo/
Alternative 1, which is comptible with Wikipedia's current syntax for personalized presentation, reduces the number of elements from 14 to 10. Alternative 2, which uses CSS generated content to achieve personalized presentations, reduces the number of elments from 14 to 5 and the code size from 798 to 248 bytes.
Have you sent this to the people who work on geocoding on Wikipedia?
Or indeed those who work on the HTML coding?
Can you tell I can't tell the difference? :-)
Carcharoth
Also sprach Carcharoth:
Have you sent this to the people who work on geocoding on Wikipedia?
I've posted links here:
http://en.wikipedia.org/wiki/Template_talk:Coord#A_proposal_to_simplify_and_... http://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Geographical_coordin...
Any other suggestions?
-h&kon Håkon Wium Lie CTO °þe®ª howcome@opera.com http://people.opera.com/howcome
On Mon, Apr 6, 2009 at 11:01 PM, Håkon Wium Lie howcome@opera.com wrote:
<snip>
Any other suggestions?
No. Those places look right.
Carcharoth