ohdang888 Posted June 27, 2010 Share Posted June 27, 2010 on a lot of rss feeds, theres a tag called <content:encoded> this is the post itself </content:encoded> i use xml_parse_string, etc. and have converted that into an array (but i still have it saved in an object too anyways... how do i get the data in "<content:encoded>"... simply calling one for <content> doens't work. thanks. Link to comment https://forums.phpfreaks.com/topic/205994-xml-get/ Share on other sites More sharing options...
jskywalker Posted June 27, 2010 Share Posted June 27, 2010 http://blog.stuartherbert.com/php/2007/01/07/using-simplexml-to-parse-rss-feeds/ if you see: "<content:encoded>" than 'content' is a namespace and 'encoded' is a ...... (sorry forgot how a tag in xml is named Link to comment https://forums.phpfreaks.com/topic/205994-xml-get/#findComment-1077887 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.