Hi Joachim,

Please find attached the patch fixing the issue.
It was just a copy&paste issue, I guess, because the atom parsing function
tried to get the feed title as for a rss.

So the patch is very simple. I've tested it with:
 * http://linuxfr.org/news.atom
 * http://zach.status.net/api/statusnet/tags/timeline/freesoftware.atom
 * http://status.jaysitter.com/api/statusnet/tags/timeline/freesoftware.atom

and it seems to be ok.

I find Yarssr very useful: no need to open a heavy browser on another
application to check your feeds.

I'll checkout the code and try to maintain it for myself. Maybe it could be
useful also for Debian.

Thank you.

Best regards,

---
 _____________________________________
/ Serghei MIHAI                       \
| Email  : serghei.mi...@devlibre.net |
| Jabber : sergiu.mi...@devlibre.net  |
\ GPG key: 4096R/BF2FA1AF             /
 -------------------------------------
 \
  \
   \ >()_
      (__)__ _
From 2d1ab8f3969151e9355ee865ae47fcf4210a7c85 Mon Sep 17 00:00:00 2001
From: Serghei Mihai <serghei.mi...@devlibre.net>
Date: Mon, 4 Feb 2013 00:25:06 +0100
Subject: [PATCH] Fixing the issue #699578(atom feeds opening)

---
 Parser.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Parser.pm b/Parser.pm
index f508576..fdd3995 100644
--- a/Parser.pm
+++ b/Parser.pm
@@ -83,7 +83,7 @@ sub parse_atom {
 		my $article = Yarssr::Item->new(
 		    title	=> $title,
 		    url		=> $link,
-		    id		=> $link."___".$item->{'title'},
+		    id		=> $link."___".$title,
 		);
 		push @items,$article;
 	    }
-- 
1.7.10.4

Attachment: signature.asc
Description: PGP signature

Reply via email to