From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: error when trying to add a new rss feed Date: Sat, 14 Nov 2015 11:14:37 +0300 Message-ID: <87y4e16lqq.fsf@gmail.com> References: <87mvujxbtc.fsf@skimble.plus.com> <87vb96dbvg.fsf@debian.uxu> <87wptms93q.fsf@skimble.plus.com> <87vb954mvt.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447490352 29190 80.91.229.3 (14 Nov 2015 08:39:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Nov 2015 08:39:12 +0000 (UTC) Cc: Sharon Kimble To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 14 09:39:04 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 1ZxWMK-0003gQ-9Q for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Nov 2015 09:38:56 +0100 Original-Received: from localhost ([::1]:60728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxWMJ-0000U2-G1 for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Nov 2015 03:38:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxVyt-00069F-Hv for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 03:14:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxVyo-0004qq-Kj for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 03:14:43 -0500 Original-Received: from mail-lb0-x22e.google.com ([2a00:1450:4010:c04::22e]:33981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxVyo-0004qh-DX for help-gnu-emacs@gnu.org; Sat, 14 Nov 2015 03:14:38 -0500 Original-Received: by lbbcs9 with SMTP id cs9so65442793lbb.1 for ; Sat, 14 Nov 2015 00:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=maOi/XxJKWqnDjiCRr9tgh0lB7dvdx+6xs3xkyw3u4Y=; b=qolDT+btzRygwfIg70gsygqAXb4vz8s5pETYp1Yqp1eKGQLijsk0rfjT23AEHSJlqY /seejMlRl6rnvPomGJPpmyi9xiJCqGEoQG9b7HThtVEuJntRq0pr7ZdNJt+yRpwR3rOk SomZ9bKbGNhEzs9uQh5XeZE6Oz+qti6XiirR6PApmJbTEC5fB+ZChvjind69mCXFIVys /qLw8agIqX2Qwrz0dXTnmT0otYEfhH6TanJut5vZOZj+L5FdxGzY+MJlWtdu2doKo331 vfPgW5swY1u0jPGghAc4NIOgNCWd6UFJKkv1yp4UfCZzEB1dh959Xw2lf66YYyzLKxvE Hsvw== X-Received: by 10.112.92.231 with SMTP id cp7mr12872816lbb.7.1447488877349; Sat, 14 Nov 2015 00:14:37 -0800 (PST) Original-Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id 200sm3811356lfz.48.2015.11.14.00.14.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Nov 2015 00:14:36 -0800 (PST) In-Reply-To: <87vb954mvt.fsf@debian.uxu> (Emanuel Berg's message of "Fri, 13 Nov 2015 22:20:38 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22e 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:108055 Archived-At: 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=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: . Sharon, do you really have "~/atom2rss.xsl" file? -- Alex