summaryrefslogtreecommitdiff
path: root/gdata/gdata-entry.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2009-02-24 22:47:56 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2009-02-24 22:47:56 +0000
commit9ba26a99e02a3c75dd3261d10022580ce4db52bc (patch)
tree3107087a875e962e8fbb044368b872f6f4817c21 /gdata/gdata-entry.c
parentd9936425571b0ea8faeb2fd58071c2b5edede36d (diff)
downloadlibgdata-9ba26a99e02a3c75dd3261d10022580ce4db52bc.tar.gz
Added the beginnings of support for calendar event feeds, including basic support for Google Calendar-specific query parameters.
Diffstat (limited to 'gdata/gdata-entry.c')
-rw-r--r--gdata/gdata-entry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdata/gdata-entry.c b/gdata/gdata-entry.c
index 0d2cb2a4..3dc413ce 100644
--- a/gdata/gdata-entry.c
+++ b/gdata/gdata-entry.c
@@ -408,6 +408,8 @@ _gdata_entry_parse_xml_node (GDataEntry *self, xmlDoc *doc, xmlNode *node, GErro
} else if (xmlStrcmp (node->name, (xmlChar*) "content") == 0) {
/* atom:content */
xmlChar *content = xmlNodeListGetString (doc, node->xmlChildrenNode, TRUE);
+ if (content == NULL)
+ content = xmlGetProp (node, (xmlChar*) "src");
gdata_entry_set_content (self, (gchar*) content);
xmlFree (content);
} else if (xmlStrcmp (node->name, (xmlChar*) "link") == 0) {