Quantcast
Channel: How to parse category term from Wordpress ATOM feed in PHP? - Stack Overflow
Browsing all 2 articles
Browse latest 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 all 2 articles
Browse latest View live


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