Displaying a RSS Feed on the Main Page

kirkage - December 1, 2008 - 19:24

I'm using Drupal 6.x and am attempting to make a front page. I'm using a page-front.tpl.php file but I'm looking to see if there is a way to display a RSS feed of a blog on the front page.

I am not able to find anything but I imagine I could make something in PHP if need be. I'm just looking to see if there is a standard method in Drupal to show a feed, I see a lot of ways to create a feed.

Thank you for your time. Any help is appreciated.

Aggregator

pcs305 - December 1, 2008 - 19:36

Or aggregation module. http://drupal.org/project/aggregation
Aggregator is in core and aggregation is a module.

It appears that works.

kirkage - December 2, 2008 - 15:06

It appears that works. However I'm hoping to have a front page with two columns. One with the items marked as "Publish to front page" and the other holds a RSS feed.

Since the HTML is generated as:

<div id="main">
  <div class="node">published item</div>
  <div class="node">published item</div>
  <div class="node">published item</div>
  <div class="node">published item</div>
  <div id="block-aggregator-feed-1">RSS feed</div>
</div>

Is there a way to separate the news from the added blocks such as below?

<div id="main">
  <div id="content">
    <div class="node">published item</div>
    <div class="node">published item</div>
    <div class="node">published item</div>
    <div class="node">published item</div>
  </div>
  <div id="blogs">
    <div id="block-aggregator-feed-1">RSS feed</div>
  </div>
</div>

Thank you for your time.

Columns depend on the theme

pcs305 - December 2, 2008 - 17:45

When it comes to theming I'm relying heavily on the theme's functionality and change the appearances with CSS.

The themes usually give you the capability to put content, blocks in columns. For example I use the story and blog nodes as my "Frontpage" content in the middle column of a 3 column theme, left column is for blocks containing user info and menus, and the right column contains blocks with RSS feeds and calendar.

The block definitions are supplied by the modules usually. If not use views to create the desired block of content and configure the block to display in the correct column/area on the pages you want them.

The panels module can give you some more flexibility but I have not used it.

That worked with the two

kirkage - December 3, 2008 - 15:23

That worked with the two columns on page-front.tpl. I added in the right column and put the RSS feeds there. Simple enough. Thank you for your help.

 
 

Drupal is a registered trademark of Dries Buytaert.