This is a good help. I will report back latter on my findings. -Yao On 2/22/06, Sameer D'Costa <sameerslists at gmail.com> wrote: > > I think what you should do is hack snoopy to do what you want. This forum > discussion would be of some use. > http://forums.gregarius.net/comments.php?DiscussionID=104&page=1#Item_0 > > Best, > Sameer > > > On Wed, Feb 22, 2006 at 01:40:02PM -0500, Yao Ge wrote: > > > Date: Wed, 22 Feb 2006 13:40:02 -0500 > > From: "Yao Ge" <yaogee at gmail.com> > > To: gregarius-dev at sinless.org > > Subject: Re: [greg-dev] Fwd: hooks for feed fetch > > Reply-To: gregarius-dev at sinless.org > > > > Hmm... Let me explain this way: I assume each feed is an outbound http > > request. What I need to need to do the following things before the > request > > is sent. > > 1. determine if it's internal site (by parsing URI). > > 2. if it's an internal site, I need to include a special cookie in the > > request header. > > 3. if it's an external site, I need to apply the proxy server setting > > instead. > > > > Now I am a newbie in PHP but I will be supprised if this can do be done > > quickly in PHP. > > > > Looks like this hook is not going to do it, am I right? Also I need to > know > > how to access the feed request object so that I can do my things. > > > > Thanks! > > > > -Yao > > > > > > On 2/22/06, Marco Bonetti <mbonetti at gmail.com> wrote: > > > > > > Yao, > > > > > > The "rss.plugins.updates.before" hook is called exactly once, before > > > all feeds are refreshed, not each time a single feed is fetched. > > > > > > If you need the latter, please let me know: this can definitely be > done. > > > > > > -m > > > > > > > > > > > > On 2/22/06, Yao Ge <yaogee at gmail.com> 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"? > > > > > > > > It appears receiving RSS feed across firewall would be common needs, > > > have > > > > anyone written this before? > > > > > > > > Thanks! > > > > > > > > -Yao > > > > _______________________________________________ > > > > gregarius-dev mailing list > > > > gregarius-dev at sinless.org > > > > http://sinless.org/mailman/listinfo/gregarius-dev > > > > > > > > > > > > > > > > > > _______________________________________________ > > > gregarius-dev mailing list > > > gregarius-dev at sinless.org > > > http://sinless.org/mailman/listinfo/gregarius-dev > > > > > > _______________________________________________ > > gregarius-dev mailing list > > gregarius-dev at sinless.org > > http://sinless.org/mailman/listinfo/gregarius-dev > > _______________________________________________ > gregarius-dev mailing list > gregarius-dev at sinless.org > http://sinless.org/mailman/listinfo/gregarius-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sinless.org/pipermail/gregarius-dev/attachments/20060222/bce5d207/attachment-0001.html