Testing Comments in RSS

I found a Blog Comments Module for RSS, so I've hacked it into my Movable Type's index.rdf generation. My index.rdf is still RSS 1.0 (RDF).

First, I put this block in my template:



<blogcomments:comments>
<MTComments>
<blogcomments:comment>
<blogcomments:name><$MTCommentAuthor></blogcomments:name>
<blogcomments:email
rdf:resource="mailto:<$MTCommentEmail spam_protect="0"$>"/>
<blogcomments:ip><$MTCommentIP></blogcomments:ip>
<blogcomments:date><$MTCommentDate></blogcomments:date>
<blogcomments:body>
<![CDATA[<$MTCommentBody convert_breaks="0"$>]]>
</blogcomments:body>
</blogcomments:comment>
</MTComments>
</blogcomments:comments>


Next up, I will add a smidge of OWL to say that a blogcomments:email is the sameAs foaf:mbox.

Then, the next simple step is to get everyone in the world doing this! Remember, if you add this into your index.rdf for your blog, then trust web authorization services can be built. If you assume that those that comment spam is deleted, the mere fact that posts exist out on the web by an authenticated user must be a good sign.

While the world is updating their blogs to include these new triples, and gearing up for TypeKey, the semweb community can start building the authorization service.

Popular posts from this blog

Lists and arrays in Dart

Converting Array to List in Scala

Null-aware operators in Dart