• Previous message: [greg-dev] Cache copies of enclosures
  • Next message: [greg-dev] Cache copies of enclosures
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] Cache copies of enclosures

    Hi, 
    
    > Here's what I'd like to be able to do. This is probably beyond the
    > scope of Gregarius, but I think it would be a useful for people who
    > often switch between multiple computers and would like to make sure
    > they have a copies of their favorite podcasts/videocasts available to
    > them wherever they are in an familiar web-based interface (along with
    > all the other stuff they monitor via RSS).  
    
    Hmmm... How can we achieve TWD without being able to do a simple thing
    like this? :) I think it would be fairly easy to add the ability to cache
    enclosure files via a plugin. Your plugin needs to latch onto 
    
    http://wiki.gregarius.net/index.php/Plugin_Hooks#rss.plugins.items.new
    
    You will get an item array, and you can find out if it has an enclosure
    and download it (or even call an external script to download it)....
    
    The plugin authoring document
    http://wiki.gregarius.net/index.php/Plugin_Authoring will be of use.
    Please feel free to edit the wiki if you find it lacking or incorrect in
    any way...
    
    You can latch onto some other plugin hook to display an link to download
    the cached copy. rss.plugins.items.enclosure would be perfect.
    
    Feel free to post here if you need help.
     
    I think this would be a very useful plugin, so if you do get it done,
    please consider releasing it on the plugin repository
    http://plugins.gregarius.net 
    
    Thanks
    
    Sameer
    
    Posted by Sameer D'Costa [reply] at Fri Dec 2 04:13:53 CET 2005