filamentphp / filamentphp.com

Source code for the filamentphp.com website.
https://filamentphp.com
186 stars 244 forks source link

Added RSS feed for plugins #493

Open ap1969 opened 2 months ago

ap1969 commented 2 months ago

Hi,

Added a route on /feeds/plugins to provide the latest 20 plugins as rendered in the main /plugins directory.

Regards, Andy

HassanZahirnia commented 2 months ago

Hey, thanks for submitting the PR!

I think Dan should make comment on this, but personally if I were to provide RSS feeds I would use a 3rd party package, and not use custom logic and whatnot. Also I'm not sure about the weird formatting and unrelated changes made to the .php files in this PR

ap1969 commented 2 months ago

Fair enough. I tried to use Spatie's package, but couldn't get it to work.

Sorry about the formatting. Probably my vscode format on save.

ap1969 commented 2 months ago

I should add: I initially looked into the spatie package, but I couldn't find a way to get it to use the same query to get the latest plugins as you use for the site itself.

danharrin commented 1 month ago

Can you revert/fix those formatting changes please?