[jboss-dev-forums] [Design of JBoss Portal] - Re: portletbridge/web-clipping

chris.laprun@jboss.com do-not-reply at jboss.com
Fri Aug 10 06:09:10 EDT 2007


"cdelashmutt" wrote : After trying out the latest portletbridge (circa Jan 2007), I'm beginning to question the value of a full page in a portlet window.  It seems to me that it might be more useful to simply clip a small part of a page.  For instance, there is perhaps this table that you want to display, but you really don't need anything else.

I agree that the full page clipping is not that useful as well for the general case. However, I see web clipping as being used mostly to integrate existing web apps into a portal environment. In this situation, retrieving the whole page would make sense.

"cdelashmutt" wrote : Web Clipping in general has many challenges.  Does it make sense to include CSS styling from the source?  What about JavaScript?  Personally, I'd rather the source strictly be used for data, and the portal styles should be applied to the content.

It's difficult to tell in a generic way. This could potentially be done if the imported markup was semantically written but this is far from being the norm (e.g. how many times do you see tables used for laying out elements?). Also, even with semantic markup, it could be quite tricky to discard CSS styles as they could be used for things as progressive disclosure of elements in conjunction with javascript, hence leaving you with more content that you really should be rendering.

"cdelashmutt" wrote : Specific to portletbridge, I tried to point it to Slashdot, which is what they seem to use for testing.  In Portal 2.6, this causes the Renaissance theme to get corrupted.  I don't know if this is a Portal problem or what, but it seems like the slashdot styles are leaking into Portal.  The image and link HREF stuff does seem to be re-written properly, it's just that styling that is messed up.  
  | 
  | Strangely, portletbridge actually only seems to work properly with plan HTML.  If I try to go to a site that claims to be XHTML, I start getting problems.  For instance, I've tried to clip some stuff from a site running RT, and none of the link re-writing works.
  | 
  | Is there any interest in this type of a feature?  I thought I was interested, but I don't know if it even makes sense now.

I think there is a huge interest but as you pointed out, there are also lots of problems. I am investigating things to see what can be done to improve the situation.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072949#4072949

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072949



More information about the jboss-dev-forums mailing list