feeds-native.ts#
3 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.
Reference#
interfaceFeedChannelExtrasChannel fields the formats emit when the standard has a matching slot.
Channel fields the formats emit when the standard has a matching slot.
Signature
export interface FeedChannelExtrasMembers
Properties
| Name | Type | Description |
|---|---|---|
copyrightoptional |
string |
|
faviconoptional |
string |
|
imageoptional |
string |
|
languageoptional |
string |
modulefeeds-nativeBridges the resolved feed inputs onto generateFeedBodies. The TypeScript renderer this replaces was a second implementa…
Bridges the resolved feed inputs onto generateFeedBodies.
The TypeScript renderer this replaces was a second implementation of ox_content_ssg::generate_feeds, kept in step only by a parity test. The two had already drifted once (#1074, six item fields missing on the Rust side) and the sibling date parser drifted far enough to be wrong on live input (#1068). One implementation cannot drift.
fnnativeItem(item: FeedEntry): Record<string, unknown>FeedEntry carries the date already parsed into UTC components; the native side…
FeedEntry carries the date already parsed into UTC components; the native side takes the string. Every component survives the round trip, so this is the same instant the TypeScript renderer would have formatted.
Signature
function nativeItem(item: FeedEntry): Record<string, unknown>Parameters
-
itemFeedEntry
Returns
Record<string, unknown>