In this example you will create a Feed display to show nodes by individual users, dynamically selected through the URL. You will become familiar with the Views 2 interface, as well as learn how to use an argument to pull in a user name and use it in a dynamically created path.

A feed is a data format that places your site's content into a file that can be read and displayed by news reader programs. When visiting a site, you may notice a small RSS transmission icon, whereby clicking on it, you can subscribe to the site's most recent content. This makes it easier for your visitors to keep up to date with your website. You can also use this format to aggregate information into other sites. For more information, please watch a video from Common Craft about RSS in plain English.

Note, Drupal automatically creates a feed for your website, but you may want to create feeds with specific information. In this case, a list per user.

  1. Creating a new view

    1. Go to add new view. Give it the name 'user_feed', description 'A feed of user nodes.', tag 'users', type 'Node' and click Next.
  2. About the Interface. You have been brought to the Views User Interface. As you start, you are editing the "Default" options for the view. In the 1st column on the left- you can see the pull-down menu offers 'Feed', for example, to select settings specific only to RSS views. In the remaining columns, you will be able to add or change options by clicking on links or icons. These options appear below this main area. Most likely, you will need to scroll to see the options appear. As you make changes, these options will appear in bold until you save your view.
  3. Change default display

    1. Under Basic Settings in the 2nd column, click Row style: Fields
    2. A menu loads below, Defaults: How should each row in this view be styled, check the Node option, and click Update.
    3. This loads another options menu, Defaults: Row style options click Update.
  4. Create the RSS view

    1. In the 1st column, select 'Feed' in the drop-down menu, and click Add Display.
    2. Under Basic Settings in the 2nd column, click Row style:Missing style plugin
    3. Note, options appear below the Views Interface, you may need to scroll to see Feed: How should each row in this view be styled
      tick Node, then Update
    4. This loads the next options menu- Display type: select "Use default RSS settings", click Update.
  5. Set the path for accessing your feed

    1. In the 2nd column under Feed settings, click Path: None
    2. In options below Feed: The menu path or URL of this view enter in the path with an argument feeds/%/rss.xml
    3. Click Update
  6. Set up your arguments to say which user's nodes to display

    1. To the right of Arguments, click the + sign to add and argument
    2. In the Feed: Add arguments menu that loads below, select User in the pull-down menu
    3. Check the box User: Name, click Add
    4. Scroll down to options to find Case in path: select Lower case
    5. Check the box Transform spaces to dashes in URL
    6. Click Update default display
  7. Sort to show most recent at top of feed

    1. Scroll up to Sort criteria in the right most column and click the + icon.
    2. In the Groups drop-down menu below, select 'Node', then check Node: Post date, and click Add.
    3. Select Descending Sort order. Click Update.
  8. Set filters to hide unpublished entries

    1. Click the + icon next to Filters. In the options below, select Node under Groups drop-down menu, choose the Node: Published filter, and click Add.
    2. Check the box Published. Click Update default display
  9. Test

    1. Click Save
    2. Under Live preview type in the name of a user, in lowercase, replacing spaces with dashes, click Preview.
    3. You should test and find your feeds at URLs like
    4. You can use this path for aggregating on another site. You can also attach the RSS feed to another display of view to make the feed link appear on that display.