The documentation for lastRSS has moved, it is now here:
http://lastrss.oslab.net/index.php?q=doc
and may be of some interest. Please note that there have probably been several updates to lastRSS since the version that comes with the DD script.
Anyways, in the version that comes with the script, it has (near the beginning):
Code:
// -------------------------------------------------------------------
// Public properties
// -------------------------------------------------------------------
var $default_cp = 'UTF-8';
var $CDATA = 'nochange';
var $cp = '';
var $items_limit = 0;
var $stripHTML = False;
var $date_format = '';
You may set that to like 10 and it will only fetch 10. I believe these are already sorted by default in most cases on the remote RSS server by date, so these would probably be the most recent 10 items.
There doesn't appear to be any simple way via the lastRSS to limit the date range though. If you feel you still need that, I think something can probably be worked out on the javascript side. It would require that the date info be fetched from the feed (I think that's the default), and, if you've changed the date format, I would need to know the format your dates are in.
Bookmarks