Feeds: Fix org-feed when retrieve-method is curl or wget
commit9384f9d7416aa344b0400be596660e997dd76714
authorChristopher League <league@contrapunctus.net>
Tue, 30 Jun 2009 15:34:50 +0000 (30 11:34 -0400)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 30 Jun 2009 17:39:17 +0000 (30 19:39 +0200)
treeef88fa385ddd0e17956c2a490792f91db23b5fed
parentc270d494dad12289b74e4e362c5412c81f7e5691
Feeds: Fix org-feed when retrieve-method is curl or wget

- test on line 312 failed because these methods returned a string instead
  of a buffer

- requesting 'wget actually executed "curl", with bad parameters

- curl needs --silent, so that progress messages don't interrupt content

- atom parser had code to skip HTTP headers, but these are present only
  when using url-retrieve-synchronously; caused errors with curl/wget.
  Instead, remove HTTP headers right after feed buffer is populated.
lisp/ChangeLog
lisp/org-feed.el