Added atom:content constructore from a xml node.
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Mon, 9 Feb 2009 02:25:43 +0000 (00:25 -0200)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Mon, 9 Feb 2009 02:25:43 +0000 (00:25 -0200)
commitb9dbd538caa53d676019ba04b80e28a3692508a1
tree8b25b610c054a9359591fc2d655a0ba3db4b75d8
parent6d04fc8e6a21f01c23fcd7539e4b7e9b61792ae9
Added atom:content constructore from a xml node.

When parsing an entry, we will have the pointer to a xmlnode containing
the entire content element, including its type. So, split the buffer
constructor into a part that converts it to a xmlDoc and the part that
creates the content object from its root xmlnode.
atom/content.c
include/atompub/content-xml.h