org-feed: Fix RSS feed parsing when <item> as attributes

I've RSS feeds with <item foo="bar"> which does not work without that change.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2010-06-22 20:26:56 +00:00 committed by Carsten Dominik
parent c74ecf4387
commit 3308155e23
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ containing the properties `:guid' and `:item-full-text'."
(with-current-buffer buffer (with-current-buffer buffer
(widen) (widen)
(goto-char (point-min)) (goto-char (point-min))
(while (re-search-forward "<item>" nil t) (while (re-search-forward "<item\\>.*?>" nil t)
(setq beg (point) (setq beg (point)
end (and (re-search-forward "</item>" nil t) end (and (re-search-forward "</item>" nil t)
(match-beginning 0))) (match-beginning 0)))