cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: execute scheduled commands in the sitemap
Date Tue, 16 Apr 2002 16:20:15 GMT
> From: root [mailto:root] On Behalf Of Christian Zoffoli
> 
> Vadim Gritsenko wrote:
> >
> > > From: root [mailto:root] On Behalf Of Christian Zoffoli
> > >
> > >
> > > Hi to all.
> > > A little strange question... Is it possible to execute scheduled
> > > commands in the sitemap ?
> >
> > No. You want this for (say) periodic PDF reports generation, isn't
it?
> >
> 
> I want periodically update an xml-db with some infos extracted by web
> pages (found on internet).
> 
> es:
> www.pincopalla.it/meteo.html --> meteo.xsl --> update db stored into
> xindice  (on every 6:00)
> 
> 
> ...In your opinion, what kind of component I have to write ?

In Avalon (IIRC) there is some infrastructure to execute asynchronous
commands. I would try and implement "cron" component based on this
infrastructure, and then I would write CrawlCommand (see
search/create-index.xsp) and schedule it using this component at 6. This
CrawlCommand will be capable of invoking any Cocoon pipeline, where you
can go fetch data and put it into XML:DB. Sounds good?

Vadim

> 
> 
> Thanks,
> 	Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message