PHP code example of cledilsonweb / simple-mediumrss
1. Go to this page and download the library: Download cledilsonweb/simple-mediumrss 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/ */
cledilsonweb / simple-mediumrss example snippets
php
imple = new SimpleMediumRSS('https://medium.com/feed/@Medium');
echo $simple->getTitle();
echo $simple->getDescription();
echo $simple->getLastBuildDate();
$itens = $simple->getItens();
foreach($itens as $item){
echo $item->getTitle();
echo $item->getContent();
}