Jump to content

SimpleXMLElement and digg API


figo2476

Recommended Posts

Hi:

 

I have fairly simple question:

 

* $xmltext = "http://services.digg.com/stories/topic/mods?count=1&appkey=http%3A%2F%2Fexample.com%2fapplication";

 

* $xml = new SimpleXMLElement($xmltext);

 

If you paste the URL on browser, you will see the output of XML file (I guess it is generated).

I guess I cannot use SimpleXMLElement in this way, since there is no such file. I wonder what is the correct to handle it.

Link to comment
https://forums.phpfreaks.com/topic/127352-simplexmlelement-and-digg-api/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.