From: Thibault Marin <thibault.marin@gmx.com>
To: Roy Lemmon <roy@roylemmon.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mode blogging
Date: Sat, 22 Dec 2018 17:05:34 -0500 [thread overview]
Message-ID: <87tvj55ia9.fsf@dell-desktop.WORKGROUP> (raw)
In-Reply-To: <CAH5rZC6NYSGZU3hV-AFJ0HjyAfk-itGSq+OaUOkq1_wt+TUzjA@mail.gmail.com>
I have done something similar with the sitemap functionality:
- I used the sitemap functions to extract date and title from the page:
https://thibaultmarin.github.io/blog/posts/2016-11-13-Personal_website_in_org.html#sitemap
- The sitemap is added in the main page to show a list of blog posts:
https://thibaultmarin.github.io/blog/posts/2016-11-13-Personal_website_in_org.html#index_org
- For the RSS feed, I wrote a simple function to extract the first
paragraph of the blog post (there is probably a better way to do this).
I don't know of a standard way to do this, but this seems to work and
approach your needs.
Hope it helps.
thibault
On 2018-12-22T11:57:01-0500, Roy Lemmon wrote:
I have setup a blog using org mode publish.
I can easily list all blog posts on a page. However I would like to list
the blog title, first few lines and date. Then be able to provide a link to
another page with the full blog post.
Is there a standard way to do this or do I need to use some elisp to
extract the title and first few lines manually ?
Thanks for any hints.
Roy.
prev parent reply other threads:[~2018-12-22 22:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-22 16:57 org-mode blogging Roy Lemmon
2018-12-22 22:05 ` Thibault Marin [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=87tvj55ia9.fsf@dell-desktop.WORKGROUP \
--to=thibault.marin@gmx.com \
--cc=emacs-orgmode@gnu.org \
--cc=roy@roylemmon.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).