An OPML list of (most) blogs participating in Blaugust - 82MHz
A list of all Blaugust participants was posted yesterday on Nerd Girl Thoughts. I thought it would be nice to have a list of all RSS feeds of these blogs, so I cobbled together a quick and dirty solution.
Here's the OPML file. I probably missed a few feeds, so if your blog isn't in there, I didn't leave you out on purpose, my script just failed to pick up your feed. Feel free to send me the URL of your feed so I can add it.
Here's how I put this together:
I copied the list of all participating blogs out of the source code of this post.
I cleaned up the source and cut out just the blog URLs with sed:<br>sed -n 's/.*\(http[^"]*\)".*/\1/p' urls_source.txt > urls.txt
I found this Python script which gets the feed URL from a website if there is one, and modified it a bit to accept a list of URLs and not just one at a time. Then I gave it the list from above and let it do it's thing
I pasted the resulting list of feed URLs into an online OPML generator and downloaded the generated file
I checked the resulting file with OPML viewer and validator
Oh, I also noticed that my website wasn't advertising the RSS feeds properly, so I fixed that by adding these two lines to the html code while I was at it:
And that's it. Took me a bit of time to work out the sed call and expand the python script, and like I said, it's quickly cobbled together, but it works and it was a fun little exercise.
If you would like to send me a message, comment or share this post, you can do so here:
Send me an E-Mail |
Reply on Mastodon |
Share on Mastodon