The Feed component creates a JSON feed of properties for GPT models to crawl and assist in generating responses. It currently powers search results and the brochure page, with links injected into the document head.
Router to navigate between feed pages (supports pagination). All three components are wired in app.routes.ts using custom matcher functions:
feedMatcher: routes to FeedComponent when URL contains "feed". feedWellKnownMatcher: routes to WellKnownComponent when URL contains "well-known". developerfeedMatcher: routes to DeveloperComponent when URL contains "developer". The Feed component is explicitly referenced in routing via the custom feedMatcher.
Feed links are added to the page <head> at the end of the head tag. The entry point is feedLink(), which uses the page’s SEO URL to generate the target feed URL.
_linkService)remove()to clear old head links before injecting new ones. Before adding new links, _linkService.remove() is called to remove existing feed URLs in the head, preventing duplication and stale references.
FeedService fetches data from the API and formats it into the JSON feed structure required by GPT models and other consumers.