En cours

RSS/XML parser

Needed: PHP code to parse RSS/XML feeds, and extract required fields into array. A feed is given as a string variable. MUST BE WRITTEN IN PHP!

Two PHP functions needed:

1) PHP function that will extract general info about given feed:

e.g. array FeedInfo(string feed)

results = array (

[title] => 'source title'

[link] => 'link to source'

[pubDate] => 'publication date';

[lastBuiltDate] => 'last built date';

)

2) A php function FeedToArray must parse any type of XML/RSS/Atom feeds (including podcast feeds) and extract required fields into array

array PasreFeedtoArray (string feed, string feed_type, [additional parameters if needed]);

Must be also capable of correctrly parsing CDATA entries. Some of the fields not presents in original feed (e.g. ) must remain empty in the output array. Output array must have the same structure for ALL types of feeds!

results = array (

[0] => array (

[title] => ''

[description] => ''

[link] => '';

[author] => '';

[pubDate] => '';

[category] => '';

[enclosure url] => 'URL to enclosed podcast or video';

)

[1] => array (....)

[2] ....

)

Compétences : PHP

Voir plus : php rss parse enclosure url, php xml parser rss, php xml parser rss enclosure, extract enclosure xml php parser, php xml_parser encolsure, xml &, xml php array, xml parser, xml c, rss, parse a string, info g, enclosure, podcast xml, rss atom php, extract video, source rss, parse array php, php parse string, podcast rss feeds, enclosed source, podcast feed xml, php parse array, rss url, parse array

Concernant l'employeur :
( 1 commentaire ) Tilburg, Netherlands

N° du projet : #40370

Décerné à :

bsoist

I have this. Will deliver today. See PMB for details.

40 $ USD en 0 jours
(33 Commentaires)
6.2

6 freelancers are bidding on average $54 for this job

Zuprem

i can provide a script

100 $ USD en 2 jours
(53 Commentaires)
5.5
EzzatHelal

I have implemented similar script.

35 $ USD en 1 jour
(10 Commentaires)
4.4
BigromuIndia

Plz see private message - Thanks Bigromu India

50 $ USD en 2 jours
(0 Commentaires)
0.0
pyeaman

I am a UK-based software consultant with 20 years experience in the industry - the last five dealing with J2EE, Java , XML , PHP, MySQL, Oracle and html. I have already written a php script to parse rss feeds (I could Plus

50 $ USD en 1 jour
(0 Commentaires)
0.0
sava10

I have a ready script. please take a look at the demo: [url removed, login to view] it parses getafreelancer's rss feed.

50 $ USD en 1 jour
(0 Commentaires)
0.0