Em Andamento

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

)

Habilidades: PHP

Ver mais: 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

Acerca do Empregador:
( 1 comentário ) Tilburg, Netherlands

ID do Projeto: #40370

Premiar a:

bsoist

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

$40 USD em 0 dias
(33 Avaliações)
6.2

6 freelancers estão ofertando em média $54 para este trabalho

Zuprem

i can provide a script

$100 USD in 2 dias
(53 Comentários)
5.5
EzzatHelal

I have implemented similar script.

$35 USD em 1 dia
(10 Comentários)
4.4
BigromuIndia

Plz see private message - Thanks Bigromu India

$50 USD in 2 dias
(0 Comentários)
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 Mais

$50 USD em 1 dia
(0 Comentários)
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 em 1 dia
(0 Comentários)
0.0