Title: More RSS feed items?
Last modified: August 21, 2016

---

# More RSS feed items?

 *  Resolved [Dharmaraj](https://wordpress.org/support/users/dharmarajiyer/)
 * (@dharmarajiyer)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/more-rss-feed-items/)
 * Dear Pär:
 * Thank you so much for this wonderful plugin!
 * I’d like to download the history as a CSV file so that I can examine it in Excel.
   I’ve done this by writing a function that reads Simple History’s RSS feed.
 * The problem is that the feed had only 10 items in it. To work around this, I 
   changed the code in “simple-history/index.php” (version 1.3.6), line 444, from
 * `$arr_items = simple_history_get_items_array("items=10");`
 * to
 * `$arr_items = simple_history_get_items_array("items=all");`
 * Is there a way to do what I want without having to make this change to the plugin
   code? Perhaps the number of items in the RSS feed could be set by an option, 
   or by a filter?
 * Thanks again for the great plugin!
    Dharmaraj
 * [https://wordpress.org/plugins/simple-history/](https://wordpress.org/plugins/simple-history/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/more-rss-feed-items/#post-5044737)
 * Sure thing.
 * The just released 1.3.7 has a new filter called `simple_history/rss_feed_args`
   that you can use to modify the arguments used by the rss feed.
 *  [te-online](https://wordpress.org/support/users/thomasebert/)
 * (@thomasebert)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/more-rss-feed-items/#post-5044759)
 * Thanks for the optimizations!
 * Please consider to also add the possibility to shut the rss feed completely down.
   I have to disable it after every update, because I don’t want anyone guessing
   the url see all usernames and actions.
 * So, one option would be to simply add an option to the plugins options-page.
 * Alternatively, I just added another filter:
 *     ```
       ...
       function output_rss() {
   
       	$rss_show = true;
       	$rss_show = apply_filters("simple_history/rss_feed_show", $rss_show);
       	if( !$rss_show ) wp_die( 'Nothing here.' );
       ...
       ```
   
 * In action:
 *     ```
       // Don't display any rss items for simple history
       add_filter( 'simple_history/rss_feed_show', 'show' );
       function show( $args ) {
       	return false;
       }
       ```
   
 * It would be really great if you included any of these options into the plugin–
   I think it’s a serious security flaw to have the feed public.
 * Thanks again.
 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/more-rss-feed-items/#post-5044770)
 * @te-online: ok, check the latest update 1.3.8, it has your suggestion. let me
   know if it works ok.
 *  [te-online](https://wordpress.org/support/users/thomasebert/)
 * (@thomasebert)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/more-rss-feed-items/#post-5044771)
 * Great!
 * Thank you very much for your quick reaction, Pär. 🙂
 *  Thread Starter [Dharmaraj](https://wordpress.org/support/users/dharmarajiyer/)
 * (@dharmarajiyer)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/more-rss-feed-items/#post-5044807)
 * [@p](https://wordpress.org/support/users/p/)är
    Thank you for the super-fast 
   response! I’ll try it out.

Viewing 5 replies - 1 through 5 (of 5 total)

 The topic ‘More RSS feed items?’ is closed to new replies.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Dharmaraj](https://wordpress.org/support/users/dharmarajiyer/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/more-rss-feed-items/#post-5044807)
 * Status: resolved