Hi - this module looks useful. Have you tested what happens to the RSS feed when a front page is empty?

I currently have a site with no content published to front page -- it's all blocks and views -- which means the feed is empty. I'm wondering if this module would solve that problem.

Thanks!

Comments

Nick Robillard’s picture

Assigned: Unassigned » Nick Robillard
Status: Active » Closed (works as designed)

In function node_feed (node.module) we see that if no $nids are passed (which means that /rss.xml has been hit), 10 (unless "feed_default_items" variable is modified) nodes with "Promote to front page" enabled are shown. This is the case for Drupal 6 and 7.

In other words, this means that rss.xml will not necessarily reflect the content on your front page (which has nothing to do with empty_page module itself) and may display nothing if you have no nodes with "Promote to front page" enabled. The most common way to solve this is to create a Views feed display and override rss.xml with your customized data feed. To be clear, this is outside the scope of this module and is a more general issue with Drupal's default rss mechanism.