Automating the flow of blog posts to my email list with PHP βš™οΈ

A while back ⁣I decided that I wanted to automate the flow of blog posts to my email list (which is basically nobody right now by the way πŸ˜…).
I found that Mailchimp has a feature for automatically sending to an email list based on RSS feed updates on a website.
A RSS (Rich Site Summary or Really Simple Syndication) is a web feed format that allows users and applications to access updates to websites in a standardized way.
RSS feeds are usually generated for you in website builders and other tools but since my site was built from scratch I needed to make my own.
Here is what I needed to do:
β€” find the RSS feed XML format online
β€” create a new PHP page on my website in the RSS format
β€” dynamically populate the RSS feed items with my blog posts from the database
β€” test the RSS feed page on a validator website
β€” setup a RSS feed email campaign using the feed on Mailchimp
β€” design/style the email template
β€” send a test email to myself to verify
That was a fun, quick project to work on for a few hours and saved me an exponential amount of time in the future. πŸ’ͺ🏾
⁉️ Anyone have experience with RSS feeds or subscribe to any?

26

This website collects cookies to deliver better user experience

Automating the flow of blog posts to my email list with PHP βš™οΈ