[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH 4/4] Unescape rss element content.
From: |
David Maus |
Subject: |
[Orgmode] [PATCH 4/4] Unescape rss element content. |
Date: |
Sat, 19 Jun 2010 16:25:41 +0200 |
* org-feed.el (org-feed-parse-rss-entry): Unescape rss element
content.
---
lisp/org-feed.el | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/org-feed.el b/lisp/org-feed.el
index 2621008..e7fd0f2 100644
--- a/lisp/org-feed.el
+++ b/lisp/org-feed.el
@@ -617,7 +617,7 @@ containing the properties `:guid' and `:item-full-text'."
nil t)
(setq entry (plist-put entry
(intern (concat ":" (match-string 1)))
- (match-string 2))))
+ (org-feed-unescape (match-string 2)))))
(goto-char (point-min))
(unless (re-search-forward "isPermaLink[ \t]*=[ \t]*\"false\"" nil t)
(setq entry (plist-put entry :guid-permalink t))))
@@ -650,8 +650,8 @@ formatted as a string, not the original XML data."
'href)))
;; Add <title/> as :title.
(setq entry (plist-put entry :title
- (car (xml-node-children
- (car (xml-get-children xml 'title))))))
+ (org-feed-unescape (car (xml-node-children
+ (car (xml-get-children xml
'title)))))))
(let* ((content (car (xml-get-children xml 'content)))
(type (xml-get-attribute-or-nil content 'type)))
(when content
--
1.7.1
- [Orgmode] org-feed not working for codeproject, zwz, 2010/06/18
- Re: [Orgmode] org-feed not working for codeproject, David Maus, 2010/06/19
- [Orgmode] Re: org-feed not working for codeproject, zwz, 2010/06/19
- [Orgmode] [PATCH 0/4] org-feed: Improve feed parsing, David Maus, 2010/06/19
- [Orgmode] [PATCH 1/4] Respect possible XML namespace of rss:item elements., David Maus, 2010/06/19
- [Orgmode] [PATCH 2/4] Ignore case of rss element names., David Maus, 2010/06/19
- [Orgmode] [PATCH 3/4] Unescape protected entities defined in `xml-entity-alist'., David Maus, 2010/06/19
- [Orgmode] [PATCH 4/4] Unescape rss element content.,
David Maus <=
- [Orgmode] [PATCH] Declare variable `xml-entity-alist' for byte compiler., David Maus, 2010/06/19
- [Orgmode] [PATCH] Remove superfluous lambda., David Maus, 2010/06/19