posty.renderer.feed module

class posty.renderer.feed.FeedRenderer(site: Site, output_path: str = 'build')[source]

Bases: Renderer

Base class for all feed Renderers (RSS, Atom)

abstractmethod output() None[source]

This method must be implemented by child classes. It gets called during render_site to output the specific file, such as the RSS file or Atom file

render_posts() None[source]

Add each post to the feed

render_site() None[source]
abstractmethod url() str[source]

Return the URL to this feed file