Next: LaTeX, Previous: Ikiwiki, Up: Publishing Styles
The module facilitates the keeping and publication of a journal. When publishing to HTML, it assumes the form of a web log, or blog.
The input format for each entry is as follows.
* 20040317: Title of entry text for the entry. <qotd> "You know who you are. It comes down to a simple gut check: You either love what you do or you don't. Period." -- P. Bronson </qotd>
The "qotd", or Quote of the Day, is entirely optional. When generated to HTML, this entry is rendered as the following.
<div class="entry"> <div class="entry-qotd"> <h3>Quote of the Day:</h3> <p>"You know who you are. It comes down to a simple gut check: You either love what you do or you don't. Period." -- P. Bronson</p> </div> <div class="entry-body"> <div class="entry-head"> <div class="entry-date"> <span class="date">March 17, 2004</span> </div> <div class="entry-title"> <h2>Title of entry</h2> </div> </div> <div class="entry-text"> <p>Text for the entry.</p> </div> </div> </div>
The plurality of "div" tags makes it possible to display the entries in any form you wish, using a CSS style.
Also, an .RDF file can be generated from your journal by publishing it with the "rdf" style. It uses the first two sentences of the first paragraph of each entry as its "description", and auto-generates tags for linking to the various entries.
If you wish to publish an RDF or RSS feed, it is important to include
the :base-url attribute in your muse-project-alist
entry
for your Journal projects. An example follows.
(setq muse-project-alist '(("Journal" ("~/Journal/" :default "journal") (:base "journal-rss" :base-url "http://example.org/journal/" :path "~/public_html/journal"))))
journal-html
journal-xhtml
journal-latex
journal-pdf
journal-book-latex
journal-book-pdf
journal-rdf
journal-rss
journal-rss-entry
journal-rss
and journal-rdf
for
publishing individual entries.
muse-journal-heading-regexp
Paren group 1 is the ISO date, group 2 is the optional category, and
group 3 is the optional heading for the entry.
muse-journal-date-format
muse-journal-html-heading-regexp
Paren group 1 is the ISO date, group 2 is the optional category, and
group 3 is the optional heading for the entry.
muse-journal-html-entry-template
This may be text or a filename.
muse-journal-latex-section
muse-journal-latex-subsection
muse-journal-markup-tags
See muse-publish-markup-tags, for more information.
This is used by journal-latex
and its related styles, as well as
the journal-rss-entry
style, which both journal-rdf
and
journal-rss
use.
muse-journal-rdf-extension
muse-journal-rdf-base-url
muse-journal-rdf-header
This may be text or a filename.
muse-journal-rdf-footer
This may be text or a filename.
muse-journal-rdf-date-format
muse-journal-rdf-entry-template
This may be text or a filename.
muse-journal-rdf-summarize-entries
The default is nil, because this annoys some subscribers.
muse-journal-rss-heading-regexp
Paren group 1 is the ISO date, group 2 is the optional category,
and group 3 is the optional heading for the entry.
muse-journal-rss-extension
muse-journal-rss-base-url
muse-journal-rss-header
This may be text or a filename.
muse-journal-rss-footer
This may be text or a filename.
muse-journal-rss-date-format
muse-journal-rss-entry-template
This may be text or a filename.
muse-journal-rss-enclosure-types-alist
This is an alist that maps file extension to content type.
Useful for podcasting.
muse-journal-rss-summarize-entries
The default is nil, because this annoys some subscribers.
muse-journal-rss-markup-regexps
For more information on the structure of this list,
See muse-publish-markup-regexps.
muse-journal-rss-markup-functions
For more on the structure of this list, See muse-publish-markup-functions.