Kirk Evans Blog

.NET From a Markup Perspective

An Editing Scheme for RSS

An Editing Scheme for RSS

  • Comments 2

Working with RSSBandit and SharpReader this week, I though that it would be nice if SharpReader and RSSBandit could index the comments for a post and show them hierarchically like SharpReader does trackbacks. This got me to thinking about possibilities of RSS outside the simple threaded discussion format, and the implications of Don's xhtml:body element within RSS.

What if a Track Changes schema existed to allow in-place editing of content?  Here is what I imagine:

<rss version =" 2.0 " >
<channel>
 <title> Kirk Allen Evans' Blog </title>
 <link> http://dotnetweblogs.com/KAEvans/ </link>
 <description> .NET From a Markup Perspective </description>
 <generator> RSS Generated by ASPNetWebLog </generator>
<item>
 <title> Namespaces in XML </title>
 <link> http://dotnetweblogs.com/KAEvans/posts/5220.aspx </link>
 <pubDate> Wed, 09 Apr 2003 07:58:00 GMT </pubDate>
 <guid> http://dotnetweblogs.com/KAEvans/posts/5220.aspx </guid>
 <description> A test post about XSLT </description>
<xhtml:body xmlns:xhtml="http://www.w3.org/1999/xhtml">
 <p> XLST is about trangormations. </p>
 </xhtml:body>
 </item>
 </channel>
 </rss>

Notice that in the xhtml:body element the transposition of the letters for XSLT, as well as the misspelling of "transformations." What if an editor existed that allowed Track Changes like Microsoft Word has, so that a reader could alter the RSS feed and send it back to the author for review?

<rss version ="2.0" >
<channel>
<title>Kirk Allen Evans' Blog</title>
<link>http://dotnetweblogs.com/KAEvans/</link>
<description>.NET From a Markup Perspective</description>
<generator>RSS Generated by ASPNetWebLog</generator>
<item>
<title>Namespaces in XML</title>
<link>http://dotnetweblogs.com/KAEvans/posts/5220.aspx</link>
<pubDate>Wed, 09 Apr 2003 07:58:00 GMT</pubDate>
<guid>http://dotnetweblogs.com/KAEvans/posts/5220.aspx</guid>
<description>A test post about XSLT</description>
<xhtml:body xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:edit="urn:rss-content-org:edit">
<p>
<edit:update name ="Kirk Allen Evans" xmlLink ="http://www.dotnetweblogs.com/kaevans" email ="kaevans@xmlandasp.net" >
<edit:previous>XLST</edit:previous>
<edit:new>XSLT</edit:new>
<edit:comments>misspelled</edit:comments>
</edit:update>
is about
<edit:update name ="Kirk Allen Evans" xmlLink ="http://www.dotnetweblogs.com/kaevans" email ="kaevans@xmlandasp.net" description ="misspelled 'XSLT'" >
<edit:previous>trangormations</edit:previous>
<edit:new>transformations</edit:new>
<edit:comments>misspelled</edit:comments>
</edit:update>
</p>
</xhtml:body>
</item>
</channel>
</rss>

Upon receiving the updated content, the original author is able to accept or reject the changes. If accepted, the tech reviewer receives mention on the feed.

  • I don't think this is exactly what you're looking for, but I recently added a comments rss-feed to my site which allows me to see comments to posts threaded like other weblog posts are.

    If you subscribe to http://www.hutteman.com/weblog/comments-rss.xml in SharpReader, then those comments will show as threads from my regular rss-feed. I hope more weblog authors will start providing comments rss-feeds that link back to the original article because it's a great way of keeping track of comments.
  • <a href="www.google.com">How</a> do I add the actual XHTML tags to my description without appendChild escaping them? GRR...
Page 1 of 1 (2 items)
Leave a Comment
  • Please add 8 and 7 and type the answer here:
  • Post
Translate This Page
Search
Archive
Archives