all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: error when trying to add a new rss feed
Date: Sat, 14 Nov 2015 21:48:45 +0300	[thread overview]
Message-ID: <87pozcl8mq.fsf@gmail.com> (raw)
In-Reply-To: <87oaewppjv.fsf@skimble.plus.com> (Sharon Kimble's message of "Sat, 14 Nov 2015 15:29:40 +0000")

Sharon Kimble (2015-11-14 18:29 +0300) wrote:

> 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?
>
> Yes -
>
>
> locate atom2rss.xsl
> /home/boudiccas/atom2rss.xsl
> /home/boudiccas/Downloads/atom2rss.xsl
>
> 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.

I don't see how you can incorporate xsl-file in your init.org, and there
is no need in it.

-- 
Alex



  reply	other threads:[~2015-11-14 18:48 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 [this message]
2015-11-14 16:53         ` Sharon Kimble
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pozcl8mq.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.