line 26: protected static $_maxEntriesPerImport = 5;
Change this so that we can limit the number of entries per feed. i.e. allow some feeds to have 2, some 3, some 12; user select able.
Most likely in the table xf_feed you will need to add a column to store the value.
in the function _limitEntries(array $entries, $maxEntries = 0)
array_slice is used to grab the first 5 entries, this is assuming that the first entry is listed in the rss feed is the newest, some rss feeds screw it up and do it backwards,
since the array has the field of date_modified, can you add an array_sort on the date_modified field before doing the array_slice
Related to: http://xenforo.com/community/threads/limit-number-of-items-returned-from-feed.23175/#post-287811