[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org-rss-headline
From: |
Nicolas Petton |
Subject: |
Re: [O] [PATCH] org-rss-headline |
Date: |
Wed, 14 Jan 2015 23:51:34 +0100 |
User-agent: |
mu4e 0.9.9.6pre3; emacs 24.4.1 |
Hi,
Here's a new version that uses :RSS_TITLE. Do you think it's good enough
for a first patch? I'll work on the export back-end, but that'll take
some more time.
org-rss-headline.diff
Description: Text Data
Cheers,
Nico
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Nicolas Petton <address@hidden> writes:
>
>> I'm a happy user of ox-rss.el, but was annoyed the other day when I
>> wanted to export an article with a headline containing markup.
>
> What problem did you encounter?
>
>> The problem is that org-rss-headlines uses the raw-value of the headline
>> to export the title, which could contain any markup.
>
> Actually, an export back-end isn't expected to use :raw-value.
>
> One way to handle this is to create an anonymous export back-end that
> strips unwanted objects, or export them differently (e.g., a link is
> exported as its description, if any, or its path). See, for example
> `org-html--format-toc-headline'.
>
>> Here's a patch that uses the :EXPORT_TITLE property if present,
>> :raw-value if not.
>
> :EXPORT_TITLE is meant to replace #+TITLE: during a subtree export.
> There is ALT_TITLE property, but this is usually used in table of
> contents.
>
>
> Regards,
--
Nicolas Petton
http://nicolas-petton.fr
- [O] [PATCH] org-rss-headline, Nicolas Petton, 2015/01/13
- Re: [O] [PATCH] org-rss-headline, Nicolas Goaziou, 2015/01/13
- Re: [O] [PATCH] org-rss-headline,
Nicolas Petton <=
- Re: [O] [PATCH] org-rss-headline, Nicolas Goaziou, 2015/01/16
- Re: [O] [PATCH] org-rss-headline, Nicolas Petton, 2015/01/18
- Re: [O] [PATCH] org-rss-headline, Nicolas Petton, 2015/01/20
- Re: [O] [PATCH] org-rss-headline, Nicolas Goaziou, 2015/01/20
- Re: [O] [PATCH] org-rss-headline, Nicolas Petton, 2015/01/20
- Re: [O] [PATCH] org-rss-headline, Nicolas Goaziou, 2015/01/21