Location: PHPKode > scripts > Zebra_cURL > Zebra_cURL-master/examples/rss-feeds.php

function callback($result) {

    // remember, the "body" property of $result is run through "htmlentities()", so you may need to "html_entity_decode" it

    // show everything


// include the library
require '../Zebra_cURL.php';

// instantiate the Zebra_cURL class
$curl = new Zebra_cURL();

// cache results 3600 seconds
$curl->cache('cache', 3600);

// get RSS feeds of some popular tech websites
), 'callback');

Return current item: Zebra_cURL