Ok, thank u. But where can I find sesam.no's PageProvider's ?

/A

-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Mick Semb Wever
Skickat: den 31 mars 2008 11:29
Till: Sesat Kernel usage and development discussions.
Ämne: Re: [Kernel-development] Implement sitemap for sesam.se

On Mon, 2008-03-31 at 11:11 +0200, Anders Berneby wrote:
> We want to generate some sitemap xml files like u have done for
> “sesam.no”. 
> (I think we are going to generate the xml on basis of “Person” and
> “Sak” like u have done.)
> Which steps are involved in this process from creating the xml’s to
> let other search engines get know of them?

The SitemapGenerator is a standalone application that loads the
PageProvider's you have implemented and generates the corresponding
sitemaps (breaking them up if they are longer than 25000 lines).
Its javadoc describes it well
http://sesat.no/projects/sesat-kernel/apidocs/no/sesat/sitemap/SitemapGenerator.html

So you'll need to implement a PageProvider for “Person” and another
for “Sak”. See
http://sesat.no/projects/sesat-kernel/apidocs/no/sesat/search/sitemap/PageProvider.html

How your PageProvider returns the Iterator of Pages is entirely up to
you. For sesam.no, the person and company PageProviders read text files
that are one page per line with values space separated. We have Bodi
jobs that build these text files regularly. Sesam.no's news-case
PageProvider on the other hand uses a jdbc connection directly into our
mysql production server, although it is planned to improve this
PageProvider but exposing the news cases through a Ejb3 service.

I hope that is enough to get you started.

~mck


-- 
"The man who moved a mountain is the one who started taking away the
small stones." Old Chinese Proverb 
| semb.wever.org | sesat.no | sesam.no |
_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development

Reply via email to