• Next message: [greg-dev] Delete items
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] Delete items

    Hello,
    
    I use Gregaris for a few months now and I like it very much. It solves 
    my RSS reading problems with multiple locations and systems. The only 
    problem is that my Gregarius installation is hosted on a virtual server 
    with limited memory (96Mb) and that causes problems when the number of 
    items is growing. So pruning items is the solution.
    
    I started with a plugin for this that lets the user define an interval X 
    and a period (days, weeks, months, years). So items that are older than 
    X period will be deleted. I won't delete sticky and unread items (maybe 
    configurable).
    
    My plan is to run this plugin based on the hook 
    rss.plugins.updates.before. But that will delete items every time the 
    frontpage is (re)loaded. Is that correct? Maybe too much load?
    
    Is that hook also triggered when the update.php script is run?
    
    My guess is that I can copy the procedure in item_admin(). Is that right?
    
    regards,
    Rutger Wessels
    
    Posted by Rutger Wessels [reply] at Thu Jan 25 11:24:37 GMT 2007