emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: muse-journal features


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: muse-journal features
Date: Wed, 01 Mar 2006 10:32:15 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

[forwarding to the list as well]

Alex Fu <address@hidden> writes:

> I'm interested in using muse (hence muse-journal) as an integrated
> "static" weblog engine, that doesn't need other software to publish
> an entire blog.  I noticed how your blog was designed (at
> mwolson.org) and I've looked at the examples/ directory of the muse
> mode distribution tarball, but it is not obvious to me how you
> handled things such as:
>
> * Pagination (say, the index page shouldn't have more than 10
> entries)
>
> * Generation of archive summary pages and permalinks.

These are both handled by pyblosxom, since I use muse-blosxom.el
rather than muse-journal.el.  If you want an example muse-journal.el
setup, check out examples/johnw/.

Also, make sure you look at the "9.5 Keeping a journal or blog"
section in the Muse manual.  It thoroughly explains the options
available.  Couple that with johnw's example journal project entry in
muse-project-alist, and a journal should be relatively painless to set
up.

> I'd like to receive advices on how I must accomplish this (in case
> it isn't built-in in Muse mode, make it a feature request :-)).  As
> I explained, it would be great not to rely on other software (such
> as pyblosxom).  I'm new to Emacs Lisp, and haven't read the Emacs
> Lisp Reference Manual yet, but I've been using Common Lisp and
> Scheme for some time.  Also tell me if you plan to implement this in
> the future.

muse-journal.el currently does not handle pagination, or moving old
entries to a particular page.  If I recall correctly, johnw
(http://johnwiegley.com/) moves his older entries into a separate file
a few times each year.

If you want pagination to be automated in some way, feel free to file
a bug report with Wishlist status on the Muse bug-tracker that
describes the behavior that you would like to see, and the naming
scheme to be used for the Muse files containing older entries.

I think that you can use the <contents> tag on journal pages to get a
listing of the entries.  In the future, it might be nice to make a
derivative of that tag that could scrape a table of contents from
multiple files containing journal entries.  There would have to be a
way of traversing files in order, though, which might perhaps be
helped by the naming scheme used for automatic pagination.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: anime, manga, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgpY6cMlzb6qJ.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]