Extract feed discovery metadata from HTML.
Parsed HTML document or raw HTML string
Optional
Optional document URL for generating absolute feed suggestions
Feed discovery metadata
Finds all feeds declared in tags and generates suggestions for common feed URL patterns.
// With parsed document (recommended for multiple extractions)const doc = parseHTML(htmlString);const feeds = extractFeedDiscovery(doc, 'https://example.com');// Or directly with HTML stringconst feeds = extractFeedDiscovery(htmlString, 'https://example.com'); Copy
// With parsed document (recommended for multiple extractions)const doc = parseHTML(htmlString);const feeds = extractFeedDiscovery(doc, 'https://example.com');// Or directly with HTML stringconst feeds = extractFeedDiscovery(htmlString, 'https://example.com');
Extract feed discovery metadata from HTML.