Adding your Hugo Academic blog to R-bloggers and Python-bloggers

This article was first published on Python-post | Cosima Meyer , and kindly contributed to python-bloggers. (You can report issue about the content on this page here)
Want to share your content on python-bloggers? click here.

Drawing of an R (as a pirate) and a snake (Python)

When you have your website up and running and probably already started a little blog about data science related topics, you may want to share it with an even broader community. Here, R-bloggers and Python-bloggers are a great venue!

Both websites publish a collection of R and Python-related RSS feeds (amongst other, Methods Bites and the cynkra blog are also part of it!). To stay up to date, you can sign up on their newsletters (R-bloggers, Python-bloggers) or follow them on Twitter (R-bloggers, Python-bloggers) and Facebook (R-bloggers, Python-bloggers). In short, these feeds have an incredibly rich collection of R and Python-related knowledge you can also easily contribute to!

But how? Both websites offer a nice description of what to do to integrate your own RSS feed, but I was looking for a more specific solution how to integrate my Hugo-(Academic)-based blog.

When googling, I found various solutions (see for instance here or here). I followed Leslie Myint’s approach that she found and added the following lines to my config.toml.1

home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
section = [ "HTML", "RSS" ]
taxonomy = [ "HTML", "RSS" ]
taxonomyTerm = [ "HTML", "RSS" ]

In my case, there was not much more I needed to change (anymore).2

I categorize all blog posts (as I also have non-R/Python-related posts and want to keep R and Python-bloggers clean and tidy). It’s also in their policies where both feeds request to feed in only “meaty” posts and to avoid submitting short snippets. To access all R and Python-related posts, I use the categories R-post and Python-post. I sometimes make short (data science) posts that link to new Methods Bites posts, for instance, or also have a blog post with helpful code snippets, which I do not want to include in the feeds.

I call the following URL to access these posts: (or for Python posts). If you want to check how your RSS feed with R posts looks like, enter it here. The image below shows a screenshot of my results when entering my RSS feed for the category “R-post,” including a preview of one post.

Adding your Hugo Academic blog to R-bloggers and Python-bloggers

And that’s it! If this page looks good and your full blog post is displayed, you’re almost good to go. Check if your feed coheres to the requirements and add the required info to the form – now it’s just waiting (a bit) until it’s checked and accepted 😊

Adding your Hugo Academic blog to R-bloggers and Python-bloggers

  1. For home, the original first line only included the following elements: home = ["HTML", "CSS", "RSS"] but since my default setting also contained JSON and WebAppManifest, I left it as it was and just added the additional lines for taxonomy and taxonomyTerm. As a short disclaimer: I am not entirely sure whether I needed to add these two new lines to [outputs]. But since including them worked without any problem, I left them in.↩︎

  2. This GitHub issue gave me the solution. You can automatically access your RSS feed because RSS is enabled by default.↩︎

To leave a comment for the author, please follow the link and comment on their blog: Python-post | Cosima Meyer .

Want to share your content on python-bloggers? click here.