vladris / tinkerer

Python blogging engine
https://vladris.com/tinkerer
Other
305 stars 81 forks source link

Limit RSS feed contents and remove headerlinks #49

Closed dhellmann closed 10 years ago

dhellmann commented 10 years ago

Add a new option, rss_max_items, to control the number of posts that appear in RSS feeds.

Make the code for building the feed context more generic, based on the work in tinkerer-contrib/rss/rss.py.

Strip anchor tags with the class headerlink from RSS item descriptions, so when the links are used in a site they do not appear in the RSS output where they don't make sense as permalinks.

Change-Id: Ia90d70389152a9fda1137606eb6eef9918cbc221

dhellmann commented 10 years ago

I have some changes to the contrib modules for generating tag and category feeds that would depend on this being accepted, so I'm waiting to submit those until after this is reviewed.

dhellmann commented 10 years ago

Added tests for these changes, too. coverage is showing 100% for tinkerer.ext.rss