Quantcast
Channel: PHP: How to detect/parse all TAGS in rss/feed XML? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by gion_13 for PHP: How to detect/parse all TAGS in rss/feed XML?

You can access each node recursively and you can choose from which one to get your data by checking if the tag name matches your desired one : $indent = 0; $tab = 4; function indent($indent){ $r = "";...

View Article


PHP: How to detect/parse all TAGS in rss/feed XML?

I'm testing rss feed reader, from a sample. It uses: $xmlDoc = new DOMDocument(); $xmlDoc->load($url); $items = $xmlDoc->getElementsByTagName('item'); for ($i=0; $i < $items->length; $i++)...

View Article

Browsing latest articles
Browse All 2 View Live


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