Quantcast
Channel: Count item tags from RSS feed (without knowing tag name) - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Kevin for Count item tags from RSS feed (without knowing tag name)

You can gete the name of the node using ->getName method. Push them all inside an array, then use array_count_values(). Example: $url = 'http://www.nu.nl/feeds/rss/gezondheid.rss'; $xml =...

View Article



Count item tags from RSS feed (without knowing tag name)

I'd like to get all used tags (in $feed->channel->item) from the rss feed without knowing the actual tag name. Yes, maybe this sounds weird, let me explain. Example <item>...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images