Developer Page for the feed component.

Overview

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.

Components

FeedComponent primary

  • Generates a JSON feed of properties for GPT consumption.
  • Has separate custom feeds for Search and Brochure pages.
  • Uses Router to navigate between feed pages (supports pagination).

WellKnownComponent

  • Creates a JSON feed of properties for well-known entities.

DeveloperComponent

  • Creates a JSON feed of base links for all possible feed page links.
  • Includes additional Developer information in the feed for future reference.

Routing & Matchers

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.

Data Layer (FeedService)

Formatting for JSON Feed

FeedService fetches data from the API and formats it into the JSON feed structure required by GPT models and other consumers.