emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Georgios Bakirtzis <bakirtzisg@ieee.org>
To: emacs-orgmode@gnu.org
Subject: Exporting sitemap from folder structure
Date: Thu, 14 Feb 2019 20:05:52 -0500	[thread overview]
Message-ID: <CADDO8BcdYXhVKwXsKz-o7qkU6v=gqMc3=ixf+XvbQmcQMr5CPw@mail.gmail.com> (raw)

Hello all,

Given the following folder structure
of my "notebooks" folder:

post1_name
   |__ index.org
post2_name
   |__ index.org
etc.

I would like to create an index
of the following form:

*no* title for index
Date -- [[Title][example.com/post1_name/]]
Date -- [[Title][example.com/post2_name/]]
etc.

I have set the following options
in exporting the "notebooks" part
of my website through =org-publish-project-alist=:

>     :sitemap-file-entry-format "%t"
>     :publishing-function org-html-publish-to-html
>     :auto-sitemap t
>     :sitemap-filename "index.org"
>     :makeindex t
>     :sitemap-sort-files anti-chronologically
>     :recursive t

But this results in a tree structure (as expected) of the form
Sitemap for project website-notebooks (as title)
- Index
- post1_name
      + Title of post in org file post1_name
- post2_name
      + Title of post in org file post2_name

I am not really sure how to go about this
I would really appreciate assistance
in achieving this behaviour
as I am not very well versed in elisp.

Thank you for you time,
GB

                 reply	other threads:[~2019-02-15  1:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CADDO8BcdYXhVKwXsKz-o7qkU6v=gqMc3=ixf+XvbQmcQMr5CPw@mail.gmail.com' \
    --to=bakirtzisg@ieee.org \
    --cc=emacs-orgmode@gnu.org \
    /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).