venthur / blag

blag is a blog-aware, static site generator -- it uses Markdown and is written in Python.
https://blag.readthedocs.io
MIT License
68 stars 7 forks source link

how to limit number of posts in the atom feed ? #112

Closed arpinux closed 1 year ago

arpinux commented 1 year ago

i would like to fix the atom feed to a certain number. is there a way to perform it ?

venthur commented 1 year ago

Not really, but one could think of something using a new setting in the config file that defaults to "no limit" if not existing. Do you have issues with the the current unlimited number of posts in the feed?

arpinux commented 1 year ago

hi, thx for your quick answer and for blag :)

no issue at all. in fact, i'm upgrading my blog from Pluxml to blag and the feed is full of my +100 posts :D i just wanted to preserve people from receiving all those notifications ;)

an option in the config file to limit number of post would be great but if it's not possible, i will edit the atom.xml before uploading on my server :)

venthur commented 1 year ago

Let me know how the migration happened :) good luck!

arpinux commented 1 year ago

done, thx again for your blag :)