Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update feed to support RSS, Atom, and JSON #48

Open
splorp opened this issue Aug 23, 2024 · 2 comments
Open

Update feed to support RSS, Atom, and JSON #48

splorp opened this issue Aug 23, 2024 · 2 comments

Comments

@splorp
Copy link
Owner

splorp commented Aug 23, 2024

Adapt these updated snippets from the kirby3-feed plugin.

https://github.com/bnomei/kirby3-feed/tree/master/snippets/feed

@splorp
Copy link
Owner Author

splorp commented Aug 28, 2024

Related to this, the current ->xml() field helper should be replaced with a ![CDATA[]] wrapper around the description field content in snippets/latest.php

<description><![CDATA[<?= $page->text()->kirbytext() ?>]]</description>

This might not be an issue if using the updated snippets basically as is.

@splorp
Copy link
Owner Author

splorp commented Sep 8, 2024

RSS feed updated per commit ab7546d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant