[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [ANN] Org to Atom, revisited
From: |
David Maus |
Subject: |
Re: [Orgmode] [ANN] Org to Atom, revisited |
Date: |
Fri, 09 Jul 2010 07:55:09 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi Scott,
Scott Jaderholm wrote:
>Unfortunately I haven't been able to get the sitemap/index feed
>feature in this or an older version to work for me. Can you add more
>details in Section 4.2?
>It mentions org-atom-publish-org-as-atom-index but it's not in
>http://github.com/dmj/dmj-org-mode/raw/org-atom/lisp/org-atom.el.
Yes, sorry. I am behind with revising the documentation and as it
turned out, the sitemap function was completely broken.
I've pushed a fix for the sitemap function yesterday[1] and my current
(not yet published) section about the sitemap function reads like
this:
,----
| Org's Atom exporter provides a sitemap function to publish a single
| combined feed for all files in the publishing project. To use this
| function you have to provide the mandatory feed meta data by setting
| the property =:publishing-url= to the base URL of the published
| project. The sitemap functions assumes, that all files in the
| project's =:base-dir= are published relative to this URL and will
| create the feed's links pointing to the appropriate locations.
|
| If you prefer an ID for the feed that is distinct from the feed's URL,
| you can provide the ID with the =:feed-id= property.
|
| The name of the feed can be set by the =:sitemap-file= property and
| defaults to =sitemap.atom=.
|
| For example, this minimal project definition will publish a combined
| feed for all entries found in the project's files
|
| #+begin_src emacs-lisp
| ("sitemap-feed"
| :base-directory "~/project/webpage/"
| :base-extension "org"
| :publishing-directory "~/www/"
| :auto-index t
| :publishing-url "http://example.org/"
| :sitemap-function org-atom-publish-feed-sitemap)
| #+end_src
`----
So, the minimal definition
requires :publishing-url, :sitemap-function, and :auto-index to turn
on the sitemap.
Does this makes the sitemap publishing process somewhat clearer?
Best,
-- David
[1] http://github.com/dmj/dmj-org-mode/raw/org-atom/lisp/org-atom.el
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden
pgpz8tbnDCsJU.pgp
Description: PGP signature