Consider implementing the NekoHTML technology for portlets that do rewriting.
http://www.apache.org/~andyc/neko/doc/html/


We recently discovered Neko, and implemented it for rewriting. It eliminated many of the rewriting problems we were having.

Glen

Daniel Farinha wrote:

Robin,

WebSurfPortlet is very much what I was looking for. Thanks!

I got it working, and works fine for surfing normal websites, but I could
not get it to read pages from the local file system (i.e. read content from
/mypages/page.html rather than http://myserver/mypages/page.html )

Nevertheless, the WebSurfPortlet source gave me the hints I needed to write
my own FileSurfPortlet (adapted from the FileServerPortlet). My portlet
needs a good code review, but as soon as its neater, and provided someone
wants it, I will either post it here or on bugzilla.

Regards

Daniel Farinha

-----Original Message-----
From: Robin Antony [mailto:[EMAIL PROTECTED] Sent: 16 March 2004 04:11
To: Jetspeed Users List
Subject: Re: Browsing static pages within a portlet


Hi,
Maybe you should consider using a WebSurfPortlet. It is an extension of the
already existing WebPagePortlet. You can refer to this link for more details
and decide if it suits your needs.
http://grids.ucs.indiana.edu/users/balsoy/jetspeed/websurfportlet.html
Regards,
Robin Antony
OpenSI.Net
[EMAIL PROTECTED]

----- Original Message -----
From: "Daniel Farinha" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 3:46 AM
Subject: Browsing static pages within a portlet



I need to browse a number of local static pages within a single portlet.
Unfortunately I can't use IFRAME or any other fancy HTML tags.

I'm considering extending FileServerPortlet, so that any pages that it
servers will have the HTML parsed, and normal <a href> links will be
re-written to a format that the portlet can catch (say using something

like


JSLINK) to then open the respective static page.

Is this a feasible solution, or are there better alternatives?

Regards

Daniel Farinha


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to