How to add an rss feed to a blogger blog

Related Articles

  • How to Add Someone’s Phone Number to Your Contacts in Gmail
  • How to View Blocked Contacts on Yahoo!
  • How to Change Location on Craigslist
  • How to Make a Sidebar on Tumblr
  • How to Stop PayPal from Taking Money from a Bank Account
  • How to Export Content From Tumblr to Blogger

Really Simple Syndication, or RSS, is a feed that automatically syndicates postings from websites for distribution to blogs and other websites. Adding RSS feeds to your Blogger site can entice your customers to visit everyday, especially if the content features updates related to your product or service, or it displays updates from related websites that your visitors would be interested in.

Step 1

Log in to your Blogger blog and click the title of the blog that you need from the Dashboard. The Overview page for that blog will appear.

Step 2

Step 3

Click “Add a Gadget.”

Step 4

Scroll down and click “Feed.”

Step 5

Open another browser window and navigate to the website with the RSS feed you want to add. Look for the RSS icon or a “Subscribe” link, which you can click to obtain the URL. Copy this URL.

Step 6

Return to the Configure Feed window of your blog and paste the URL into the Feed URL field. Click the “Continue” button to display the Configure Feed options. You can select the number of feed items to show and whether to include dates and authors. A preview of your selections will appear on the page. Click the “Save” button to save your changes, close the Configure Feed window and return to the Layout page. Your RSS feed gadget will appear at the top of the gadgets list.

Step 7

Click the RSS feed gadget. Use the mouse to drag the gadget to a new location, if needed.

Step 8

Click the “Save Arrangement” button to save your changes.

Step 9

Click the “View Blog” button to see your blog with the feed included.

This button has become the standard for finding and subscribing to a site’s RSS feed. When a reader is interested in subscribing to your feed, he/she is probably looking for that button. You need to have that button! (I’m sure you can feel the urgency, right? RIGHT. ) Never fear, I’m going to walk you through getting that button and linking it to your feed.

Before We Begin

You need to have the graphic you want to put on your sidebar. In this case it’s the orange RSS feed button. Follow these instructions to download the button and save it on your computer (this way you don’t pull from someone’s bandwidth and everyone’s happy).

  1. Right click this image:
  2. Choose Save As from the menu.
  3. Choose where you would like to save the image on your computer and click Save.
  4. For Typepad and WordPress you can use the image straight from your
    computer; Blogger users will need to upload the graphic to a secondary
    host (e.g., Photobucket). Blogger users, determine your image’s URL and copy it to the clipboard.

Finding Your Feed URL

Now we need to figure out your feed URL.

Blogger:

Generally speaking, the Feed URL for your site is

YOUR BLOG NAME.blogspot.com/feeds/posts/default?alt=atom

YOUR BLOG NAME.blogspot.com/feeds/posts/default?alt=rss

You can read an excellent tutorial on this at The Real Blogger Status.

TypePad users can read about your Feed URL in this tutorial from TypePad.

Putting It All Together

Blogger:

Blogger blogs have a footer that says, “Subscribe to: Posts”. This is a link for readers to subscribe to your blog with their feed reader. However, I think you’ll agree that having the subscription at the bottom of the page is not optimal. We want it to be easy and obvious for your readers to find your RSS feed and subscribe. It should be placed at the top of a column for easiest access.

  1. Log in to Blogger and click Layout.
  2. Click Add Page Element.
  3. Under HTML/Java Script, click Add to Blog.
  4. In the pop-up window, you can leave the Title field blank or type a title (e.g., Subscribe to My Blog’s Feed). In the Content field you will need to type in the following code: Make sure you change “YOUR FEED URL” to your actual feed URL. (Keep the quotes around the URL.)You must also change IMG URL to the URL you copied from step four above in Before We Begin. (Keep the quotes around the file image URL.)
  5. Click Save Changes.
  6. Click Save.

TypePad:

