emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] org-feed: Fix RSS feed parsing when <item> as attributes
@ 2010-06-22 15:26 Julien Danjou
  2010-06-30  5:37 ` Julien Danjou
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Danjou @ 2010-06-22 15:26 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Julien Danjou

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

Signed-off-by: Julien Danjou <julien@danjou.info>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] org-feed: Fix RSS feed parsing when <item> as attributes
  2010-06-22 15:26 [PATCH] org-feed: Fix RSS feed parsing when <item> as attributes Julien Danjou
@ 2010-06-30  5:37 ` Julien Danjou
  2010-06-30  8:43   ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Danjou @ 2010-06-30  5:37 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]

On Tue, Jun 22 2010, Julien Danjou wrote:

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

May I dare ask a heads up on this?

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] org-feed: Fix RSS feed parsing when <item> as attributes
  2010-06-30  5:37 ` Julien Danjou
@ 2010-06-30  8:43   ` Carsten Dominik
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2010-06-30  8:43 UTC (permalink / raw)
  To: Julien Danjou; +Cc: emacs-orgmode

Hi Julien,

that patch does look good, if it is in the queue on
the patchwork server (is it?), then it will be applied
when someone finds the time.

Cheers

- Carsten

On Jun 30, 2010, at 7:37 AM, Julien Danjou wrote:

> On Tue, Jun 22 2010, Julien Danjou wrote:
>
>> I've RSS feeds with <item foo="bar"> which does not work without  
>> that change.
>
> May I dare ask a heads up on this?
>
> -- 
> Julien Danjou
> // ᐰ <julien@danjou.info>   http://julien.danjou.info
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-30  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22 15:26 [PATCH] org-feed: Fix RSS feed parsing when <item> as attributes Julien Danjou
2010-06-30  5:37 ` Julien Danjou
2010-06-30  8:43   ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).