emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [PATCH] org-feed: Fix RSS feed parsing when <item> as attribut


From: Julien Danjou
Subject: [Orgmode] [PATCH] org-feed: Fix RSS feed parsing when <item> as attributes
Date: Tue, 22 Jun 2010 17:26:56 +0200

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

Signed-off-by: Julien Danjou <address@hidden>
---
 lisp/org-feed.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-feed.el b/lisp/org-feed.el
index 37b2327..071ee79 100644
--- a/lisp/org-feed.el
+++ b/lisp/org-feed.el
@@ -583,7 +583,7 @@ containing the properties `:guid' and `:item-full-text'."
     (with-current-buffer buffer
       (widen)
       (goto-char (point-min))
-      (while (re-search-forward "<item>" nil t)
+      (while (re-search-forward "<item\\>.*?*>" nil t)
        (setq beg (point)
              end (and (re-search-forward "</item>" nil t)
                       (match-beginning 0)))
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]