Neil Turner's Blog

Blogging about technology and randomness since 2002

8 Comments

  1. That reminds me, on your category rss, the homepage link points back to your category rss rather than your homepage or category page (does that even make sense?)

  2. Thanks, I’ve fixed it.

  3. Ah, thank you. I’ve long since wanted to work on my feed template, but never got around to it. 🙂 A few things…
    1) Is there a reason you force UTF-8? I note that the original template chooses the encoding from the settings in MT ().
    2) Any idea why clicking on the link for any of your feeds always saves the XML file to disk instead of opening in my browser? Yours is the only one I know of that does this… every other link feed displays just fine (even mine, using your new template!).
    3) Plan on tackling Atom next? 🙂

    • 1) UTF-8 is what I use here. Really I should have used <$MTPublishCharset$> like the official one does. I’d probably call that a bug, actually…
      2) That’s because I send the RSS feed with the correct MIME type – application/rss+xml instead of plain application/xml . That’s just me being pedantic though.
      3) Maybe 🙂 .

  4. Very strange, but until I clicked to comment it appeared that I was reading “ATOM” type feed, rather than the nice blog. All the formatting and appearance of the blog wasn’t in place. Posts followed each other, then the little side bar, then the sideblog BELOW all that.
    Odd.
    No idea what is going on, but Tesco has let me back again.

  5. There’s something to be said for using the ‘wrong’ content-type of text/xml, however, as it lets you do fun stuff like this 🙂
    (idea shamelessly borrowed from Google Blog’s atom feed)

  6. Thanks Neil, I have been trying to get some of these features working, but never could.

  7. Hi Neil, I was hoping you could help me get my client’s RSS template working. The key difference is that we need it to be UTF-8 encoding (just like yours) rather than the MT default iso-8859-1 encoding. I tried switching out MT’s default RSS template with your RSS template under the link “Here’s the file you need” (http://www.neilturner.me.uk/resources/rss20.tmpl), but no luck. It keeps returning error.
    Do I actually need also do a full UTF-8 encoding for the other MT templates as well? It seems to keep breaking when it tries to encode the . I am assuming that the description text must have ASCII encoding that the UTF-8 encoding doesn’t like. I’ve been searching for the past two hours and every sample that I’ve tried isn’t working. So I’m beginning to think that it isn’t as simple as just changing the RSS template for MT. That I need to actually do a full UTF-8 conversion of the MT blog. Is this correct? Hope you can offer some advice to a blog-newbie. Thanks Tuvinh