How to generate RSS feeds using Drupal
Like every content management system Drupal also supports RSS feeds. RSS lets us to stream our content through the specific link which can be placed in another website. This way we can share our content with others and get more visitors to our website. Also, it’s possible to display any RSS feed in our own website. This is what we are going to do in this tutorial.
To set up RSS feed, we will need to install special module which will be used for displaying RSS feed and configure it to show required content.
Let’s start with installing module named “Views” in the Drupal modules list. It can be downloaded from the official Drupal website. Once downloaded, extract folder “views” from the archive file and upload it to Drupal modules directory. Usually it’s located in “/home/username/domain.com/public_html/modules/”. The best way to do this is to use FTP transfer software like FileZilla.
In order to install “Views” module, it’s required to have another module “ctools” installed as well. Therefore, go ahead and download it from Drupal website. Then extract it and upload to the modules directory the same way as it was done with “Views” module.
Now we can go to Drupal admin area and enable required modules. Login to Drupal with admin credentials by using URL http://www.domain.com/?q=admin and click on “Modules” in the top menu.
Scroll down the page to locate “Chaos tool suite” and select “Chaos tools” with “Chaos Tools (CTools) AJAX Example” in order to activate them.
Then scroll at the very end of the page to find “VIEWS” table. Select “Views” and “Views UI” to enable them as well.
Once we have required checkboxes selected, apply the changes by clicking “Save Configuration” button below the “VIEWS” table.
After saving the configuration, new modules should be activated and ready to use. In this case, open “Modules” page again and scroll down the page to find “VIEWS” table again. Click on the “Configure” link to open module configuration page.
In the next page click “Add new view” in order to add new view in the website. Next fill the form with required information like view name, page title, path, etc. Complete creating new view by clicking “Save & exit” button.
Return to the views configuration page and click on “Edit” under “OPERATIONS”.
In the next page add feed view by clicking on “Add” button and selecting “Feed” option.
Make sure to set path and the rest of the feed settings.
Finally, click “Save” button to apply the changes. New view will be created for RSS feed.