Plugin socialnetworking

Version: Not specified

Features detail

socialnetworking/xhtmlserializer-xhtml

Extensions:

org.ametys.plugins.socialnetworking.XHTMLSerializerExtensionPoint.google

Extension point extended:
org.ametys.core.cocoon.XHTMLSerializerExtensionPoint

Configuration:

<extension id="org.ametys.plugins.socialnetworking.XHTMLSerializerExtensionPoint.google" point="org.ametys.core.cocoon.XHTMLSerializerExtensionPoint">
<namespace-allowed>http://base.google.com/ns/1.0</namespace-allowed>
</extension>

socialnetworking/TwitterIntegration

Extensions:

org.ametys.plugins.socialnetworking.service.twitter.rights

Extension point extended:
org.ametys.core.right.RightsExtensionPoint

Configuration:

<extension point="org.ametys.core.right.RightsExtensionPoint" id="org.ametys.plugins.socialnetworking.service.twitter.rights">
<right id="SocialNetworking_Right_Service_Twitter">
<label i18n="true">PLUGINS_SOCIAL_NETWORKING_RIGHT_SERVICE_TWITTER_LABEL</label>
<description i18n="true">PLUGINS_SOCIAL_NETWORKING_RIGHT_SERVICE_TWITTER_DESCRIPTION</description>
<category i18n="true">plugin.web:PLUGINS_WEB_RIGHTS_SERVICE_CREATE_CATEGORY</category>
</right>
</extension>

org.ametys.plugins.socialnetworking.twitter.showtweets

Associated java class:
org.ametys.web.service.StaticService

Extension point extended:
org.ametys.web.service.ServiceExtensionPoint

Configuration:

<extension point="org.ametys.web.service.ServiceExtensionPoint" class="org.ametys.web.service.StaticService" id="org.ametys.plugins.socialnetworking.twitter.showtweets">
<url>twitter/show-tweets.html</url>
<cacheable>true</cacheable>
<right>SocialNetworking_Right_Service_Twitter</right>
<label i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_LABEL</label>
<description i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_DESCRIPTION</description>
<category i18n="true">plugin.web:PLUGINS_WEB_SERVICE_CATEGORY_20_CONTENT_EXTERNAL</category>
<thumbnail>
<glyph>ametysicon-twitter-logo</glyph>
<small>img/twitter/twitter_16.png</small>
<medium>img/twitter/twitter_32.png</medium>
<large>img/twitter/twitter_48.png</large>
</thumbnail>
<parameters>
<parameter name="header" type="string">
<label i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_HEADER_LABEL</label>
<description i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_HEADER_DESCRIPTION</description>
</parameter>
<parameter name="usersnames" type="string">
<label i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_USERS_NAMES_LABEL</label>
<description i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_USERS_NAMES_DESCRIPTION</description>
<validation>
<mandatory/>
</validation>
</parameter>
<parameter name="max" type="long">
<label i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_MAX_LABEL</label>
<description i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_MAX_DESCRIPTION</description>
<default-value>5</default-value>
<validation>
<mandatory/>
</validation>
</parameter>
<parameter name="xslt" type="string">
<label i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_XSLT_LABEL</label>
<description i18n="true">PLUGINS_SOCIAL_NETWORKING_TWITTER_XSLT_DESC</description>
<default-value>pages/services/twitter/show-tweets_1.2.xsl</default-value>
<validation>
<mandatory/>
</validation>
<widget>edition.combobox</widget>
<enumeration>
<custom-enumerator class="org.ametys.web.service.ServiceXSLTEnumerator">
<path>pages/services/twitter</path>
<values>
<value>pages/services/twitter/show-tweets.xsl</value>
</values>
</custom-enumerator>
</enumeration>
</parameter>
</parameters>
<indexation>
<parameter>header</parameter>
</indexation>
<css>
<file plugin="core-ui">font/ametys/AmetysIcon.css</file>
</css>
</extension>

socialnetworking/twitter.service.cache.policy

Extensions:

org.ametys.plugins.socialnetworking.twitter.showtweetsCachePolicy

Associated java class:
org.ametys.web.cache.service.IsolatedServiceCachePolicy

Extension point extended:
org.ametys.web.cache.pageelement.PageElementCachePolicyExtensionPoint/zoneItem

Configuration:

<extension point="org.ametys.web.cache.pageelement.PageElementCachePolicyExtensionPoint/zoneItem" id="org.ametys.plugins.socialnetworking.twitter.showtweetsCachePolicy" class="org.ametys.web.cache.service.IsolatedServiceCachePolicy">
<service id="org.ametys.plugins.socialnetworking.twitter.showtweets"/>
</extension>