From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sharon Kimble Newsgroups: gmane.emacs.help Subject: Re: error when trying to add a new rss feed Date: Sat, 14 Nov 2015 16:53:16 +0000 Message-ID: <87y4e01q0z.fsf@skimble.plus.com> References: <87mvujxbtc.fsf@skimble.plus.com> <87vb96dbvg.fsf@debian.uxu> <87wptms93q.fsf@skimble.plus.com> <87vb954mvt.fsf@debian.uxu> <87y4e16lqq.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1447570213 32113 80.91.229.3 (15 Nov 2015 06:50:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Nov 2015 06:50:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 15 07:49:58 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zxr8M-0001sm-W5 for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Nov 2015 07:49:55 +0100 Original-Received: from localhost ([::1]:40590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zxr8M-0004Eq-72 for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Nov 2015 01:49:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zxe4w-0007VT-Qv for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 11:53:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zxe4s-0006LB-71 for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 11:53:30 -0500 Original-Received: from avasout02.plus.net ([212.159.14.17]:52058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zxe4r-0006Kv-Le for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 11:53:26 -0500 Original-Received: from london.london ([212.56.101.125]) by avasout02 with smtp id hUtP1r0082iKkuk01UtQ6X; Sat, 14 Nov 2015 16:53:24 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=Fa7Kv8K6 c=1 sm=1 tr=0 a=Z6vFUnHZFshV1nOgW1CWSg==:117 a=Z6vFUnHZFshV1nOgW1CWSg==:17 a=0Bzu9jTXAAAA:8 a=EBOSESyhAAAA:8 a=pGLkceISAAAA:8 a=SSmOFEACAAAA:8 a=xY1_shhyAAAA:8 a=Jw0ohAZaAAAA:8 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=B8JzCmKKpCNGvFrDckAA:9 a=MKfrkMci9nFHc2kI:21 a=LBdWJbD5YzeN53kQ:21 a=RtWDgkkFvGwo9VQz3hIA:9 X-AUTH: skimble@:2500 In-Reply-To: <87y4e16lqq.fsf@gmail.com> (Alex Kost's message of "Sat, 14 Nov 2015 11:14:37 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 212.159.14.17 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108074 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Alex Kost writes: > Emanuel Berg (2015-11-14 00:20 +0300) wrote: > >> Sharon Kimble 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=3D3D\"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: . > > 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 - =2D-8<---------------cut here---------------start------------->8--- locate atom2rss.xsl /home/boudiccas/atom2rss.xsl /home/boudiccas/Downloads/atom2rss.xsl =2D-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. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWR2b9AAoJEDaBgBkK+INbBFoQAIc+YPJMpuIJ8orLQHmkFhTB hhvZEGcvPhZFGU8iMbQYFVlpo9uigY8TOO5hE9qg8H5nZmwFOdaAJbr3YrqLce0g chsratc6TgsJJxkD/WPRnHvIHDOiZcSUxj36wqmvMUPQn2puQUxV5rXIek2ahV40 Yx50E2ngGuxdaqObHuvA3DuvRxCXcN/6xfNXrk35JW465gB275MM1BWWsy9TesK7 bLDtIwjUQD34RT5Z4rjP+RqrQhlZXivWOcXBVlT0wOTV/pFEJCAm/eVBjkoEs2A9 b7zeUyg3SGwtDxBejGTKzI5+u4ZgaqVBZsqs+SCWgrd1Gzkf5BT30yLeB6UWkf1J IYWD6BDSR+byYq0q1R1s9o/mIOMXpkO+gOTDrubUQJ34XZ/Mz0PzDa3jxr2geIiF LteBEOT6y5gDrOXumb00jV5lae2qQB8y3AKr7FFak+e0To+cqVPssuPkTBxHCdPm 8sr+y3XQzKIhudSw9niyYU9cH7f8rZ2XGN18SQbIkqlCHmJ8qOlSuuD6xxu3QAdg 8y8RfUrjoWv8zYWdX8ZXwXhrA7/NOuQbhQ8/DIDlEQaKli3Bz3ym3YzDLT1FDuOe vuqqlX9iiitspmdWz8XAP1Ad7RT6YIKGnA2wdMGKJtg8aIgi0yQ+WC8ZRt9codmQ 6nhAXEjSS1jOsNTy/fm8 =0Xq/ -----END PGP SIGNATURE----- --=-=-=--