From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH] fix org-feed when retrieve-method is curl or wget Date: Tue, 30 Jun 2009 19:40:16 +0200 Message-ID: <6E8C4D52-2874-4076-9BEE-FB5D8FB43278@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLhJj-0008Cl-O3 for emacs-orgmode@gnu.org; Tue, 30 Jun 2009 13:40:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLhJe-0008CZ-3a for Emacs-orgmode@gnu.org; Tue, 30 Jun 2009 13:40:27 -0400 Received: from [199.232.76.173] (port=59618 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLhJe-0008CW-0o for Emacs-orgmode@gnu.org; Tue, 30 Jun 2009 13:40:22 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:62737) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLhJd-0006Fj-Lg for Emacs-orgmode@gnu.org; Tue, 30 Jun 2009 13:40:21 -0400 Received: by ewy4 with SMTP id 4so425119ewy.42 for ; Tue, 30 Jun 2009 10:40:20 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christopher League Cc: Emacs-orgmode@gnu.org Applied, thanks. - Carsten On Jun 30, 2009, at 5:59 PM, Christopher League wrote: > Hi Carsten and everyone. I love using org-feed, to gather various > collection points (delicious, starred in google reader, dial2do, > etc) into org-mode. > > I tried switching the org-feed-retrieve-method to curl or wget, and > encountered some bugs. The fixes were simple, and the full details > are in the attached git patch. > > The problem I was trying to solve, however, was that delicious.com > would return a "500 server error" sometimes with url.el, and I'm not > sure why. It returns RSS content anyway, with the error message as > an . Org-feed doesn't notice the HTTP response status, and > processes the error as if it were a legit item (which means that > next time the error occurs, it is silent). Now that I got curl > working, the 500 doesn't seem to happen anymore. > > My hypotheses so far: maybe it has something to do with the user- > agent, or with mangling special characters in the URL. The > delicious URL contains the '&' argument separator, and when the > error message comes back, it appears with something like '&amp;' > in it.. as if it were replaced twice. I haven't traced further, to > determine if fault lies with url.el or with delicious.com. > > Best wishes > Chris > > <0001-fix-org-feed-when-retrieve-method-is-curl-or-wget.patch> > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode