Quantcast
Channel: Active questions tagged feed+php+simplexml - Stack Overflow
Browsing latest articles
Browse All 16 View Live

problems geting values from xml

Im trying to get some values from the below xml feed <?xml version="1.0" ?> <SEARCH> <LOCATION> <NAME>Terrance</NAME> <COUNTRY>USA</COUNTRY> </LOCATION>...

View Article



PHP SimpleXML: Feed modification

I want to modify an RSS feed. I want to remove X items from feed and then return the new feed as XML. <?php class RSS { private $simpleXML; public function __construct($address) { $xml =...

View Article

php: parsing rss feed using simplexml and xpath

I tried to parse the link on rss feed with images using php. I tried parsing the rss feed to display images from the enclosure tag. I tried the solution given on that link. But it doesn't work. The...

View Article

SimpleXML feed showing blank arrays - how do I get the content out?

I'm trying to get the image out of a rss feed using a simpleXML feed and parsing the data out via an array and back into the foreach loop... in the source code the array for [description] is shown as...

View Article

Reading 2 RSS feeds at ones and mix the results

For a schoolproject I need a way to read multiple RSS feeds from different newssites and show them on my website. Now I got the part that I load in the RSS feeds with SimpleXML, but than I got first a...

View Article


simpleXML returns empty element

I got a problem reading an XML-Feed Sample of the XML File: <f:feed xmlns:f="http://www.bbgo.de/feedxml/feed" xmlns:a="http://www.bbgo.de/feedxml/article" xmlns="http://www.w3.org/1999/xhtml"...

View Article

Trying to Parse Only the Images from an RSS Feed

First, I am a php newbie. I have looked at the question and solution here. For my needs however, the parsing does not go deep enough into the various articles. A small sampling of my rss feed reads...

View Article

Loading data from XML: How to skip error in/incorrect XML file?

I have in database several XML feeds which I regularly checking. How I do process data: I load these XML links from DB and in loop through the simplexml_load_file() I am parsing data. But sometimes...

View Article


SimpleXML parse external php feed

I want to parse an external php feed. The address: http://www.hittadjur.se/feed.php?count=1 The output: <?xml version="1.0"?> <annons> <rubrik>Wilja</rubrik>...

View Article


Using PHP to grab data from an XML feed when 2 or more fields have the same name

I am having some issues getting this to work, I have a massive XML feed which I am putting into a MYSQL Database using PHP. One XML article looks like this... <Article Created="10:49:51"...

View Article

Present latest wordpress posts on smarty

I want to show some latetst post on a webpage wich uses smarty. I found some script and changed it some where but i do not get it working. On the template files I inserted the next code: {sr_wpfeed...

View Article

PHP RSS FEED - Reading different feed types

I'm not sure that the title of my question is correct, but I'm trying to read some RSS Feeds (Podcasts feeds) and with the same PHP code, some rss feeds cannot be parsed, and others are parsed. I...

View Article

Wordpress Feeds RSS XML - PHP media

I have this code but I don't know how I get the media Please someone could help me? I need show the image of post on my website Below my PHP and XML for Wordpress Feeds PHP $html = ""; $url =...

View Article


What's the right way of getting category list of a Wordpress web site using PHP?

I need to read the list of Wordpress categories of a blog and insert them as hyperlinks into my PHP Page. I used simplexml_load_file and it's working on my local Wamp Server perfectly. But I'm worried...

View Article

How to remove the [@attributes] in the SimpleXMLElement Object

SimpleXMLElement Object ( [@attributes] => Array ( [domain] => http://www.eatingwell.com/category/publication/magazine /september/october_2009 ) [0] => September/October 2009 [1] =>...

View Article


simplexml_load_file(): http://website.com/feed:563: parser error : Entity...

I'm trying to load XML data from a website, But I'm getting the following errors:simplexml_load_file(): http://website.com/feed:563: parser error : Entity 'nbsp' not definedsimplexml_load_file():...

View Article
Browsing latest articles
Browse All 16 View Live




Latest Images