Feed content as string (XML or JSON)
OptionalbaseUrl: string | URLOptional base URL for resolving relative URLs (string or URL object)
Object containing normalized feed data and original format-specific data
This is the main entry point for feed parsing. It automatically detects whether the content is RSS, Atom, or JSON Feed, parses it, and returns a normalized output structure along with the original format-specific data.
All relative URLs in the feed are converted to absolute URLs if a base URL is provided. This is essential for feed readers that need to fetch images, enclosures, or follow links.
Parse any feed format with automatic format detection.