Skip to content

feat: Implement RSS feed API#2395

Merged
neilv-g merged 2 commits intomainfrom
neilv-rss-2
Apr 20, 2026
Merged

feat: Implement RSS feed API#2395
neilv-g merged 2 commits intomainfrom
neilv-rss-2

Conversation

@neilv-g
Copy link
Copy Markdown
Collaborator

@neilv-g neilv-g commented Apr 6, 2026

This is a first go at implementing this API and is not the final form of it. A few things that still need to be done:

  • With this change, JSON is just being inserted into the XML. This will need to be more properly formatted.
  • Caching of the responses from the RSS API.
  • Hardcoding the # of events/diffs returned to the API to 20 for now. Open to any number on this.

@neilv-g neilv-g requested a review from jcscottiii April 6, 2026 16:28
Comment thread backend/pkg/httpserver/get_saved_search_rss.go
Comment thread lib/gcpspanner/saved_search_notification_events.go Outdated
Comment thread backend/pkg/httpserver/get_saved_search_rss.go
Copy link
Copy Markdown
Collaborator

@jcscottiii jcscottiii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with use of getPageSizeOrDefault

Comment thread backend/pkg/httpserver/get_saved_search_rss.go Outdated
Base automatically changed from neilv-rss-1 to main April 8, 2026 19:40
This is a first go at implementing this API and is *not* the final form of it. A few things that still need to be done:
- With this change, JSON is just being inserted into the XML. This will need to be more properly formatted.
- Caching of the responses from the RSS API.
- Hardcoding the # of events/diffs returned to the API to 20 for now. Open to any number on this.
@neilv-g neilv-g force-pushed the neilv-rss-2 branch 3 times, most recently from eb1fde4 to 4617729 Compare April 16, 2026 21:16
- Adjusts SQL cursor sequencing to sort `EventId ASC`. This seamlessly harmonizes with Spanner's default ASC primary key appending so the query plans can completely pipeline native index traversals correctly on identical log timestamps.
- Refines `<guid>` serialization to export `isPermaLink="false"`, guarding UUID structures from triggering automatic link parses across rigorous external RSS aggregators.
- Inserts standard self-reference atomic path mappings (`rel="self"`) to fortify document compliance.
@neilv-g neilv-g added this pull request to the merge queue Apr 20, 2026
Merged via the queue into main with commit e6ad3e0 Apr 20, 2026
8 checks passed
@neilv-g neilv-g deleted the neilv-rss-2 branch April 20, 2026 22:41
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.

2 participants