laravelevents icon indicating copy to clipboard operation
laravelevents copied to clipboard

Add RSS feed

Open pronskiy opened this issue 6 years ago • 2 comments

This adds an ability to subscribe to events with RSS. The feed is available at /feed URL path. Events are sorted by create date not by start date, so that subscriber knows when new events are added.

pronskiy avatar Oct 04 '18 14:10 pronskiy

Thanks for this! I hadn't considered adding an RSS feed because I wasn't sure if anyone still used it, but happy to hear there are people that are still using it.

I'd much prefer this if you simplified and removed the 3rd party package requirement. Ideally, you should be able to grab all the future events and just loop them in an RSS blade view. Sort of how I'm grabbing all the events for the JSON API:

https://github.com/laravelnews/laravelevents/blob/master/app/Http/Controllers/HomeController.php#L14-L17

ericlbarnes avatar Oct 04 '18 17:10 ericlbarnes

Eric, thanks for the review. I'll remove the dependency and update the PR soon.

pronskiy avatar Oct 16 '18 15:10 pronskiy