PHP code example of debril / feed-io-extended-rss
1. Go to this page and download the library: Download debril/feed-io-extended-rss library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
debril / feed-io-extended-rss example snippets
= new \FeedIo\Adapter\Guzzle\Client(new GuzzleHttp\Client());
$logger = new \Psr\Log\NullLogger();
$feedIo = new \FeedIo\ExtendedFeedIo($client, $logger);
$result = $feedIo->read('http://php.net/feed.atom');
$feed = $result->getFeed();