[totem-pl-parser] You can't get a logo in atom:entry



commit ff46f8db0ca329616838c70f1a009fd7628f8754
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 17 15:49:36 2009 +0100

    You can't get a logo in atom:entry
    
    https://bugzilla.gnome.org/show_bug.cgi?id=595471

 plparse/totem-pl-parser-podcast.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/plparse/totem-pl-parser-podcast.c b/plparse/totem-pl-parser-podcast.c
index b186a61..325fe53 100644
--- a/plparse/totem-pl-parser-podcast.c
+++ b/plparse/totem-pl-parser-podcast.c
@@ -360,11 +360,11 @@ totem_pl_parser_add_zune (TotemPlParser *parser,
 static TotemPlParserResult
 parse_atom_entry (TotemPlParser *parser, xml_node_t *parent)
 {
-	const char *title, *author, *img, *uri, *filesize;
+	const char *title, *author, *uri, *filesize;
 	const char *copyright, *pub_date, *description;
 	xml_node_t *node;
 
-	title = author = img = uri = filesize = NULL;
+	title = author = uri = filesize = NULL;
 	copyright = pub_date = description = NULL;
 
 	for (node = parent->child; node != NULL; node = node->next) {
@@ -375,8 +375,6 @@ parse_atom_entry (TotemPlParser *parser, xml_node_t *parent)
 			title = node->data;
 		} else if (g_ascii_strcasecmp (node->name, "author") == 0) {
 			//FIXME
-		} else if (g_ascii_strcasecmp (node->name, "logo") == 0) {
-			img = node->data;
 		} else if (g_ascii_strcasecmp (node->name, "link") == 0) {
 			const char *rel;
 



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