Sunday, March 07, 2004


Blosxom/Atom Entry Summaries


The discussion here got me thinking as to how to include both full feeds and meaningful summaries in my syndicated feeds. For now, I’m going to concentrate on doing this in the Atom feed, since Atom includes explicit, specified support for carrying both fully marked-up content and summary text for a given <entry>.

The obvious way to do this in Blosxom is to use a meta variable. To drastically oversimplify, the meta mechanism gives you a private namespace in a Blosxom entry to play with, letting you set variables that are available to any plugin you wish to write (or hack, in this case) to do something useful with them. To this end, I’m going to start adding one sentence summaries in a meta-summary variable to my entries, and I’m going to add a field to the story template in the atomfeed plugin to drop them into the feed.

Do any shipping aggregators use summaries in a practical fashion now?


:: Dave Walker 09:59 (EST/EDT) [+] ::

:: [/tech/computers/blosxom]
:: tags:

:: Comments (2)

Comments:

Sam Ruby wrote:

Title: Blosxom excerpts

Date:

Response:
My weblog software's design is based on blosxom's, with entries stored in the familiar title followed by body format. On my longer entries, such as this one, the first element in the body is a div tag with a class of excerpt, something that I parse ou

Sam Ruby wrote:

Title: Blosxom excerpts

Date:

Response:
My weblog software's design is based on blosxom's, with entries stored in the familiar title followed by body format. On my longer entries, such as this one, the first element in the body is a div tag with a class of excerpt, something that I parse ou



Weed's Axiom: Never ask two questions in a business letter. The reply will discuss the one in which you are least interested and say nothing about the other.


valid html | css | rss | atom

browse happy