Read metadata from XBEL elements other than the root folder
This commit is contained in:
parent
dc440e85db
commit
967ad910ed
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,10 @@
|
|||
#include <libxml/tree.h>
|
||||
#endif
|
||||
|
||||
static void
|
||||
katze_xbel_parse_info (KatzeItem* item,
|
||||
xmlNodePtr cur);
|
||||
|
||||
static gchar*
|
||||
katze_item_metadata_to_xbel (KatzeItem* item);
|
||||
|
||||
|
@ -52,6 +56,8 @@ katze_item_from_xmlNodePtr (xmlNodePtr cur)
|
|||
katze_item_set_text (item, g_strstrip ((gchar*)key));
|
||||
g_free (key);
|
||||
}
|
||||
else if (!xmlStrcmp (cur->name, (const xmlChar*)"info"))
|
||||
katze_xbel_parse_info (item, cur);
|
||||
cur = cur->next;
|
||||
}
|
||||
return item;
|
||||
|
|
Loading…
Reference in a new issue