Web Hosting Talk







View Full Version : get links from XML


ti_nhatrang
09-23-2006, 07:38 PM
Hi guys,

I have a xml file that has something like this <path>http://www.domain.com/1.jpg</path>, about 8 of them in the xml file.

I would like to have a php script that takes that url, runs ffmpeg to convert it to another format.

Please help me achieve this... thank you.

submenu
09-24-2006, 02:40 PM
Are you running this on PHP4 or 5?

funkytaco
09-24-2006, 10:53 PM
There are good examples of parsing XML at http://www.php.net/xml

kreoton
09-26-2006, 04:40 AM
or you can use framework tool, try to use zend framework

QiSoftware
09-26-2006, 07:10 AM
Have you looked at this link-- http://ffmpeg-php.sourceforge.net/ and see the related API documentation here -- http://ffmpeg-php.sourceforge.net/apidoc.php ?

Q...