In this video we use the logical theme system to build a custom RSS feed endpoint to list out the 25 latest created pages within the system. These customizations are not officially supported any may break upon, or conflict with, future updates. This video was recorded using BookStack v22.11.1.
► Resultant code: https://gist.github.com/ssddanbrown/c251005f6492565cb2449bcd5d7b07db ► Logical Theme System Guide: https://github.com/BookStackApp/BookStack/blob/development/dev/docs/logical-theme-system.md ► Logical Theme System Video: https://www.youtube.com/watch?v=YVbpm_35crQ ► W3C RSS Spec: https://validator.w3.org/feed/docs/rss2.html ► BookStack Discord: https://discord.gg/ztkBqR2 ► Follow BookStack on Mastodon: https://fosstodon.org/@bookstack ► Follow BookStack on Twitter: https://twitter.com/bookstack_app ► Follow me on Mastodon: https://fosstodon.org/@danb
0:00 Intro 0:10 Advisory 0:40 The task & environment 2:07 Logical theme system setup 3:39 Custom endpoint and page data 7:20 Formatting to RSS 13:50 Fixing content type 15:06 Testing via Thunderbird 16:04 Outro & Support
#rss #php #opensource #selfhosted #documentation #wiki #bookstack #foss