Kirk Evans Blog

.NET From a Markup Perspective

An Editing Scheme for RSS

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/xhtmlxmlns: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.