In addition to the instructions below, TypePad offers several widgets to help with RSS Subscription.

  1. Go to TypeLists and make a new Link typelist.
  2. In the NOTES field type in the following code: Make sure you change “YOUR FEED URL” to your actual feed URL. Also
    change “IMG URL” to the URL you copied to your clipboard earlier (see
    #4 under Before We Begin).
  3. Click Save.
  4. Click the Configure tab.
  5. Under Display, click Show Notes as Text.
  6. Save Changes.
  7. Publish to the appropriate blog.
  8. Order Content as necessary.
  9. Republish blog for changes to take effect.

WordPress (from Jordan McCollum at Momma Blogga):

9 Responses

Thanks for all of the helpful info on your blog! I have an award for you on my blog!

Oh dear…I always thought I was so computer saavy, too. I guess that’s why I subscribe to YOUR feed!

I’ve loaded the button…but instead of the cute little RSS button, I get one of those “x” and a message that says “subscribe via RSS”

What did I do wrong? There seems to be a piece of code in what you gave us (alt img= “subscribe via RSS”) that has taken the spot of the image I WANTED there. Help?

I loaded the button into Picasa and then used the URL of the picture THERE in the code that you gave us.

Thank you SO MUCH for this post! I’d been meaning to update my subscription options, and this really helped. Thanks!!

I think there’s an easier way. I’ve always just used the Feedburner link. In Blogger you need to open an HTML widget, and in WordPress you open a text widget.

Then, go to Feedburner.

Click on the feed title for which you want the button.

Click on ‘Publicize’

Find where it says: ‘Chickletize your web site. Encourage people to subscribe to your feed by posting a friendly graphic in an easy-to-find location.’ The words ‘friendly graphic’ are a link, click on it.

Then you choose a standard icon, 16 x 16 or 32 x 32 or another, specific one. Scroll down the page, and there is some code in a box.

Highlight the code by clicking ctrl a, then copy (ctrl c) and paste it into your widget.

Or, Feedburner can automatically add it to your blog.

This code is fairly easy to change if you want to add your own image. I made my own buttons for my blog, and it’s not hard.

Hope this helps!

Gosh, I’ve spent hours trying to figure this out and you had the answer all along!! thank you

It is a good thing that you cover all aspects from blogger’s point of view to WordPress and Typepad.

A print button would be handy,

I have a long busride into work and I like to print out useful posts to read on the bus.

Thank you!! So helpful.

Very useful article – adding rss to blogs is becoming standard and something everyone should do who wants to increase traffic on their blog.

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What’s Blogging Basics 101?!

BloggingBasics101.com provides different guides about Blogging and Social Media.

Who is behind BB101?

Jessica Knapp. Blogger since 2006. You can read more about me by clicking here.
How to add an rss feed to a blogger blog

How to add an rss feed to a blogger blog

The URLs for Google Blogger RSS feeds are blogspot.com subdomains; you might have expected them to be blogger.com subdomains. This is because Google Blogger is just a CMS and needs a host domain to be able to deliver content to users. BlogSpot.com is also owned by Google and is not a CMS, rather it is a domain hosting service. Therefore, many Blogger websites are accessed from a BlogSpot subdomain, so have a BlogSpot URL. This is because BlogSpot is being used to host the content created in Blogger. And yes, this can be a little confusing, so here is a link for an explanation of the Blogger/BlogSpot relationship. For FeedWind, we are interested in the RSS feed URLs for Blogger and not BlogSpot.

Installing a feed widget in your Blogger site

Blogger is a no-frills blog builder with a HTML editor which makes installing our feed widget a breeze!. Whether you use external feeds such as Facebook or Google Calendar, or an RSS feed (either a Blogger RSS feed or an RSS feed from elsewhere), it is easy to add a FeedWind feed widget to a Blogger site.

When you create a widget at the FeedWind setup screen, copy the code using the Save & Get code button in the FeedWind setup page menu bar. Open your post in Blogger for editing and select the HTML option so you can enter our code. Paste the code you copied from FeedWind setup and you should see something like the image below. Once you have pasted the code snippet, update your post and publish your site. When you refresh your Blogger page, you should see your new feed widget.

How to add an rss feed to a blogger blog

Example of a Blogger feed widget

The example below is how one of our widgets might look in your Blogger site. This is a very basic version, but you can use the setup screen options and custom CSS to ensure your widget will match your site design, colors and styling.

How to add an rss feed to a blogger blog

GETTING RSS FEEDS FROM A BLOGGER SITE

Blogger RSS feed URL format

From the examples below, just substitute in the correct blog address for blogname and the label you’re interested in for [label].

Full site feed:

  • Atom 1.0: https://blogname.blogspot.com/feeds/posts/default
  • RSS 2.0: https://blogname.blogspot.com/feeds/posts/default?alt=rss

Comments-only feed:

  • Atom 1.0: https://blogname.blogspot.com/feeds/comments/default
  • RSS 2.0: https://blogname.blogspot.com/feeds/comments/default?alt=rss

Label-specific site feed:

To get a feed for a specific label, change [ label ].

  • Atom 1.0: https://blogname.blogspot.com/feeds/posts/default/-/[label]
  • RSS 2.0: https://blogname.blogspot.com/feeds/posts/default/-/[label]?alt=rss

Individual post comment feed:

  • Atom 1.0: https://blogname.blogspot.com/feeds/postId/comments/default
  • RSS 2.0: https://blogname.blogspot.com/feeds/postId/comments/default?alt=rss

Customize your Blogger feed

To enable or disable the site feed(s) for your blog, first go to the Settings > Other tab. Once there, you can select how much of your content you want to syndicate:

  • Full will put the entire content of each post in your site feed.
  • Short only includes an excerpt from the beginning of each post.
  • Until Jump Break shows all post content before your jump break.
  • None turns your site feed off entirely. For more advanced options, you can select “Custom.”

How to add an rss feed to a blogger blog

When you select “Custom,” you’ll see options for three different types of Google Blogger RSS feeds. Each option has the same “Full,” “Short,” and “None” setting choices.

  • Full: Shows entire content of each post.
  • Short: Shows an excerpt from the beginning of each post.
  • Until Jump Break: Shows content before your jump break (This is a [ read-more..] link appended to your RSS feed items).
  • None: Turns site feed off entirely.
  • Custom: Set advanced options for blog posts, comment feed, or per-post comment feed.

If you’ve burned your post feed with FeedBurner, or used another service to process your feed, you will need to go to your blog’s settings and complete the setup by redirecting your feed. To redirect your feed, just copy and paste the feed URL you received from the service into the “Post Feed Redirect URL” section.

How to add an rss feed to a blogger blog

Notes:

  • Once you’ve enabled your site feeds, you may want to provide a way for your readers to find them. If the template you’re using isn’t displaying links to these files, you can add them in using the site feed template tags.
  • All site feeds are published in Atom 1.0 format. However, if you add ?alt=rss to the end of any site feed URL, you can get the same feed in RSS 2.0 format.
  • Feedburner has its own ‘summary’ setting which, if enabled, may affect the display of your feed for the Until Jump Break option. You can correct this by logging into Feedburner and disabling the Summary Burner option from the Optimize tab.

In this post, we will go through the steps you need to follow if you would like to add a Jekyll / Github Pages blog to R-Bloggers. I recently went through this process and had to search through a lot of information in order to figure out how to do it. The process was particularly tricky because not all of the posts on my blog are about R (and therefore not all are relevant for R-Bloggers). Below, we will go through the process that will allow you to submit only blog posts about R to R-Bloggers. Hopefully this blog post will make the process simpler for others!

In what follows, we will assume that you have a working Jekyll site that you build locally and which you host publically at Github or somewhere else, and that you understand the basic layout of the folders in the Jekyll site directory.

Step 1: Add Jekyll Feed to Your Site

R-Bloggers needs an RSS feed in order to show your blog posts on their site. You can add a Jekyll module, called Jekyll Feed in order to generate this RSS feed.

Simply follow these three steps to install Jekyll Feed (the first two are copied directly from the Jekyll Feed link above):

  1. Add this line to your site’s Gemfile:
  1. And then add this line to your site’s _config.yml:
  1. Open the Ruby prompt on your computer, navigate to your site’s root directory, and run:

This will make sure you have the jekyll-feed plugin installed (if it isn’t already).

Step 2: Create An XML File to Generate the RSS Feed

As explained in this excellent blog post by Yongfu Liao, Jekyll Feed doesn’t allow you to generate an RSS feed for a particular tag or category of posts. However, there is a workaround which you can read more about here and here.

Yongfu shares his modification of the original workaround on Github. This code is really nice because it provides exactly the format of the RSS feed required by R-Bloggers.

All you need to do is to take the code below, paste it into a text editor, and save it as an .xml file. For example, my file is called “feed.r.bloggers.xml.”

Make sure you change the “Author” section in the code to your email address (the name part is optional). Indicate the tag you will use to indicate that a given post is suitable for R-Bloggers. In the example below, I specify: [“R”], meaning all posts with this (case-sensitive) tag will be included in the RSS feed.

All credit for this code goes to Yongfu Liao – thank you for sharing this solution on your blog!

Step 3: Place the .xml File In Your Site’s Root Directory

Place the .xml file in the root directory of your Jekyll site. Here is a screenshot example for my blog:

How to add an rss feed to a blogger blog

Step 4: Rebuild Your Site and Find the RSS Feed

Once you put the .xml file in the root directory of your site, your blog should re-build itself automatically, generating the RSS feed we specified in the .xml file.

You can find the rss feed file in your site’s _site directory. The file we’ve generated here is called “feed.r.bloggers.xml.”

How to add an rss feed to a blogger blog

Notice that there is also a file called “feed.xml.” This is the rss feed for all the posts on the blog, generated by default from the jekyll-feed plugin we installed earlier.

You can find the R-Bloggers feed in the local version of your site at this location: http://localhost:4000/feed.r.bloggers.xml

Step 5: Push to Github and Test Your RSS Feed

Once you’ve got the rss feed working correctly on the local version of your site, it’s time to push it to Github (or wherever you host your site).

When you’ve done this, you’ll find the R-Bloggers rss feed at your website address + ‘/feed.r.bloggers.xml’. For example, the R-Bloggers rss feed for this blog can be found at this address: https://methodmatters.github.io/feed.r.bloggers.xml.

Step 6: Validate Your RSS Feed and Submit to R-Bloggers

Before submitting to R-Bloggers, you need to check that your RSS feed is valid. Tal Galili (who runs R-Bloggers) recommends testing your feed via this validator: https://validator.w3.org/feed/

Simply paste the link to the feed on your site into the box and click on “Check.”

How to add an rss feed to a blogger blog

If your feed passes the inspection, you’re ready to submit your blog to R-Bloggers, which you can do here! Make sure to follow all of the guidelines Tal lays out in order to be accepted!

Summary and Conclusion

In this post, we saw how to configure a Jekyll / Github Pages website to create an RSS feed to allow us to submit blog posts about R to R-Bloggers. The process is not very straightforward, but I personally feel that the hassle is worth it in order to take advantage of all the really nice features of Jekyll (great flexibility, beautiful templates) combined with free hosting on Github Pages. I made the switch to Jekyll / Github Pages this past summer from Blogger, and am super happy about the way the blog looks, and the freedom I have to blog about R, Python, or anything else.

In the next post, we will return analyzing data, specifically, detailed records of my phone usage. We will use data munging and visualization to see how and when my phone usage patterns differ throughout the day.

Related Articles

  • How to Add Someone’s Phone Number to Your Contacts in Gmail
  • How to View Blocked Contacts on Yahoo!
  • How to Change Location on Craigslist
  • How to Make a Sidebar on Tumblr
  • How to Stop PayPal from Taking Money from a Bank Account
  • How to Export Content From Tumblr to Blogger

Really Simple Syndication, or RSS, is a feed that automatically syndicates postings from websites for distribution to blogs and other websites. Adding RSS feeds to your Blogger site can entice your customers to visit everyday, especially if the content features updates related to your product or service, or it displays updates from related websites that your visitors would be interested in.

Step 1

Log in to your Blogger blog and click the title of the blog that you need from the Dashboard. The Overview page for that blog will appear.

Step 2

Step 3

Click “Add a Gadget.”

Step 4

Scroll down and click “Feed.”

Step 5

Open another browser window and navigate to the website with the RSS feed you want to add. Look for the RSS icon or a “Subscribe” link, which you can click to obtain the URL. Copy this URL.

Step 6

Return to the Configure Feed window of your blog and paste the URL into the Feed URL field. Click the “Continue” button to display the Configure Feed options. You can select the number of feed items to show and whether to include dates and authors. A preview of your selections will appear on the page. Click the “Save” button to save your changes, close the Configure Feed window and return to the Layout page. Your RSS feed gadget will appear at the top of the gadgets list.

Step 7

Click the RSS feed gadget. Use the mouse to drag the gadget to a new location, if needed.

Step 8

Click the “Save Arrangement” button to save your changes.

Step 9

Click the “View Blog” button to see your blog with the feed included.

How to add an rss feed to a blogger blog

If you’re still a dedicated RSS user, you’ve no doubt noticed some sites no longer go out of their way to cater to you. Where once an RSS logo would be prominently displayed, now it’s nowhere to be found. How are you supposed to find RSS feeds?

Before you try one of the below options, try contacting the people behind your favorite sites: often they’ll get back to your with a URL. But when that fails, you need to take matters into your own hands. Here’s how to find, or even create, an RSS feed for any site, even when one isn’t prominently offered.

NOTE: If you stumbled here looking for our RSS feed, here it is!

Finding Hidden RSS Feeds on Most Sites

Most sites are built using a Content Management System, or CMS. Every major CMS offers an RSS feed by default, meaning an RSS exists for such sites whether the site’s creators realize that or not. In these cases, you can use a simple URL hack to find the RSS feed.

Around 25 percent of sites are built using WordPress, for example. Many others are built on platforms like Google’s Blogger, Yahoo’s Tumblr, or Medium. Here’s how to find RSS feeds for all of those.

  • If a site is built using WordPress, simply add /feed to the end of the URL, for example https://example.wordpress.com/feed . You can also do this for category and pages, to get specific RSS feeds. Read more here.
  • If a site is hosted on Blogger, simply add feeds/posts/default to the end of the URL, for example http://blogname.blogspot.com/feeds/posts/default . Read more here.
  • If a blog is hosted on Medium.com, simply insert /feed / before the publication’s name in the URL. For example medium.com/example-site becomes medium.com/feed/example-site . You can do the same thing for individual author pages, if you want. Read more here.
  • If a blog is hosted on Tumblr, simply add /rss to the end of the homegpage’s URL. For example, http://example.tumblr.com/rss .

We’ve outlined a few more tips in the past, including adding a Twitter feed to your RSS reader and finding an RSS feed for any YouTube page. Between all of these, you can find an RSS feed for the vast majority of sites and pages out there, but if that’s not enough you’ve got another option.

Create a Custom RSS Feed With Five Filters’ Create Feed Tool

The good folks at FiveFilters.org offer Feed Creator, a tool that scans any web page regularly and users any new links added to create an RSS feed. All you need is a URL and a few parameters.

How to add an rss feed to a blogger blog

The first field, “Enter Page URL,” is the simplest: copy the URL for the site you wish had an RSS feed and paste it here. The second, “Look for links inside HTML elements whose id or class attribute contains” is a bit more complex, but don’t panic: it’s actually pretty straightforward.

Head back to the site you’d like to create an RSS feed, then right-click an example of the sort of link you’d like to see in that RSS feed. Google Chrome will give you the option to “Inspect” the link; other browser should offer similar wording.

How to add an rss feed to a blogger blog

Do this and the Inspector will pop up, showing you the website’s code alongside the site itself.

The link you right-click should be highlighted, as shown, and the class of the URL should be visible in a pop-up for the link and in the left panel, though this may take some exploration depending on the site. The exact wording will vary, but in our example here “allmode-title” is what we’re looking for. Copy this and paste it back on the Feed Creator page.

The third and final field, “Only keep links if link URL contains,” gives you a touch more control. If you notice that only particular links to a particular page interest you, add some wording from that URL. This can help filter out ads and other annoyances.

Once all that is entered you should be able to click the big green “Preview” button.

How to add an rss feed to a blogger blog

If everything worked, you’ll see a collection of headlines.

How to add an rss feed to a blogger blog

Congratulations! You can now subscribe to an RSS feed for a site that previously didn’t have one. If not, don’t panic: just head back to Feed Creator and try some now criteria. This can take a while, but once you get the hang of it you’ll be able to create feeds for any site.

As a blogger, you want people to read your content. As an artist, you want people never to miss your latest creation. You spend many hours creating articles and artwork that you want to share with the world. If you have been blogging for a while, you already know how long it takes to gain a loyal following. You probably have your RSS feed already set up on your blog. If you don’t, it is time to take a moment and add RSS feed to your blog.

What is RSS Feed?

RSS stands for Rich Site Summary. It is used to publish frequently updated information from blogs posts, videos, news headlines, and podcasts. If a person signs up to your RSS feeds they will get an email when you post a new article. Depending on how the person has it set up, they will receive the new content daily, weekly or monthly.

Setting up an RSS Feed in your WordPress blog is easy with FeedBurner. FeedBurner is a free service by Google.

The Benefits of using FeedBurner

  1. Feed Analytics
  2. Email subscriptions
  3. Publish to FaceBook and Twitter
  4. Notifies servers when you post
  5. Republishes your feed as HTML

How to add your blog to FeedBurner

Go to feedburner.google.com

  1. Enter your blog URL into the “Feed Right This Instant” field
  2. Click next
  3. After Feedburner automatically finds your main feed click next
  4. Enter feed title
  5. Enter feed address
  6. Click next
  7. Click “Skip directly to feed management” link
  8. Click “Optimize” link
  9. Click “SmartFeed” located on the left-hand sidebar
  10. Click “Activate”

This will make your RSS feed compatible with any reader.

Now you ready to add a subscription form to your WordPress site.

How to add RSS Feed Subscription Form to WordPress

  1. Click on the name of your feed
  2. Click “Publicize” link
  3. Click “Email Subscriptions”
  4. Click “Activate”
  5. Copy and paste the Subscription Form Code (or Subscription Link Code, if you prefer) into a text widget on your blog.

Now your blog is ready for readers to easily have your latest posts and artwork sent directly to their email inbox.

You might also be interested in:

What are some of the struggles you are having with your art blog? I would love to hear your thoughts in the comment section below.

Learn how to start, grow and monetize your online art business.

Art Marketing Resource – All of the tools I use and recommend for my online art business.

How to add an rss feed to a blogger blog

Disclaimer: This post may contain affiliate links. If you make a purchase by clicking on an affiliate link, Nevue Fine Art Marketing may earn an affiliate commission at no additional cost to you. Affiliate relationships include, but are not limited to, Bluehost, Tailwind, Skimlinks, SareASale and StudioPress. To learn more visit Affiliate Link Disclosure Policy

28 Day Blogging Challenge

Are you ready to start building an online presence?

Take the challenge and join all of the other artists selling their art online.

28 Day Blogging Challenge for Visual Artists By Dave Nevue

Download your copy today, or Purchase on Amazon.

How to add an rss feed to a blogger blog

The Productive Artist How to Live Your Dreams The right mindset and time management skills are essential for any business. These topics are often not talked about but are key elements for your success. You will learn how to have a winning mindset and time management skills necessary for operating a successful art business. Available at Amazon or Download today.

Graphite Drawing by Dave Nevue

How to add an rss feed to a blogger blog

About Dave Nevue

Dave Nevue is a Professional Graphite Artist and the founder and CEO of Nevue Fine Art Marketing. He also authored the eBook The Productive Artist How to Live Your Dreams, and provides courses on art marketing at Nevue Fine Art Marketing Courses.

Comments

An impressive share! I’ve just forwarded this onto a coworker who
had been conducting a little research on this. And he actually
bought me breakfast simply because I stumbled upon it for him…
lol. So let me reword this…. Thanks for the
meal!! But yeah, thanx for spending time to talk about this issue here on your blog.

Haha, congratulations on your free breakfast and I am glad you found the post.

I love your blogs on your website. I always share your post on Social Media and all my followers
like it. Please keep up the good work.

Thank you for the kind words and for sharing our posts.

R news and tutorials contributed by hundreds of R bloggers

Posted on December 14, 2019 by Method Matters in R bloggers | 0 Comments

In this post, we will go through the steps you need to follow if you would like to add a Jekyll / Github Pages blog to R-Bloggers. I recently went through this process and had to search through a lot of information in order to figure out how to do it. The process was particularly tricky because not all of the posts on my blog are about R (and therefore not all are relevant for R-Bloggers). Below, we will go through the process that will allow you to submit only blog posts about R to R-Bloggers. Hopefully this blog post will make the process simpler for others!

In what follows, we will assume that you have a working Jekyll site that you build locally and which you host publically at Github or somewhere else, and that you understand the basic layout of the folders in the Jekyll site directory.

Step 1: Add Jekyll Feed to Your Site

R-Bloggers needs an RSS feed in order to show your blog posts on their site. You can add a Jekyll module, called Jekyll Feed in order to generate this RSS feed.

Simply follow these three steps to install Jekyll Feed (the first two are copied directly from the Jekyll Feed link above):

  1. Add this line to your site’s Gemfile:
  1. And then add this line to your site’s _config.yml:
  1. Open the Ruby prompt on your computer, navigate to your site’s root directory, and run:

This will make sure you have the jekyll-feed plugin installed (if it isn’t already).

Step 2: Create An XML File to Generate the RSS Feed

As explained in this excellent blog post by Yongfu Liao, Jekyll Feed doesn’t allow you to generate an RSS feed for a particular tag or category of posts. However, there is a workaround which you can read more about here and here.

Yongfu shares his modification of the original workaround on Github. This code is really nice because it provides exactly the format of the RSS feed required by R-Bloggers.

All you need to do is to take the code below, paste it into a text editor, and save it as an .xml file. For example, my file is called “feed.r.bloggers.xml.”

Make sure you change the “Author” section in the code to your email address (the name part is optional). Indicate the tag you will use to indicate that a given post is suitable for R-Bloggers. In the example below, I specify: [“R”], meaning all posts with this (case-sensitive) tag will be included in the RSS feed.

All credit for this code goes to Yongfu Liao – thank you for sharing this solution on your blog!

Step 3: Place the .xml File In Your Site’s Root Directory

Place the .xml file in the root directory of your Jekyll site. Here is a screenshot example for my blog:

How to add an rss feed to a blogger blog

Step 4: Rebuild Your Site and Find the RSS Feed

Once you put the .xml file in the root directory of your site, your blog should re-build itself automatically, generating the RSS feed we specified in the .xml file.

You can find the rss feed file in your site’s _site directory. The file we’ve generated here is called “feed.r.bloggers.xml.”

How to add an rss feed to a blogger blog

Notice that there is also a file called “feed.xml.” This is the rss feed for all the posts on the blog, generated by default from the jekyll-feed plugin we installed earlier.

You can find the R-Bloggers feed in the local version of your site at this location: http://localhost:4000/feed.r.bloggers.xml

Step 5: Push to Github and Test Your RSS Feed

Once you’ve got the rss feed working correctly on the local version of your site, it’s time to push it to Github (or wherever you host your site).

When you’ve done this, you’ll find the R-Bloggers rss feed at your website address + ‘/feed.r.bloggers.xml’. For example, the R-Bloggers rss feed for this blog can be found at this address: https://methodmatters.github.io/feed.r.bloggers.xml.

Step 6: Validate Your RSS Feed and Submit to R-Bloggers

Before submitting to R-Bloggers, you need to check that your RSS feed is valid. Tal Galili (who runs R-Bloggers) recommends testing your feed via this validator: https://validator.w3.org/feed/

Simply paste the link to the feed on your site into the box and click on “Check.”

How to add an rss feed to a blogger blog

If your feed passes the inspection, you’re ready to submit your blog to R-Bloggers, which you can do here! Make sure to follow all of the guidelines Tal lays out in order to be accepted!

Summary and Conclusion

In this post, we saw how to configure a Jekyll / Github Pages website to create an RSS feed to allow us to submit blog posts about R to R-Bloggers. The process is not very straightforward, but I personally feel that the hassle is worth it in order to take advantage of all the really nice features of Jekyll (great flexibility, beautiful templates) combined with free hosting on Github Pages. I made the switch to Jekyll / Github Pages this past summer from Blogger, and am super happy about the way the blog looks, and the freedom I have to blog about R, Python, or anything else.

In the next post, we will return analyzing data, specifically, detailed records of my phone usage. We will use data munging and visualization to see how and when my phone usage patterns differ throughout the day.