rss-php icon indicating copy to clipboard operation
rss-php copied to clipboard

Added support for JSON Feeds

Open AnTheMaker opened this issue 4 years ago • 2 comments
trafficstars

Hi there! I recently came across this great RSS/Atom Feed parsing library! A project of mine requires to not only support RSS and Atom feeds, but also the much newer JSON Feed Standard (https://jsonfeed.org/version/1.1) so I thought why not add support for it to this great library? Anyways, I added support for both JSON Feed 1.0 and JSON Feed 1.1 which can be used with

$json = Feed::loadJsonfeed($url);

Hope this helps someone!

I understand that this is a RSS/Atom parser only right now so it's totally fine if you don't want to merge this PR - I'll just create my own fork then!

Have a great day!

AnTheMaker avatar Aug 24 '21 14:08 AnTheMaker

+1

SannyQ avatar Dec 14 '21 13:12 SannyQ

@AnTheMaker Thanks for this. I have added it to my own fork for use with my custom reader. 🙏

colin-walker avatar Mar 22 '23 09:03 colin-walker