morciuch 2003/10/03 15:44:01 Modified: docs/site resources.html Added: docs/site portlet_config_WebClippingPortlet.html portlet_config_AppletPortlet.html Log: More docs that never got committed Revision Changes Path 1.41 +97 -94 jakarta-jetspeed/docs/site/resources.html Index: resources.html =================================================================== RCS file: /home/cvs/jakarta-jetspeed/docs/site/resources.html,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- resources.html 25 Aug 2003 06:18:39 -0000 1.40 +++ resources.html 3 Oct 2003 22:44:01 -0000 1.41 @@ -5,7 +5,6 @@ - @@ -15,7 +14,6 @@ - Jetspeed - Resources @@ -148,7 +146,9 @@

-

Japanese Support for Jetspeed

+

+ Japanese Support for Jetspeed +

@@ -164,41 +164,41 @@

Jetspeed relies on the following Open Source projects:

+ +

@@ -213,24 +213,22 @@
+
  • + Java Servlets +
  • +
  • + JavaServer Pages +
  • +
  • + Wireless Application Protocol (WAP) +
  • +
  • + RSS 0.91 DTD +
  • +
  • + RSS 0.9 DTD +
  • +

    @@ -245,44 +243,49 @@
    +
  • + Jetspeed article in MokaByte (in Italian), Massimiliano Dessi, September 2003 +
  • +
  • + Jetspeed article in MokaByte (in Italian), Massimiliano Dessi, July 2003 +
  • +
  • + Jetspeed article in MokaByte (in Italian), Massimiliano Dessi, June 2003 +
  • +
  • + JavaBoutique article comparing various open-source portals, Drew Falkman +
  • +
  • + JavaWorld Article, Jeff Linwood, July 27, 2001 +
  • +
  • + XML.com Article - May 15, 2000 +
  • +
  • + Java Enterprise Developer, Interview +
  • +
  • + Jcorporate ePortal Product +
  • +
  • + Apache Mailing Lists +
  • +
  • + Searchable Jetspeed User mailing list +
  • +
  • + Searchable Jetspeed Developer mailing list +
  • +
  • + Jetspeed User Mail Archives +
  • +
  • + Jetspeed Developer Mail Archives +
  • +
  • + Mailing List Archives Prior to March 1, 2001 +
  • +

    @@ -297,7 +300,7 @@
    - Copyright © 1999-2003, Apache Software Foundation + Copyright © 1999-2002, Apache Software Foundation
    1.1 jakarta-jetspeed/docs/site/portlet_config_WebClippingPortlet.html Index: portlet_config_WebClippingPortlet.html =================================================================== Jetspeed - Portlet Configuration How To
    Jetspeed

    Essentials

    Download

    Documentation

    Components

    Translated

    Get Involved

    WebClippingPortlet

    Class Name : org.apache.jetspeed.portal.portlets.WebClippingPortlet


    Description

    Present one ore more clipped parts of one or more web pages in a portlet. The clipped part is a section of a web page between a start tag and a stop tag. This portlet supports nested tags:
    <table> ... <table> ... </table> ... </table>
    In this case you can clip the complete table, or only the inner table.

    Example of how to find a tag:
    Find: <img src="http://www.apache.org/images/asf_logo_wide.png" width="537" height="51" alt="Apache Software Foundation"/>
    If it's the first image (or there's only one image) in the page, you can clip it with:
    Tag...="img"
    But you can also find the image with:
    Tag...="img src=http://www.apache.org/images/asf_logo_wide.png width=537 height=51 alt=Apache Software Foundation"
    Tag...="img src=http://www.apache.org/images/asf_logo_wide.png"
    Or (simpler!):
    Tag...="img asf_logo_wide.png"
    Tag...="img 537 Apache"
    The match is between the tags (img) and any portion of its attributes (width=537, 537, asf_logo_wide.png, ...)

    Supported Media Types

    Description of Media Types.

    • html



    Element: parameter

    Parameters that control what parts of the web pages are converted into a portlet. All these parameters are followed by a number: startTag1, startTag2, ...

    This element is required

    Parameters common to many portlets.

    Parameter Name Description
    startTag... First tag to include in the portlet
    stopTag... Last tag to include in the portlet
    Tag... Single tag to include in the portlet, ie useful to include images. You must indicate or a couple startTag.. -stopTag.., or only a Tag.. parameter
    startTagNumber... If the page contains some identical tags, you can select one of them using startTag (or Tag) and startTagNumber.
    Example: in the page there are four paragraphs, you can select the second with startTag..="p" and startTagNumber..="2"
    url... It's possible to specify a different URL for each element to clip. If it's not specified, the default URL is used. It's also possible to use a local URL, ie:
    /examples/local-page.html


    Element: url

    Contains the default URL of the web page to be displayed. It's possible to use a local URL.

    This element is required

    General information about of URL.

    Good URLs:

    <url>http://jakata.apache.org/jetspeed</url>
    Basic URL
    <url>/examples/local-page.html</url>
    Local URL
    <url>http://search.yahoo.com/bin/search?p=jetspeed</url>
    1 Parameter passed
    <url>http://search.yahoo.com/search?p=jetspeed&amp;n=100</url>
    2 Parameter passed

    Bad URLs:

    <url>http://search.yahoo.com/search?p=jetspeed&n=100</url>
    Contains & instead of &amp;.


    Example of Registry Entry

    The example will show local content, an image from Jakarta, and a clipped part of Tomcat home page

    From <jetspeed_home>/WEB-INF/conf/WebClipping.xreg

            <portlet-entry name="Different URLs example" hidden="false" type="ref" parent="WebClippingPortlet" application="false">
              <meta-info>
                  <title>Different URLs example</title>
                  <description>Example of clipping from different URLs</description>
              </meta-info>
              <parameter name="startTag1" value="p" hidden="false"/>
              <parameter name="stopTag1" value="p" hidden="false"/>
              <parameter name="Tag2" value="img" hidden="false"/>
              <parameter name="url2" value="http://jakarta.apache.org/" hidden="false"/>
              <parameter name="startTag3" value="p" hidden="false"/>
              <parameter name="stopTag3" value="p" hidden="false"/>
              <parameter name="startTagNumber3" value="2" hidden="false"/>
              <parameter name="startTag4" value="table" hidden="false"/>
              <parameter name="stopTag4" value="table" hidden="false"/>
              <parameter name="startTagNumber4" value="3" hidden="false"/>
              <parameter name="url4" value="http://jakarta.apache.org/tomcat/" hidden="false"/>
              <url>/examples/local-content.html</url>
              <category>sites</category>
            </portlet-entry>


    Known problems (version 1.4b4)

    • No known problems, but more testing needed



    Copyright © 1999-2002, Apache Software Foundation
    1.1 jakarta-jetspeed/docs/site/portlet_config_AppletPortlet.html Index: portlet_config_AppletPortlet.html =================================================================== Jetspeed - Portlet Configuration How To
    Jetspeed

    Essentials

    Download

    Documentation

    Components

    Translated

    Get Involved

    Applet

    Template Name : java-applet-portlet.jsp


    Description

    Presents Java applet in a portlet.

    Supported Media Types

    Description of Media Types.

    • html



    Element: parameter

    Parameter that control the how the web page is converted into a portlet.

    The following parameters will be used as attributes for the applet tag:

    • name
    • codebase
    • code
    • width
    • height
    • archive
    • border
    • align
    The remaining parameters will be used as applet parameters.

    Parameters common to many portlets.


    Example of use
    Portlet Entry
          <portlet-entry name="JavaMine" hidden="false" type="ref" parent="AppletPortlet" application="false">
              <meta-info>
                  <title>Mine Sweeper Game</title>
                  <description>Example of Java applet</description>
              </meta-info>
              <parameter name="codebase" value="." hidden="true"/>
              <parameter name="width" value="152" hidden="false"/>
              <parameter name="code" value="jmapplet.class" hidden="true"/>
              <parameter name="height" value="195" hidden="false"/>
              <parameter name="archive" value="javamine.jar" hidden="true"/>
              <parameter name="border" value="0" hidden="false"/>        
              <parameter name="align" value="top" hidden="false"/>                
              <parameter name="rows" value="8" hidden="false"/>        
              <parameter name="marks" value="true" hidden="false"/>        
              <parameter name="mines" value="10" hidden="false"/>        
              <parameter name="graphics" value="true" hidden="false"/>        
              <parameter name="type" value="application/x-java-applet" hidden="false"/>        
              <parameter name="level" value="beginner" hidden="false"/>                
              <parameter name="cols" value="8" hidden="false"/>                
              <media-type ref="html"/>
          </portlet-entry>
          
    Resulting applet tag
          
      <applet archive="javamine.jar" border="0" align="top" height="195" width="152" codebase="http://localhost:80/jetspeed/" code="jmapplet.class">
        <param name="level" value="beginner">
        <param name="type" value="application/x-java-applet">
        <param name="cols" value="8">
        <param name="graphics" value="true">
        <param name="marks" value="true">
        <param name="mines" value="10">
        <param name="rows" value="8">
      </applet>      
          



    Copyright © 1999-2002, Apache Software Foundation
    --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org