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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.