Hi Darren,
The part that confused me is that the BlogML Sample files (BlogML20Sample.xml, etc.) use type="text" even for HTML content -
<content type="text"><![CDATA[<p>Any web application needs a way to send emails to different kinds of its users. This capability
Adding type="markdown" support would be the first step.
The second step would be to make content a repeating element. For example:
<post...>
<content type="text"><![CDATA[Hello world...
<content type="html"><![CDATA[<strong>Hello world...
<content type="markdown"><![CDATA[**Hello world...
</post>
In the above snippet, my exporter was smart enough to encode the content in three different formats. That allows an importer to choose the least "lossy" format - if a blog supports Markdown, it could import that, or it could fall back to HTML or plain text.
In the XML schema, you should just be able to make maxOccurs of the content element > 1.
From a .NET API perspective, content would become a collection:
post.Content.Add("text", "Hello world");post.Content.Add("html", "<strong>Hello world</strong>");
post.Content.Add("markdown", "**Hello world**");