Skip to main content

springheel.genrss module

Generate RSS feeds.

springheel.genrss.generateFeed(base_url: str, rssmeta: dict, comics: List[springheel.classes.Strip], o_path: str)str

Generate an RSS feed for a comic site.

Parameters
base_urlstr

The URL of the base site.

rssmetadict

Metadata needed by the RSS feed.

comicslist of springheel.Strip

All comic strips on the site.

o_pathstr

The path of the output/ directory. The feed is saved as feed.xml in this location.

Returns
str

The generated RSS feed.