May 13, 2007

XML Question

By Michael J. Totten

I have a question for those of you who are more techie than I am.

Is it possible for me to provide an XML feed for syndication that includes the entire text of an entry? Right now the only available feed excerpts the first sentence or so, and I don’t want to upgrade the blog (from Movable Type 2.64) if I don’t have to.

Thanks!

UPDATE: Fixed thanks to RG in the comments.

Posted by Michael J. Totten at May 13, 2007 09:41 PM
Comments

I'm not exactly an MT expert, but a quick bit of Googling seems to suggest that changing the "MTEntryExcerpt" tag to "MTEntryBody" in your RSS template will do the trick...

Posted by: RG at May 13, 2007 09:55 PM

Hi, Michael.

Yes. Look into using the Atom syndication format. Here is a summary:

http://en.wikipedia.org/wiki/Atom_(standard)

The "atom:content" element can contain the body of the article or blog posting (or whatever).

Note that Google has embraced Atom, and most "RSS readers" and feed aggregators can handle both RSS and Atom.

Unfortunately, MT 2.65 is the version that added Atom support, but there might be some kind of feed template or hack that you could use.

-Zvi

Posted by: Zvi at May 14, 2007 12:12 AM

In case you want more control on your feed, you can always use feedburner.com , a service that will also let you know how many subscribers you have.

Posted by: Mustapha at May 14, 2007 04:02 AM
Post a comment













Remember personal info?






Winner, The 2007 Weblog Awards, Best Middle East or Africa Blog

Pajamas Media BlogRoll Member



Testimonials

"I'm flattered such an excellent writer links to my stuff"
Johann Hari
Author of God Save the Queen?

"Terrific"
Andrew Sullivan
Author of Virtually Normal

"Brisk, bracing, sharp and thoughtful"
James Lileks
Author of The Gallery of Regrettable Food

"A hard-headed liberal who thinks and writes superbly"
Roger L. Simon
Author of Director's Cut

"Lively, vivid, and smart"
James Howard Kunstler
Author of The Geography of Nowhere


Contact Me

Send email to michaeltotten001 at gmail dot com


News Feeds




toysforiraq.gif



Link to Michael J. Totten with the logo button

totten_button.jpg


Tip Jar





Essays

Terror and Liberalism
Paul Berman, The American Prospect

The Men Who Would Be Orwell
Ron Rosenbaum, The New York Observer

Looking the World in the Eye
Robert D. Kaplan, The Atlantic Monthly

In the Eigth Circle of Thieves
E.L. Doctorow, The Nation

Against Rationalization
Christopher Hitchens, The Nation

The Wall
Yossi Klein Halevi, The New Republic

Jihad Versus McWorld
Benjamin Barber, The Atlantic Monthly

The Sunshine Warrior
Bill Keller, The New York Times Magazine

Power and Weakness
Robert Kagan, Policy Review

The Coming Anarchy
Robert D. Kaplan, The Atlantic Monthly

England Your England
George Orwell, The Lion and the Unicorn