To cut to the chase, the following URLs show what I'm up to:
- Google Maps: http://maps.google.com/maps?q=http://classics.uc.edu/troy/grbpottery/grbpilion.kml
- Google Earth: http://classics.uc.edu/troy/grbpottery/grbpilion.kml
The implementation is pretty simple but should give me flexibility going forward. There are three basic components. The file "geography.atom" defines geographic entities. If you look inside you'll see that I derive unique IDs from the Barrington Atlas, so Gaza is "http://atlantides.org/batlas/gaza-70-e2". In doing so, I follow the suggestions of Tom Elliot of ISAW. Looking inside "groups.xml" - which instantiates concepts such as "African Red Slip" for rendering into html - shows that a few such groups make reference to these geographic entities. Search for 'rel="geographic"' to see what I mean. Finally, I munge those two files into "grbpilion.kml", which can be shown directly in Google Earth or via Google Maps using the URLs listed above.
The xslt that does the munging is "kml.xsl". It's pretty ugly right now but it works so will do for the short term.
At a more abstract level, I can theoretically put elements such as
'<link rel="geographic" href="http://atlantides.org/batlas/gaza-70-e2" />'anywhere in the publication. Right now I only implement this idea in groups.xml but I look forward to extending this system to individual sherd descriptions and to the bibliography.