Quantcast
Channel: Extract image data when pulling in RSS feeds using PHP - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by ericjam for Extract image data when pulling in RSS feeds using PHP

As the answer to random's suggestion:I'm using $item['description'] to represent the description string.Then match for img tag Output image tagThen remove the image tag from the original $content and...

View Article



Answer by random for Extract image data when pulling in RSS feeds using PHP

When displaying the feed contents, variables such as $entry->link and $entry->title work because they are valid, present and required elements in a standard RSS feed item.To call $entry->image...

View Article

Extract image data when pulling in RSS feeds using PHP

The script I am using to pull in the feed titles is:<?php function getFeed($feed_url) { $content = file_get_contents($feed_url); $x = new SimpleXmlElement($content); echo "<ul>";...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images