In Progress

PHP XML reader

Hi

I want a simple xml reader class, i dont want anything thats downloaded... should be written from scratch with alot of code comments.

It needs to be simple this is not a huge class project, can not use simplexml(php).

It should grab, title/link/description and post date.

$feed = new RSSReader("url");

$feed->timeout = 10; // seconds

$feed->init();

if ($feed->data)

{

$items = $feed->get_items()

if(count($items) > 0)

{

forreach($items as $item)

{

echo $item->get_title()

echo $item->get_description

echo $item->get_pub_date

}

}

}

else

{

echo no data

}

That about what it needs to be able to do. If it cant crawl a url it should write to a file which url it could not crawl and maybe even why missing title/description nods?

Best Regards

John

Skills: PHP, XML

See more: php xmlreader example, php xmlreader tutorial, php xmlreader, php xml reader, xmlreader php example, xml reader php, php xmlreader sample, xmlreader php tutorial, php xmlreader examples, xmlreader example php, xmlreader tutorial php, php xml reader example, php xmlreader rss, php simple xml reader, php xmlreader timeout, php xmlreader samples, xmlreader php, xml php reader, xmlreader php examples, php xmlreader url, use php xmlreader, php xmlreader simple example, xml reader php tutorial, tutorial xmlreader php, xmlreader simplexml

About the Employer:
( 23 reviews ) Dalby, Sweden

Project ID: #220596

Awarded to:

marchent

pls check PMB.

$120 USD in 3 days
(160 Reviews)
6.2