emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] [PATCH 1/4] Respect possible XML namespace of rss:item element


From: David Maus
Subject: [Orgmode] [PATCH 1/4] Respect possible XML namespace of rss:item elements.
Date: Sat, 19 Jun 2010 16:25:38 +0200

* org-feed.el (org-feed-parse-rss-feed): Respect possible XML
  namespace of rss:item elements.
---
 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..c86ca90 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]