[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

First version of atom.el --A library for creating Atom feeds

From: Frédéric Perrin
Subject: First version of atom.el --A library for creating Atom feeds
Date: Sun, 06 Feb 2011 17:48:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)


I am pleased to announce the first version of atom.el. This is a library
for creating an Atom feed from a Lisp program. The normal usage is to
create a feed with `atom-create', giving it a title and a Web address.
Once the feed has been created, entries may be added to the feed, by
specifying (at the minimum) a title, a permanent link and the content of
the entry. Text-only, HTML and XHTML entries are supported.

It is possible to produce both Atom and RSS feeds.

A simple feed would be created like this:

> (let ((my-atom-feed (atom-create "My feed" "";)))
>   ;; A simple, text-only entry
>   (atom-add-text-entry
>    my-atom-feed
>    "Hello world"
>    "";
>    "Hello the world!")
>   ;; an XHTML entry
>   (atom-add-xhtml-entry
>    my-atom-feed
>    "An XHTML example"
>    "";
>    "<p>One can also use <acronym>XHTML</acronym> in the entries.</p>")
>   ;; Get the resulting Atom feed (see also `atom-write-file')
>   (atom-print my-atom-feed))

The code for this library is hosted at;
a complete manual can be found at

Frédéric Perrin --

Attachment: atom.el
Description: atom.el -- a library for creating Atom feeds

reply via email to

[Prev in Thread] Current Thread [Next in Thread]