emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Scott Jaderholm <jaderholm@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: [ANN] Org to Atom, revisited
Date: Fri, 09 Jul 2010 07:55:09 +0200	[thread overview]
Message-ID: <87tyo95hdu.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <AANLkTikptPqWaThGdqk9uSRnx8cvkE16d7Ei8u9qW5LN@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2075 bytes --]

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.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2010-07-09  5:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15 16:51 [ANN] Org to Atom, revisited David Maus
2010-06-15 20:48 ` Scot Becker
2010-06-15 23:06 ` Matt Lundin
2010-06-16  4:02 ` T.F. Torrey
2010-06-16 13:10 ` Olivier Schwander
2010-06-18 16:03   ` David Maus
2010-06-20  8:54     ` T.F. Torrey
2010-07-07  5:38 ` Scott Jaderholm
2010-07-09  5:55   ` David Maus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyo95hdu.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=jaderholm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).