• Previous message: [greg-dev] Fwd: hooks for feed fetch
  • Next message: [greg-dev] New theme model
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] Fwd: hooks for feed fetch

    
    
    On Wed, February 22, 2006 1:27 pm, keith d. zimmerman wrote:
    > Yao Ge wrote:
    >> Hi,
    >>
    >> I am evaluating Gregarius behind a firewall. I need to be able to
    >> fetch feeds across a proxy server. Meanwhile, other internal RSS
    >> sources are protected with a single sign-on cookie. So I need to write
    >> a plug-in that do a few things before each RSS feed read. What would
    >> the appropriate hook? Is it " rss.plugins.updates.before"?
    > Yes, this looks to be the correct one.  I am curious, however, about how
    > you plan to pass the cookie.  Or is it not an http cookie that you are
    > speaking of?
    >>
    >> It appears receiving RSS feed across firewall would be common needs,
    >> have anyone written this before?
    >
    > I have need of pulling rss from a site with authentication, but I never
    > got around to coding it.
    
    For HTTP AUTH you can do as follows:
      http://username:password@example.com/feed.xml
    
    >
    > -kz
    > _______________________________________________
    > gregarius-dev mailing list
    > gregarius-dev at sinless.org
    > http://sinless.org/mailman/listinfo/gregarius-dev
    >
    >
    
    
    -- 
    Website: http://darthsebulba.is-a-geek.org/
    Public Key:
    http://darthsebulba.is-a-geek.org/Key/Darth_Sebulba05-at-phreaker-net_pub.key
    
    
    Posted by Chris J. Friesen [reply] at Wed Feb 22 20:43:45 CET 2006