Quantcast
Channel: How to parse category term from Wordpress ATOM feed in PHP? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by i alarmed alien for How to parse category term from Wordpress ATOM...

term is an attribute, so you need to use getAttribute to get the data from it. For example:// $dom is the DOMDocument object holding the XML$cats = $dom->getElementsByTagName('category');foreach...

View Article


How to parse category term from Wordpress ATOM feed in PHP?

I have a standard ATOM feed from a Wordpress instance. In the feed, the following category items appear:<category scheme="http://alpha-s2new.simplescienceinc.com/blog" term="Blog" /><category...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>