Käynnissä

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] ....

)

Taidot: PHP

Näytä lisää: xml php array, xml c, rss, info g, enclosure, podcast xml, rss atom php, extract video, source rss, podcast rss feeds, enclosed source, podcast feed xml, rss url, xml structure, rss output, atom feed, url link xml, array xml php, empty, podcast rss, additional output fields, xml category rss, string array, xml feed url, rss feeds url

About the Employer:
( 1 review ) Tilburg, Netherlands

Projektin tunnus: #40370

Myönnetty käyttäjälle:

bsoist

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

40 $ USD 0 päivässä
(33 arvostelua)
6.2

6 freelanceria on tarjonnut keskimäärin 54 $ tähän työhön

Zuprem

i can provide a script

100 $ USD 2 päivässä
(53 arvostelua)
5.5
EzzatHelal

I have implemented similar script.

35 $ USD 1 päivässä
(10 arvostelua)
4.4
BigromuIndia

Plz see private message - Thanks Bigromu India

50 $ USD 2 päivässä
(0 arvostelua)
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 Lisää

50 $ USD 1 päivässä
(0 arvostelua)
0.0
sava10

I have a ready script. please take a look at the demo: http://icprojects.com/sava10/preg.php it parses getafreelancer's rss feed.

50 $ USD 1 päivässä
(0 arvostelua)
0.0