Module feeds

Module feeds 

Source
Expand description

Feed and sitemap detection for halldyll-parser

This module handles detection and extraction of:

  • RSS feeds
  • Atom feeds
  • Sitemap XML
  • Sitemap index
  • JSON Feed

Structs§

Feed
A web feed (RSS, Atom, or JSON)
FeedInfo
All feeds and sitemaps found on a page
Sitemap
A sitemap reference

Enums§

FeedType
Type of web feed
SitemapSource
How sitemap was discovered
SitemapType
Type of sitemap

Constants§

COMMON_FEED_PATHS
Common feed paths to check
COMMON_SITEMAP_PATHS
Common sitemap paths to check

Functions§

extract_feed_info
Extract all feed and sitemap information from HTML document
generate_feed_urls
Generate potential feed URLs for a domain
generate_sitemap_urls
Generate potential sitemap URLs for a domain
get_atom_feed
Get Atom feed URL if exists
get_feed
Get any feed URL (prefers Atom over RSS)
get_rss_feed
Get RSS feed URL if exists
get_sitemap
Get sitemap URL if found in document
has_feeds
Check if document has any feeds