Google Gadgets Portlet 0.1 Released
Google Gadgets Portlet enables you to display Google Gadgets on a portlet.
To deploy this portlet:
1) Download googlegadgets.war
2) Deploy googlegadgets.war(For how to deploy portlet, see portal server's document)
If you want to add a new Gadget as a portlet, please add a new entry(like the following) to portlet.xml.
"jp.sf.pal.googlegadgets.title" is Portlet's title. "jp.sf.pal.googlegadgets.code" is a code of Gadget. "jp.sf.pal.googlegadgets.gadgetUrl" is an URL to modify the gadget code.
If you create an interesting Gadget entry, please send it to me :)
To deploy this portlet:
1) Download googlegadgets.war
2) Deploy googlegadgets.war(For how to deploy portlet, see portal server's document)
If you want to add a new Gadget as a portlet, please add a new entry(like the following) to portlet.xml.
<portlet id="DateTimeGoogleGadget">
<portlet-name>DateTimeGoogleGadget</portlet-name>
<display-name>Date & Time</display-name>
<description>Google Gadgets: Data and Time Gadget</description>
<portlet-class>jp.sf.pal.googlegadgets.GoogleGadgetsPortlet</portlet-class>
<expiration-cache>-1</expiration-cache>
<init-param>
<name>jp.sf.pal.googlegadgets.title</name>
<value>Date & Time</value>
</init-param>
<init-param>
<name>jp.sf.pal.googlegadgets.code</name>
<value><script src="http://gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/datetime.xml&up_color=blue&synd=open&w=320&h=136&title=Date+%26+Time&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script></value>
</init-param>
<init-param>
<name>jp.sf.pal.googlegadgets.gadgetUrl</name>
<value>http://gmodules.com/ig/creator?synd=open&url=http://www.google.com/ig/modules/datetime.xml</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
<portlet-mode>EDIT</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<supported-locale>ja</supported-locale>
<resource-bundle>jp.sf.pal.googlegadgets.resources.GoogleGadgetsResources</resource-bundle>
<portlet-info>
<title>Date & Time</title>
<short-title>Date & Time</short-title>
<keywords>Date,Time,Google,Gadgets</keywords>
</portlet-info>
</portlet>
"jp.sf.pal.googlegadgets.title" is Portlet's title. "jp.sf.pal.googlegadgets.code" is a code of Gadget. "jp.sf.pal.googlegadgets.gadgetUrl" is an URL to modify the gadget code.
If you create an interesting Gadget entry, please send it to me :)
0 Comments:
Post a Comment
<< Home