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

Add RSS Feeds to site info #67

Merged
merged 3 commits into from Dec 28, 2023
Merged

Add RSS Feeds to site info #67

merged 3 commits into from Dec 28, 2023

Conversation

vlofgren
Copy link
Contributor

@vlofgren vlofgren commented Dec 26, 2023

This change integrates the Feedlot RSS Bot with Marginalia's site info view to offer a preview of the latest updates. The change introduces a new tiny feature that is a feedlot-client based on Java's HttpClient.

If feeds are not present, a sample of the most "important" documents in the website is presented instead.

image

This change integrates the Feedlot RSS Bot with Marginalia's site info view to offer a preview of the latest updates.

 The change introduces a new tiny feature that is a feedlot-client based on Java's HttpClient.
Modified site info feed template to secure the description field against injected code. Also adjusted search service by extracting samples within the correct scope and including them in the returned site info. This improves the quality and security of the displayed information.
@vlofgren vlofgren marked this pull request as ready for review December 28, 2023 12:25
@vlofgren vlofgren merged commit 775974d into master Dec 28, 2023
@vlofgren vlofgren deleted the rss-feeds-in-site-info branch December 28, 2023 12:25
@vlofgren vlofgren changed the title Add RSS Feeds to site info (WIP) Add RSS Feeds to site info Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant