You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Tom Sturgeon <ts...@inodeusa.com> on 2001/05/01 21:58:27 UTC

Displaying a well-formed document

Greetings.

I have a web server which is currently serving an XML document generated
on the fly by an ASP script.

I want to display this document in a portlet in Jetspeed.

Where and how do I configure this?
Also, this website requires a login username and password, which
Jetspeed would have to supply to get at the content; how is this done?

The specific server is an IIS5 server on Windows 2000 Server using basic
(plain text) authentication.




---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Displaying a well-formed document

Posted by sbelt <sb...@velos.com>.
several months back I submitted a couple of portlet classes for this:

- one would send the jetspeed-user's login id/password to the url. It
supports both GET and POST methods. It also allowed you to define via the
psml the parameter names (ie - is it loginid=xxxx, userid=xxx,...)

- In a second block of code, I connected to simple HTML sites and extracted
the markup between the <BODY></BODY> tags. It also modified all the src tags
so that images could be downloaded from the source site (relative URL's
would otherwise require the resources to be loaded on the Jetspeed server).

I do not know what became of this code. It does not implement the PortletAPI
on its way. Also, as I was new to developing URL code in JAVA, the second
portlet code (getHTMLPortlet) was very inefficient.

If you need a copy, look in the email archives. Otherwise, let me know and
I'll see if I can dig up the code.

Steve B.


----- Original Message -----
From: "Santiago Gala" <sg...@hisitech.com>
To: <je...@jakarta.apache.org>
Sent: Tuesday, May 01, 2001 1:20 PM
Subject: Re: Displaying a well-formed document


> Tom Sturgeon wrote:
>
> > Greetings.
> >
> > I have a web server which is currently serving an XML document generated
> > on the fly by an ASP script.
> >
> > I want to display this document in a portlet in Jetspeed.
> >
>
> I'm not sure about the status of
>
> org.apache.jetspeed.portal.portlets.XSLTPortlet
>
> but it is designed to do XSLT transformation of your XMl. It could
> transform it into a HTML fragment to show in the aggregation.
>
>
> > Where and how do I configure this?
> > Also, this website requires a login username and password, which
> > Jetspeed would have to supply to get at the content; how is this done?
> >
>
> You can use the standard URI format: http://user:password@server/path
> syntax. It will require to encode the user and password in the registry,
> but... I don't see other way.
>
>
> > The specific server is an IIS5 server on Windows 2000 Server using basic
> > (plain text) authentication.
> >
> >
>
> Yes. Jetspeed will not work with NTLM authentication.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: Displaying a well-formed document

Posted by Santiago Gala <sg...@hisitech.com>.
Tom Sturgeon wrote:

> Greetings.
> 
> I have a web server which is currently serving an XML document generated
> on the fly by an ASP script.
> 
> I want to display this document in a portlet in Jetspeed.
> 

I'm not sure about the status of

org.apache.jetspeed.portal.portlets.XSLTPortlet

but it is designed to do XSLT transformation of your XMl. It could 
transform it into a HTML fragment to show in the aggregation.


> Where and how do I configure this?
> Also, this website requires a login username and password, which
> Jetspeed would have to supply to get at the content; how is this done?
> 

You can use the standard URI format: http://user:password@server/path 
syntax. It will require to encode the user and password in the registry, 
but... I don't see other way.


> The specific server is an IIS5 server on Windows 2000 Server using basic
> (plain text) authentication.
> 
> 

Yes. Jetspeed will not work with NTLM authentication.





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org