Hello, 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" "http://example.org"))) > > ;; A simple, text-only entry > (atom-add-text-entry > my-atom-feed > "Hello world" > "http://example.org/hello" > "Hello the world!") > > ;; an XHTML entry > (atom-add-xhtml-entry > my-atom-feed > "An XHTML example" > "http://example.org/html-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 http://code.tar-jx.bz/atom.git; a complete manual can be found at http://tar-jx.bz/code/atom.html. -- Frédéric Perrin -- http://tar-jx.bz
atom.el
Description: atom.el -- a library for creating Atom feeds
_______________________________________________ gnu-emacs-sources mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
