specifying (at the minimum) a title, a permanent link and the content
of the entry. Text-only, HTML and XHTML entries are supported.
-The code for this library is hosted at http://code.tar-jx.bz/atom.git;
-this manual can be found at http://tar-jx.bz/code/atom.html.
+The code for this library is hosted at [[http://code.tar-jx.bz/atom.git]];
+this manual can be found at [[http://tar-jx.bz/code/atom.html]].
* Installation
;; A simple, text-only entry
(atom-add-text-entry
my-atom-feed
- "Hello world"
- "http://example.org/hello"
- "Hello the world!")
+ "Hello world" ; Title
+ "http://example.org/hello" ; Permalink of the entry
+ "Hello the world!") ; Content of the entry
;; A text-only entry, with all the optional pieces of data
(atom-add-text-entry
See the docstrings for the methods above for more details.
-* Additionnal notes
+* Additional notes
** If what you want to do is not possible here
"<p>This is <i>clever</i>, isn't it?")))
(atom-modify-entry entry 'contributor
(atom-massage-author '("John Clever" "jc@example.net")))
- (let* ((content (assoc 'content entry))
- (attrs (xml-node-attributes entry)))
+ (let* ((attrs (xml-node-attributes entry)))
(setcar (cdr entry) (cons '(lang . "en") attrs))))
#+END_SRC
In the =pre= element, whitespace is significant. However,
=xml-parse-region= then =xml-print= will add spaces and
-identation. This is not something that can be fixed from =atom=.
+identation. This is not something that can be fixed from =atom.el=.
-If you already have ypur XHTML content in Lisp format (as opposed to
+If you already have your XHTML content in Lisp format (as opposed to
simply a long string), you can pass it directly, as in:
#+BEGIN_SRC elisp
* License
-=atom.el= ---An elisp library for creating Atom feeds.
+=atom.el= -- An elisp library for creating Atom feeds.
Copyright (C) 2011 Frédéric Perrin.
This program is free software: you can redistribute it and/or modify