simplexml - simplexml_load_file vs Third party RSS parsing libraries.(PHP) -


i wish parse rss feed in php. first found various third party libraries same namely: magpie , simplepie.

but since rss files in xml format, php has native functions of simplexml_load_file parse xml file.

so why should 1 required external libraries , not use native function?

using third party lib specialized in reading rss feeds, have methods , properties simplexml has not, because there implemented library.

but if want read simple xml feed, using simplexml sufficient.

magpie example implemented functions cache data, example.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -