|
From: | Alex Kost |
Subject: | Re: error when trying to add a new rss feed |
Date: | Sat, 14 Nov 2015 11:14:37 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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? -- Alex
[Prev in Thread] | Current Thread | [Next in Thread] |