RSS block



The RSS block allows you to import external RSS feeds into a site. The RSS Block requires a title, a RSS url, and a choice of how many items to display.

Note: As of June 2012 the feeds will not show up in the CMS preview. You have to publish the page before the feeds will be visible. Instead, the title and any block formatting (borders, title styling) will appear on the page where the block has been attached. 


  1. Copy the rss-block file into the _user-blocks folder in the location of your choice.
  2. Open the destination page and attach the block. Click Submit to save.
  3. Publish the page for the feed to become active on the site.


By default the feed is styled through the CMS' central files. You do have the option of adding your own CSS in a supplemental stylesheet.

How to create a RSS block

Sample of the fields available in the RSS Feed block

  1. Feed Title - The title you want to appear overtop of your feed on the page
  2. Heading level - The default H3 is recommended unless you're familiar with the particulars of semantic headings
  3. Title Link - Provides a way to embed a link in the feed block's Feed Title text
    1. Choose page - select a page within your site
    2. Or, external URL - or provide the URL pointing to a page on an external site
  4. Feed URL - Enter the feed's URL as provided by the feed's originator.
  5. # Feed Items - Provide a number to indicate how many feeds should appear on the page from this feed.
  6. Display feed text - The dropdown menu will allow you to choose how much of the feed appears. You can select:
    • None - displays the title with the link embedded
    • Snippet - displays the title with the link embedded and the first 160 characters of the story, or
    • Full - displays the title with the link embedded and the entire story (not recommended)
    • Paragraph - display the feed output in a paragraph-level setting. When chosen, it provides a second menu on the length of the paragraph displayed:
      • Cutoff paragraph (in characters): 250, 500, or 1000
  7. Theme - a theme switcher option that gives you an easy way to apply a different background color to the Feed Title area background. View the background-color theme gallery options.
  8. Custom class - Add your own class to the RSS Feed block to apply your own custom style to this particular content block. Your class name should be written in the field without a preceding period, like this - "u_my_class" as opposed to ".u_my_class".
  9. Comments - visible only inside of the CMS and will not publish. This area is available for your internal use to track comments and updates to the block. Completely optional.

How to attach a RSS block

Attaching the RSS block to a page
  1. If you would like more than one feed to appear on your page at a time, you will need to click the [+] sign on the addition block content (optional) section to attach a second RSS block. Create as many such RSS blocks as necessary, and add them here. The up and down arrows give you the option to re-order the blocks as necessary.
  2. Attach the block you created and saved in Base Folder/_user-blocks/ location.
  3. Decide where the RSS block will appear in relation to this particular repeating content block section.
  4. Choose the width of this block.
  5. If less than 100%, decide if you want the RSS block to align to the left or right of the page, which will allow any text in the body of the content section to wrap around your RSS block. If 'none' is chosen, the text will not wrap.
  6. By default, a border will appear around each RSS block. To remove the border, click the 'yes' checkbox.
  7. Click Submit to save your changes.

RSS Feed Demo

Campus News

UC Davis shows what it's made of in Washington, D.C.

By Dateline staff

UC Davis is front and center this week and next in Washington, D.C., for the Smithsonian Institution’s celebration of the 150th anniversary of the federal law that created land-grant universities.

Five professors are participating, and three of them — while in Washington — are giving talks outside the Smithsonian festival, to alumni and legislators and others, on African American folk art and civil rights, the history of rock ’n’ roll, and the science of beer.

At the festival, UC Davis is showcasing some of its many endeavors to develop a more sustainable world: turning textile waste into reusable bags, and turning the campus’s olives into fine oils and beauty products.

UC Davis is one of 28 participating universities — and the only UC — in this year’s festival.

“This is a good time to boost our visibility in the nation’s capital, at the Smithsonian festival and beyond,” said Professor Pat Turner, vice provost of Undergraduate Studies, who led the organizing for this outreach effort in D.C.

Tuesday (June 26), on the eve of the festival’s opening, Turner, a folklorist, addressed “Crafting Change: African American Folk Artists and the Civil Rights Movement.” Turner, a professor of African and African American Studies, and American Studies, delivered the talk at the Library of Congress.

CSS Stylings

All blocks offered in the Content Library have a built-in hook to allow users to create custom stylings via the use of a supplemental style sheet. To date, the following classes have been created in conjunction with the available blocks:

  • Code block - class name: ._code-block
  • FAQ block - class name: ._faq1 (._faq-block)
  • Feature block - class name: ._feature-block
  • Jump menu block - class name: ._jumpmenu1
  • RSS block - class name: ._rssfeed1 (._rssfeed-block)
  • Slideshow block - class name: ._slideshow1 (._slideshow-block)
  • Title area links block - div id: #links
  • Video block - video2.css
  • XHTML Raw block - class name: ._xhtml-block