From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Henoch Subject: Re: org-feed: support Atom Date: Wed, 15 Apr 2009 15:43:41 +0100 Message-ID: <84k55m3rky.fsf@linux-b2a3.site> References: <84ocuy3wd2.fsf@linux-b2a3.site> <4209AE59-A7BF-4352-BBCA-EA26E0C8CB75@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lu6LP-0006Em-8S for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 10:44:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lu6LK-0006E0-SM for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 10:44:06 -0400 Received: from [199.232.76.173] (port=50654 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lu6LK-0006Dw-IK for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 10:44:02 -0400 Received: from main.gmane.org ([80.91.229.2]:51413 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lu6LJ-0002oT-Ej for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 10:44:02 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Lu6LB-0002YK-GC for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 14:43:53 +0000 Received: from host213-123-170-251.in-addr.btopenworld.com ([213.123.170.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Apr 2009 14:43:53 +0000 Received: from magnus.henoch by host213-123-170-251.in-addr.btopenworld.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Apr 2009 14:43:53 +0000 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: emacs-orgmode@gnu.org Carsten Dominik writes: > Hi Magnus, > > On Apr 15, 2009, at 3:00 PM, Magnus Henoch wrote: > >> I hacked org-feed to make it support different parsers, and wrote a >> simple Atom parser. > > > This sounds very good! > > However, it does not mean anything to me. :-) > > Web-dump as I am, I have no clue what > "Atom" means. And since I would like to understand > the changes, would you mind explaining what this is > useful for, and maybe show an example? Sure. The great thing about standards is that there are so many of them to choose from, and feeds are no exception. The current version of org-feed.el supports RSS - I'm not sure exactly which version; http://en.wikipedia.org/wiki/Rss#Variants lists six versions of RSS with various levels of intercompatibility. The Atom format is an attempt to clear up this mess by starting from scratch, and some web applications have only Atom feeds. One example of an Atom feed can be found at https://bugzilla.mozilla.org/. Go to "Bugs Filed Today", get the feed by clicking the "radio wave" icon in the Firefox location bar, and use that URL for org-feed-alist. You will need my patches for that to work, and "Parse Feed" and "Parse Entry" need to be set to the Atom ones. Then, you have a low-maintenance list of Mozilla bugs in an Org-mode page. >> I have assigned copyright for Emacs; would that be good enough for >> Orgmode? > > If it says "future changes" and is for Emacs, yes, this will be > sufficient. It does, yes. Magnus