Does anybody has a plan on how to gather the content of a portlet for the search indexer?
daemons do not work (see below). do I need a special search page/action, triggered by an http request (maybe from a daemon) that has a valid rundata object? (sounds nasty.) Jeremy Ford: how can the PortletToDocHandler work? from where could it be called? Mark Orciuch: The hint to the HTML Portlet is great, but I have a multilingual enviroment and I don't know how to configure HTML pages per language. (sounds like a good extension to the WebPagePortlet though!?) Best Regards. Joachim > -----Urspr�ngliche Nachricht----- > Von: Mark Orciuch [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 8. Juli 2003 20:20 > An: Jetspeed Users List; [EMAIL PROTECTED] > Betreff: RE: portlet search service question > > > > THE PLAN: > > To index certain > > document types on a regular base triggered by > > a daemon service. > > > > MY PROBLEM: > > I want to index a portlets content without having a > > rundata object by this time. Having the > > PORTLET in variable portlet I use this code: > > > > To put it simply, you cannot do this. Portlet content is generated based on > many variables including current user information and media type. These, of > course, come from the http request. Also, certain portlets, such as JSP and > Velocity, write their content directly to the output stream. AFAIK, the > closest you can get to your plan is to index content of certain portlet > types (HTML, WebPage, perhaps RSS), by indexing the documents pointed to by > the portlet URL attribute. > > Best regards, > > Mark Orciuch - [EMAIL PROTECTED] > Jakarta Jetspeed - Enterprise Portal in Java > http://jakarta.apache.org/jetspeed/ > > > > >
