Views Rss - How to set pager options / items to display via URL argument
/**  
 * Implements hook_views_query_alter.
 *  
 * If we have an rss feed view we need to set pager settings from url.  
 * If no pager number specified in the url do nothing and use view pager   settings.
 * Otherwise get the items_per_page options from the first argument in the url.  
 */

function rss_feed_length_views_query_alter(&amp;$view, &amp;$query) {

  $rss_views = array(
    'rss',
  );

  if (in_array($view-&gt;name, $rss_views)) {
    $limit = arg(1);
    if ($limit !== NULL) {
      $view-&gt;set_items_per_page($limit);
    }
  }
}


SUGGESTED IMPROVEMENT:


  "i'd have used GET parameters rather than path elements - since it's not a different resource, rather it's an option"


I'll accept as an answer anything that implements the suggested improvement.  :)