help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error when trying to add a new rss feed


From: Sharon Kimble
Subject: Re: error when trying to add a new rss feed
Date: Sat, 14 Nov 2015 16:53:16 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <alezost@gmail.com> writes:

> Emanuel Berg (2015-11-14 00:20 +0300) wrote:
>
>> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>>
>>> (require 'mm-url)
>>> (defadvice mm-url-insert (after DE-convert-atom-to-rss () )
>>>   "Converts atom to RSS by calling xsltproc."
>>>   (when (re-search-forward "xmlns=3D\"http://www.w3.org/.*/Atom\"";
>>>                            nil t)
>>>     (goto-char (point-min))
>>>     (message "Converting Atom to RSS... ")
>>>     (call-process-region (point-min) (point-max)
>>>                          "xsltproc"
>>>                          t t nil
>>>                          (expand-file-name "~/atom2rss.xsl") "-")
>>>     (goto-char (point-min))
>>>     (message "Converting Atom to RSS... done")))
>>>
>>> (ad-activate 'mm-url-insert)
>>
>> So this is how you do it. It sure looks complicated
>> enough but I've seen that piece of code elsewhere so
>> I suppose it is good.
>
> It is from the wiki: <http://www.emacswiki.org/emacs/GnusRss#toc6>.
>
> Sharon, do you really have "~/atom2rss.xsl" file?

It seems that my reply to this although cc'd, didn't make it to the main
list, sorry, gremlins again!

Yes -

--8<---------------cut here---------------start------------->8---
locate atom2rss.xsl
/home/boudiccas/atom2rss.xsl
/home/boudiccas/Downloads/atom2rss.xsl
--8<---------------cut here---------------end--------------->8---

But maybe I can incorporate its code within my "init.org" to make it
easier to be used? I shall have a hack and see.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.1

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]