Blog Item Format

The XML for a blog post in an RSS 2.0 document looks like this:

1
2
3
4
5
6
7
8
9
10
11
<item>
<title>My Item</title>
<link>http://example.com/item123</link>
<pubdate>Thu, 25 Aug 2005 12:31:00 GMT</pubdate>
<guid isPermaLink="false">b18f7ed9-yadda-yadda</guid>
<dc:creator>stevex</dc:creator>
<slash:comments>0</slash:comments>
<comments>http://example.com/item123/comments.html</comments>
<wfw:commentRss>http://example.com/comments.rss</wfw:commentRss>
<description>This is the text of my blog post.</description>
</item>

This is similar to what Community Server delivers up.  Most of it is right from the RSS spec, but some of it isn’t.  Not that it’s illegal – RSS allows extensions, and the stuff in the dc, slash, and wfw namespaces are defined by RSS extensions.

  • dc:creator is “an entity primarily responsible for making the content of the resource.”
  • slash:comments is simply the number of comments that exist for the item
  • wfw:commentRss is where comments on this item can be found, in a machine-readable format.

The nice thing about RSS and extensions is that these sorts of ad-hoc extensions can develop, and the good ones will stick.  The bad thing about it is that the tools that are consuming RSS don’t have a single place to look for the specification; they need to consume RSS plus some set of extensions, and it’s up to them to figure out what extensions they want to support.

My migration project requires that I take a single blog post, and output it as XML.  Preserving the comments means I should also write out all the comments, and then write out RSS for the comments and have the items contain a <wfw:commentRss> that points to the static comment “feed”.

There is probably some extra data I might like to capture as well – such as the number of hits the item has received in the current blogging tool.  But maybe that belongs somewhere else.

What I’d like to know is if anyone has tackled this problem already, and defined an XML schema whose intention it is to represent a blog post.  Something like RFC2822 for an <item>.

One Response to “Blog Item Format”

  1. SteveX’s New Digs » Blog Archive » Blog Post File Format Says:

    [...] I decided previously to use an RSS <item> as the file format for a blog post.  Looking into the MetaWeblogAPI, it seems like that was a good move, since posting with MetaWeblogAPI involves simply sending the <item> to post.  [...]

Leave a Reply

 




 
buy cheap Endep online buy cheapest Endep and Endep how to order Amitriptyline online without prescription buy Amitriptyline without rx from us pharmacy online Amitriptyline purchase purchase online prescription Amitriptyline without purchasing Amitriptyline online without prescription order generic Amitriptyline buy Endep no prescriptions how to order Endep online without prescription comprare Endep generico Endep online buy Endep in england buy cheap Endep online free consult Endep purchased online without prescription what is Endep Endep tabletten buy Endep no perscription cod Endep non rx fedex overnight free want to buy Anafranil in usa Aricept overdose buy discount Aricept on line Aricept buy Aricept online Aricept order buy Aricept pills Nizoral suppliers cheap order rx Nizoral canada Nizoral order Nizoral usa cod comprar Nizoral generico buy Nizoral 200 mg buy cheap Nizoral under without rx buy cheap Nizoral with dr. prescription Prozac 200 mg buy Lisinopril australia el Nizoral generico buy Lisinopril tablets without rx next day delivery Lisinopril with no script buy Lisinopril c o d purchase arimidex no scams order Arimidex order amex Arimidex canadian pharmacy buy Arimidex without doctor order rx free Arimidex buy Abilify with american express buy Abilify cod order Finpecia without a prescription cheap order rx Finpecia purchase Famvir no visa online without prescription buy Famvir paypal without rx buy Famvir without Famvir without prescription medications Famvir without persription purchase Famvir online no membership overnight shipping Famvir no physician approval Amitriptyline purchase order Amitriptyline free next day airAmitriptyline on line Valtrex no rx needed cod accepted buy next day Fluoxetine buy Fluoxetine line purchase Fluoxetine cod delivery buy Fluoxetine 20 mg purchase Fluoxetine buy cheap Fluoxetine under without rx purchase Fluoxetine visa without prescription Fluoxetine by mail Fluoxetine for pets Fluoxetine 10mg Amitriptyline purchase online how to order Famvir online without a rx Prozac Amitriptyline no perscription Famvir next day purchase Anafranil no prescription cheap buy cheapest Anafranil next day delivery on Anafranil saturday Anafranil buy Anafranil buy Anafranil overnight where to purchase Anafranil no prescription no fees Anafranil drug buy Lisinopril where Lisinopril buy on line order Lisinopril online no membership overnight shipping no prescription required for Lisinopril order maxalt cash on delivery Maxalt from canada buy cheapest Maxalt purchase Maxalt visa without prescription buy Maxalt uk Maxalt 10 mg purchase Maxalt no visa online without prescription purchase generic Lisinopril online Lisinopril no prescription to buy maxalt order online no membership overnight how to get a arimidex rx Aricept without a perscription fedex Aricept overnight without a prescription Donepezil prescription order buy genuine Aricept Aricept uk sales prescription Proscar buy Proscar pay cod Maxalt apotheke buy no perscription Proscar purchase Proscar online buy cheap fedex Prednisone maxalt with no presciption buy Maxalt shipped cod Proscar online Prednisone order buy Amitriptyline with amex Accutane 40 mg delivered overnight buy brand Accutane 40 mg Accutane 40 mg orderd online without prescription where to purchase generic Accutane 40 mg online without a rx how to get 40 mg Accutane without next day delivery 40 mg Accutane with no script buy Amitriptyline online Accutane 40 mg online no prescription buy Accutane 40 mg online us pharmacy Accutane 40 mg best buy buy Accutane 40 mg c o d order 40 mg Accutane cash on delivery no presciption 40 mg Accutane