PHP Library to read Medium RSS
composer require cledilsonweb/simple-mediumrss
The php-mbstring and php-xml are dependecies on PHP installation and configuration.
require __DIR__ . '/vendor/autoload.php';
$simple = 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();
}
For more, please: Simple MediumRSS Wiki
Please see CHANGELOG for more information on what has changed recently.
If you discover any security related issues or have any suggestions, please create a new issue.
The MIT License (MIT). Please see License File for more information.