<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<registry>
    <portlet-entry name="XSL" hidden="false" type="abstract" application="false">
        <classname>org.apache.jetspeed.portal.portlets.XSLPortlet</classname>
    </portlet-entry>
    <portlet-entry name="RSS" hidden="false" type="abstract" application="false">
        <meta-info>
            <title>RSS-Default-Title</title>
            <description>RSS-Default-Description</description>
        </meta-info>

        <classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
        <parameter name="stylesheet" value="/WEB-INF/xsl/rss.xsl" hidden="false">
            <security role="admin"/>
        </parameter>
        <parameter name="stylesheet.text/html" value="/WEB-INF/xsl/rss.xsl" hidden="false">
            <security role="admin"/>
        </parameter>
        <parameter name="stylesheet.text/vnd.wap.wml" value="/WEB-INF/xsl/rss-wml.xsl" hidden="false">
            <security role="admin"/>
        </parameter>
        <parameter name="itemdisplayed" value="15" hidden="false">
            <meta-info>
                <title>Number of items</title>
                <description>This parameter controls how many items may
                    be shown in this            portlet. If the
                    information channel has more items, only the first
                    will           be displayed.         </description>
            </meta-info>
        </parameter>
        <parameter name="openinpopup" value="false" type="boolean" hidden="false">
            <meta-info>
                <title>Open links in Popup window</title>
                <description>Links will be opened in a new browser window.</description>
            </meta-info>
        </parameter>
        <parameter name="showdescription" value="true" type="boolean" hidden="false">
            <meta-info>
                <title>Show item description ?</title>
                <description>           This parameter specify whether
                    the item descriptions and icons should be
                    displayed in this portlet, or only the headlines.         </description>
            </meta-info>
        </parameter>
        <parameter name="showtitle" value="true" type="boolean" hidden="false">
            <meta-info>
                <title>Show title description ?</title>
                <description>           This parameter specify whether
                    the title description and icon should be
                    displayed in this portlet, or only the title.         </description>
            </meta-info>
        </parameter>
        <parameter name="showtextinput" value="true" type="boolean" hidden="false">
            <meta-info>
                <title>Show Text Input?</title>
                <description>           This parameter specify whether
                    the text input will be displayed.             Text
                    Input is an optional element in the RSS feed.         </description>
            </meta-info>
        </parameter>
        <category>news.feeds</category>
        <category group="base">xml.rss</category>
        <media-type ref="html"/>
    </portlet-entry>

    <portlet-entry name="XMLHack" hidden="true" type="ref" parent="RSS" application="false">
        <meta-info>
            <title>XMLHack Title</title>
            <description>XMLHack Description</description>
        </meta-info>
        <classname/>
        <url cachedOnURL="true">http://www.xmlhack.com/rss.php</url>
        <parameter name="HACK" value="hacker"/>
    </portlet-entry>

<!--
    <portlet-entry name="Feeder" hidden="true" type="ref" parent="RSS" application="false">
        <url cachedOnURL="true">http://www.feeder-site.com/feed.rss</url>
        <category group="news">news.world.politics</category>
        <category group="news">news.world.wars</category>
    </portlet-entry>

    <portlet-entry name="AdminScreen" hidden="false" type="instance" application="false">
        <meta-info>
            <title>Turbine Screen in a portlet</title>
            <description>We put the Admin Screen in a portlet.</description>
        </meta-info>
        <classname>org.apache.jetspeed.portal.portlets.TurbineScreenPortlet</classname>
        <parameter name="display.screen" value="Admin" hidden="false"/>
        <parameter name="bgcolor" value="gray" hidden="false"/>
        <media-type ref="html"/>
    </portlet-entry>

    <portlet-entry name="MetaTest" hidden="false" type="ref" parent="AdminScreen" application="false">
        <media-type ref="wml"/>
        <media-type ref="xml"/>
    </portlet-entry>

    <portlet-entry name="NoMediaType" hidden="false" type="ref" parent="AdminScreen" application="false"/>

    <portlet-entry name="KeyTest" hidden="true" type="ref" parent="RSS" application="false">
        <url cachedOnURL="false">http://www.newnews.com/</url>
        <parameter cachedOnName="false" cachedOnValue="true" name="newsid" value="99" hidden="false"/>
        <parameter cachedOnName="true" cachedOnValue="false" name="sportsid" value="100" hidden="false"/>
        <parameter  cachedOnName="false" cachedOnValue="false" name="contact" value="Joe" hidden="false"/>
        <parameter  name="contact2" value="Jon" hidden="false"/>

    </portlet-entry>
-->
</registry>
