X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=atom.el;h=126371a76bfbda2e5bec98214ad9879660c7c612;hb=066828ac7dec2995349288b8e7b19213a916886e;hp=ce01f85a09e4c18b16c267392ee03fdc64051166;hpb=36d9eaeb906863b92a3756eb6483f7cd05767e04;p=atom.el.git diff --git a/atom.el b/atom.el index ce01f85..126371a 100644 --- a/atom.el +++ b/atom.el @@ -27,8 +27,7 @@ ;; permanent link and the content of the entry. Text-only, HTML and ;; XHTML entries are supported. -;; A feed is really a Lisp structure as used by the `xml.el' package, -;; without the parent `feed' element. +;; It is possible to produce both Atom and RSS feeds. ;; A typical usage would look like this: @@ -40,31 +39,23 @@ ;; "http://example.org/hello" ;; "Hello the world!") ;; -;; ; A text-only entry, with all the optional pieces of data -;; (atom-add-text-entry -;; my-atom-feed -;; "Bonjour" -;; "http://example.org/bonjour" -;; "Bonjour à tout le monde !" -;; ;; optional: the last modification time -;; (date-to-time "2011-01-30 23:40:12") -;; ;; optional: an identifier for this entry; a common way to generate it is -;; ;; to use the domain name and the creation date of the entry. -;; (atom-generate-id "http://example.org" -;; (date-to-time "2011-01-30 10:01:05")) -;; ;; optional: a summary for this entry -;; "Bonjour, monde.") -;; ;; (atom-add-xhtml-entry ;; my-atom-feed ;; "An XHTML example" ;; "http://example.org/html-example" ;; "
One can also use XHTML in the entries.
") -;; (atom-print my-atom-feed)) +;; +;; (atom-print my-atom-feed) +;; ;; If you prefer RSS feeds: +;; (atom-to-rss-print my-atom-feed)) + +;; Full documentation is available at