* org-mode blogging @ 2018-12-22 16:57 Roy Lemmon 2018-12-22 22:05 ` Thibault Marin 0 siblings, 1 reply; 2+ messages in thread From: Roy Lemmon @ 2018-12-22 16:57 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 380 bytes --] 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. [-- Attachment #2: Type: text/html, Size: 587 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: org-mode blogging 2018-12-22 16:57 org-mode blogging Roy Lemmon @ 2018-12-22 22:05 ` Thibault Marin 0 siblings, 0 replies; 2+ messages in thread From: Thibault Marin @ 2018-12-22 22:05 UTC (permalink / raw) To: Roy Lemmon; +Cc: emacs-orgmode 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. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-22 22:05 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-12-22 16:57 org-mode blogging Roy Lemmon 2018-12-22 22:05 ` Thibault Marin
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.