Closed (works as designed)
Project:
Empty Page
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
30 Nov 2011 at 17:09 UTC
Updated:
4 Jan 2012 at 01:38 UTC
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
Comment #1
Nick Robillard commentedIn 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.