Valid RSS 0.91 feeds from Movable Type
John Gruber found (as I did recently) that the Movable Type RSS 0.91 template doesn't validate using the new RSS validator (kudos to Mark Pilgrim and Sam Ruby for developing the tool. Mine validates now.). John offers a way to fix it using a new custom plugin, <$MTrfc822BlogTimeZone$>. For those that already have my Regex plugin installed, you can do this instead:
<lastBuildDate><MTEntries lastn="1"><$MTEntryDate format="%a, %d %b %Y %H:%M:%S"$> <$MTBlogTimezone regex="s/://"$></MTEntries></lastBuildDate> <pubDate><$MTDate format="%a, %d %b %Y %H:%M:%S"$> <$MTBlogTimezone regex="s/://"$></pubDate>
Or, if you don't have the time for any of this, just edit your RSS 0.91 template and replace the <MTBlogTimezone> tag with your 3-character time zone code (EST for example) or the numeric +/-HHMM offset equivalent. You could also switch to a RSS 1.0 or 2.0 format.
Hello Brad,
Question: My Blog is Dutch, my language declaration is <dc:language>nl-dut</dc:language>.
Sorry This feed does not validate as RSS.Even if I use your Regex method or RSS 2.0 template, the validator tells me:
line 23, column 43: dc:date must be an ISO-8601 date (2 occurrences) [help]
Would you have any idea what I could do?
Or is valid RSS only available for Americans?
Lawrence
Brad,
Thanks, your tip <$MTDate language="en"... did the trick.
But only when I changed back to RSS 0.91 format as in MT's default templates.
The RSS 2.0 of Mark Pilgrim will still not validate for me, but the validator does not give any explanation why not:
Sorry
This feed does not validate as RSS.
(that's all)
As it still does for my other blog
http://feeds.archive.org/validator/check?url=http://www.groovycompany.nl/Events/index.xml
Lawrence
Brad,
When I try to ping the the TB URL for this article, it just eventually gives up. I can ping other's URL's fine, just not this one.
Is this by design (?), or is your server just too popular to talk to mine? ;)
The switch to link above to RSS 1.0 or 2.0 format doesn't work. Could you tell how I can get these templates?
While at your site I read some of your articles especially using MT (RSS) for the whole site and would appreciate your input in making this site just so.
thanks
neil