Changeset 855

Show
Ignore:
Timestamp:
06/19/07 02:11:23 (2 years ago)
Author:
sgillies
Message:

link to HTML reprs in KML and feeds

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hammock/trunk/infoset.py

    r852 r855  
    4545        link = etree.SubElement(entry, "link") 
    4646        link.set("rel", "alternate") 
    47         link.set("href", "%s/features/%s" % (base_url, feature.id)) 
     47        link.set("href", "%s/features/%s.html" % (base_url, feature.id)) 
    4848        published = etree.SubElement(entry, "published") 
    4949        published.text = feature.properties.published 
     
    7676        name.text = feature.properties.title 
    7777        description = etree.SubElement(placemark, "description") 
    78         description.text = "%s\nURL: %s/features/%s\nLast Updated: %s" \ 
     78        description.text = "%s\nURL: %s/features/%s.html\nLast Updated: %s" \ 
    7979            % (feature.properties.summary, base_url, feature.id, feature.properties.updated) 
    8080