From mboxrd@z Thu Jan 1 00:00:00 1970 From: Georgios Bakirtzis Subject: Exporting sitemap from folder structure Date: Thu, 14 Feb 2019 20:05:52 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guS5P-0006qy-QH for emacs-orgmode@gnu.org; Thu, 14 Feb 2019 20:14:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guRx7-0008JY-Lp for emacs-orgmode@gnu.org; Thu, 14 Feb 2019 20:06:06 -0500 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:33839) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guRx7-0008Dr-AE for emacs-orgmode@gnu.org; Thu, 14 Feb 2019 20:06:05 -0500 Received: by mail-ed1-x52c.google.com with SMTP id b3so6673642ede.1 for ; Thu, 14 Feb 2019 17:06:04 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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