Company
Date Published
Author
Bob Belderbos
Word count
286
Language
English
Hacker News points
None

Summary

A blog post discusses the process of creating an RSS feed for a blog built with Pelican and details the use of Python tools to automate a weekly email digest of blog posts. By adding a specific line to the pelicanconf.py file, an RSS feed is generated, and a Python script with the help of the PyPI feedparser library is used to parse the feed into a usable data structure. The script processes articles from the feed, incorporating timestamp calculations to filter entries from the past week. The blog post also outlines how to set up a cron job to send out the weekly digest via email using sendmail, with options for both HTML and plain text formats, and includes instructions for ensuring Python is set up correctly on shared hosting environments. Finally, it encourages readers to subscribe to the blog or join a Facebook group to receive these updates.