From: Sharon Kimble <boudiccas@skimble.plus.com>
To: help-gnu-emacs@gnu.org
Subject: Re: error when trying to add a new rss feed
Date: Sat, 14 Nov 2015 16:53:16 +0000 [thread overview]
Message-ID: <87y4e01q0z.fsf@skimble.plus.com> (raw)
In-Reply-To: <87y4e16lqq.fsf@gmail.com> (Alex Kost's message of "Sat, 14 Nov 2015 11:14:37 +0300")
[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2015-11-14 16:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-12 19:22 error when trying to add a new rss feed Sharon Kimble
2015-11-12 20:27 ` tomas
2015-11-12 21:08 ` Sharon Kimble
2015-11-12 21:56 ` tomas
2015-11-12 22:18 ` Jeffrey DeLeo
2015-11-12 23:41 ` Emanuel Berg
2015-11-13 6:32 ` Sharon Kimble
2015-11-13 21:20 ` Emanuel Berg
2015-11-14 8:14 ` Alex Kost
2015-11-14 15:29 ` Sharon Kimble
2015-11-14 18:48 ` Alex Kost
2015-11-14 16:53 ` Sharon Kimble [this message]
2015-11-14 8:15 ` Alex Kost
2015-11-14 15:54 ` Sharon Kimble
2015-11-14 18:49 ` Alex Kost
2015-11-14 19:57 ` Sharon Kimble
2015-11-14 16:56 ` Sharon Kimble
2015-11-15 7:48 ` SOLVED - " Sharon Kimble
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4e01q0z.fsf@skimble.plus.com \
--to=boudiccas@skimble.plus.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).