Feeds trick

Almost a year ago I decided to modify my news feeds to carry the full posts instead of summaries. In order to do that, I changed the following line in all my feeds templates:

<description><$MTEntryExcerpt remove_html="1" encode_xml="1"$></description>

into:

<description><$MTEntryBody encode_xml="1"$></description>

One of my reader wrote that it was The Right Thing™ to do, the other one did not complain. And I lived happily ever after.

By doing that, I didn't realize that I made a mistake. If I wrote an entry with an extended body, the extended body wouldn't show up in the feed. Actually, I thought it was good, so that was not a mistake after all. And I started using this trick when writing certain entries, almost articles, that I deemed too long to go in extenso on either the home page or the feeds.

What I'm realizing all of a sudden is that now that my feeds subscribers are used to consume the full posts in their aggregators (and why would they come here on this ugly site anyway?), they are more likely to miss those bigger posts -- of course I leave clues in the summary that there is more to read, but I think that reading news with an aggregator puts one in a mode of fast skimming rather than reading long articles and one might miss it.

However, I wanted to keep this option to decide when a full post is not a full post after all. All I had to do was to replicate the way it works on my home page, i.e. modify one line in each feeds template:

<description><$MTEntryBody encode_xml="1"$></description>

and change it to:

<description><$MTEntryBody encode_xml="1"$><MTEntryIfExtended><![CDATA[<p><a href="<$MTEntryLink encode_xml="1"$>">more...</a></p>]]></MTEntryIfExtended></description>

Et voilà, now all my feeds will sport a "more..." link to the full post when there is more to read than meet the eyes!

Leave a comment

Recent Entries

  • Moving on

    If everything goes well, next week I shall be the happy founder and owner of a shiny brand new company, under which I'll incorporate my...

  • Movable Type 4.2 is out

    Movable Type 4.2 is here with a lot of good news and new features. The new set of licences, if I get things correctly, is...

  • Using Movable Type as a CMS and NewsML feeds generator

    I'm putting the last touches on a CMS to generate custom NewsML feeds for internet portals. It's based on Movable Type 4.2 and allows for...

  • Google lets GMail certificate expire

    This expired certificate alert just showed up for my GMail account. Apparently Google let the SSL certificate expire for the smtp.gmail.com domain. In the...

  • Bon appétit

    We wanted to strip away all the nonsense. Do we really need a sommelier? Do we really need all the other accoutrements that you see...

Close