xml-quotes

Homepage: https://github.com/ndw/xml-quotes

Author: Norman Walsh

Updated:

Summary

Read quotations from an XML document

Commentary

I keep a collection of quotations, mostly for use in mail
signatures. Naturally (for me :-), I keep them in XML. These
functions extract quotations from this file.

Prerequisites:

This file requires xml.el by Emmanuel Briot. Recent versions of
emacs (at least 21.1 and beyond) include xml.el.

You must have a quotations file. I keep mine in ~/.quotes.xml.



Everything should be made as simple as possible, but no
simpler.

We dance around in a ring and suppose,
but the Secret sits in the middle and knows.





Usage:

(xml-quotes-quotation)

Returns the next quotation.

(xml-quotes-quotation n)

Returns the n'th quotation. This sets the next quotation to n+1.

Dependencies