{
gchar *href;
AtomText *title;
+ GSList *accept;
};
G_DEFINE_TYPE (GappCollection, gapp_collection, TYPE_ATOM_COMMON)
static void
gapp_collection_init (GappCollection *collection)
{
+ GappCollectionPrivate *priv = GAPP_COLLECTION_GET_PRIVATE (collection);
+
+ priv->accept = NULL;
}
/**
}
gapp_collection = gapp_collection_new (href);
+ priv = GAPP_COLLECTION_GET_PRIVATE (gapp_collection);
title = NULL;
xpcontext = xmlXPathNewContext (xnode->doc);
{
for (i = 0; i < xpresult->nodesetval->nodeNr; i++)
{
+ g_message ("Accept found: %s", xmlNodeGetContent (xpresult->nodesetval->nodeTab[i]));
+ priv->accept = g_slist_append (priv->accept, xmlNodeGetContent (xpresult->nodesetval->nodeTab[i]));
}
}