From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: error when trying to add a new rss feed Date: Fri, 13 Nov 2015 22:20:38 +0100 Message-ID: <87vb954mvt.fsf@debian.uxu> References: <87mvujxbtc.fsf@skimble.plus.com> <87vb96dbvg.fsf@debian.uxu> <87wptms93q.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1447449110 27397 80.91.229.3 (13 Nov 2015 21:11:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2015 21:11:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 13 22:11:35 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 1ZxLcl-0002AT-El for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Nov 2015 22:11:11 +0100 Original-Received: from localhost ([::1]:55237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxLck-0007ji-Td for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Nov 2015 16:11:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxLcZ-0007jO-5R for help-gnu-emacs@gnu.org; Fri, 13 Nov 2015 16:11:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxLcU-0002kg-8v for help-gnu-emacs@gnu.org; Fri, 13 Nov 2015 16:10:59 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:44169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxLcU-0002ka-1d for help-gnu-emacs@gnu.org; Fri, 13 Nov 2015 16:10:54 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZxLcO-0001iJ-CK for help-gnu-emacs@gnu.org; Fri, 13 Nov 2015 22:10:48 +0100 Original-Received: from nl106-137-244.student.uu.se ([130.243.137.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Nov 2015 22:10:48 +0100 Original-Received: from embe8573 by nl106-137-244.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Nov 2015 22:10:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-244.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:kE9lfTqSys78g3KAJ0wr1RONQ/U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:108048 Archived-At: 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=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. Still, if it is good, it should be packetized somehow so not everyone would have it yanked in their init files! But anyway... 1. You already have Gwene so that I'd try first! 2. Otherwise try this - say you want this feed: http://www.dn.se/nyheter/m/rss/ It is to the biggest morning paper i Sweden, the one then-prime-minister Göran Person correctly described as "a really scary paper"... So here we just use it for testing purposes! In the Gnus group buffer, hit G R http://www.dn.se/nyheter/m/rss/ RET RET RET Then you should have it. -- underground experts united http://user.it.uu.se/~embe8573