> 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to