svn path=/trunk/mcs/; revision=158865
+2010-06-07 Carlos Martin Nieto <carlos@cmartin.tk>
+
+ * Rss20ItemFormatter.cs: Don't assume guids are permalinks
+
2009-12-01 Atsushi Enomoto <atsushi@ximian.com>
* Atom10ItemFormatter.cs, Atom10FeedFormatter.cs :
Item.Links.Add (l);
continue;
case "guid":
- Item.AddPermalink (CreateUri (reader.ReadElementContentAsString ()));
+ if (reader.GetAttribute ("isPermaLink") == "true")
+ Item.AddPermalink (CreateUri (reader.ReadElementContentAsString ()));
+ else
+ Item.Id = reader.ReadElementContentAsString ();
continue;
case "pubDate":
// FIXME: somehow DateTimeOffset causes the runtime crash.