emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stig Brautaset <stig@brautaset.org>
To: emacs-orgmode@gnu.org
Subject: org-rss feed title is concatenation of all post titles? (ECM included)
Date: Sun, 12 Apr 2020 14:40:15 +0100	[thread overview]
Message-ID: <m2v9m4960w.fsf@brautaset.org> (raw)


I'm using org-rss.el to generate an RSS feed for my blog. I use a
separate file, ~feed.org~, which uses ~#+include:~ to source entries.
This works well for each item in the feed, but not for the main feed
title and feed image title, which appears to be a concatenation of the
feed and all the titles in all the items.

If I export RSS for the below ~feed.org~, the RSS title becomes:

: <title>The Feed Title Title of first post Title of second post</title>

However I *expect* it to be just:

: <title>The Feed Title</title>

The feed image title also is similarly affected:

#+begin_src xml
    <title>The Feed Title Title of first post Title of second post</title>

Below is the Org files used in this example.


#+begin_src org
,#+title: The Feed Title
,* First Post
:RSS_PERMALINK: first-post.html
,#+include: first-post.org
,* Second Post
:RSS_PERMALINK: second-post.html
,#+include: second-post.org


#+begin_src org
,#+title: Title of first post
First post content.


#+begin_src org
,#+title: Title of second post
Second post content.

Software Versions:

- macOS 10.15.3
- Org mode version 9.3.2 (9.3.2-24-g5c72d6-elpaplus @ /Users/stig/.emacs.d/elpa/org-plus-contrib-20200203/)
- GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-09-02


             reply	other threads:[~2020-04-12 13:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-12 13:40 Stig Brautaset [this message]
2020-04-12 14:17 ` Nicolas Goaziou
2020-04-12 21:43   ` Stig Brautaset
2020-04-12 22:23     ` Nicolas Goaziou
2020-04-13  9:54       ` Stig Brautaset
2020-04-13 16:19         ` Nick Dokos
2020-05-21  7:36           ` Bastien

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:

  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=m2v9m4960w.fsf@brautaset.org \
    --to=stig@brautaset.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: org-rss feed title is concatenation of all post titles? (ECM included)' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).