GetSimple Support Forum
pubDate: CDATA in pages.xml vs page xml - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: pubDate: CDATA in pages.xml vs page xml (/showthread.php?tid=7000)



pubDate: CDATA in pages.xml vs page xml - wdburgdorf - 2014-12-29

Hi,

I just noticed that the data for pubDate in a page's xml file is not wrapped in CDATA like all other data is. In pages.xml it is wrapped, too.

Example:
In mypage.xml: <pubDate>Mon, 29 Dec 2014 13:48:38 +0100</pubDate>
Everywhere else: <pubDate><![CDATA[Mon, 29 Dec 2014 13:48:38 +0100]]></pubDate>

Is there a reason?

Thanks!

Regards,
Ralf.


RE: pubDate: CDATA in pages.xml vs page xml - shawn_a - 2014-12-30

one of the functions saved it as text, i think its updateslugs, this is fixed in 3.4
just (string) it when reading it should be fine either way