Re: RSS for public queries ...

hussayn <[email protected]> Thu, 5 Feb 2009 09:18:34 -0800 (PST)
Newsgroups gmane.comp.java.scarab.devel
Message-ID <[email protected]>
Johannes Hoechstaedter wrote:
> 
> from my side it looks like an enhancement is necessary here.... :)
> 
Hi, Johannes;

Haven't you mentioned a while ago, that you are planning to enhance Scarab's
RSS-support anyways ?
So did you allready think about HOW to do that ? 

It looks to me as if we should completly encapsulate the RSS feed stuff and
make it independent from Turbine intake, and whatever. So i would take
RSSDataExport as a starting point and then try to work out how it could be
integrated smothly into Scarab.

My first idea is to just add a couple of variables to a request, that
indicated, this is a RSS request, exactly like it has been implemented for
the QueryList:

> /scarab/issues/
> curmodule/10001/
> tqk/0/
> template/Index.vm/
> action/Search/
> go/10060/
> eventSubmit_doSelectquery/foo/
> output/feed/
> feedType/rss_2.0 

Now inside the process flow at one point the decision must be taken, into
which output module the data has to flow ("output/feed" means -> go to RSS,
no output parameter means -> go to default) Wherever this decision is taken,
we necessarily need all relevant data at that place and we just feed the
data to the RSS submodule, which in turn does the rest. That sounds like a
simple concept to me and easy embeddable into Scarab.

What i do not exactly understand is, how it works when you click on RSS
while you are in the issue editor.
In that case (with firefox) a popup appears and you can establish the RSS
feed directly within the browser. But nothing else happens, i.e. Scarab does
not hop away from the current page. I would like to implement similar
behaviour wherever an RSS link appears...

So what is the trick here ? Sopmewhere they set the new target to null, but
whe i truy that i end with an empty white page. Anby hints are welcome...

What do you think about the implementation proposal above ?

regards,
hussayn
-- 
View this message in context: http://www.nabble.com/RSS-for-public-queries-...-tp21841321p21856570.html
Sent from the Scarab - Dev mailing list archive at Nabble.com.

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=455&dsMessageId=1108368

To unsubscribe from this discussion, e-mail: [[email protected]].