Adding a guid element to feed items, replicates URL.
authorDan Karran <dan@karran.net>
Sun, 17 Jun 2007 19:25:35 +0000 (19:25 +0000)
committerDan Karran <dan@karran.net>
Sun, 17 Jun 2007 19:25:35 +0000 (19:25 +0000)
lib/osm.rb

index 99b2dc6737006adb80afe5595b12b822fd858310..6d2ef9efdcfb06394df481aa29f5780442ebcde1 100644 (file)
@@ -290,6 +290,10 @@ module OSM
       link << url
       item << link
 
+      guid = XML::Node.new 'guid'
+      guid << url
+      item << guid
+
       description = XML::Node.new 'description'
       description << description_text
       item << description