Import with #import "std/rss_scan".
FeedSpan :: struct { start: s32; end: s32; after: s32; valid: bool; }FeedMatch :: (document: string, at: s32, needle: string) -> boolFeedFind :: (document: string, from: s32, needle: string) -> s32FeedNextItem :: (document: string, from: s32) -> FeedSpanFeedTag :: (document: string, item: FeedSpan, tag: string) -> FeedSpanFeedEntity :: (document: string, at: s32, end: s32, output: *u8) -> s32FeedCopyText :: (document: string, span: FeedSpan, output: []u8) -> s32Copies a text or CDATA field into caller-owned storage. Tags in summaries become spaces, and a malformed/truncated field is rejected.