Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/images/rss-icon.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk\packages\ezwebin_extension\ezextension\ezwebin\design\ezwebin\images\rss-icon.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/images/websitetoolbar/ezwt-icon-remove-rss.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk\packages\ezwebin_extension\ezextension\ezwebin\design\ezwebin\images\websitetoolbar\ezwt-icon-remove-rss.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/images/websitetoolbar/ezwt-icon-rss.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk\packages\ezwebin_extension\ezextension\ezwebin\design\ezwebin\images\websitetoolbar\ezwt-icon-rss.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/override/templates/full/folder.tpl
===================================================================
--- trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/override/templates/full/folder.tpl	(revision 4281)
+++ trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/override/templates/full/folder.tpl	(working copy)
@@ -1,4 +1,5 @@
 {* Folder - Full view *}
+{def $rss_export = fetch( 'rss', 'export_by_node', hash( 'node_id', $node.node_id ) )}
 
 <div class="border-box">
 <div class="border-tl"><div class="border-tr"><div class="border-tc"></div></div></div>
@@ -7,10 +8,16 @@
 <div class="content-view-full">
     <div class="class-folder">
 
+        {if $rss_export}
+        <div class="attribute-rss-icon">
+            <a href="{concat( '/rss/feed/', $rss_export.access_url )|ezurl( 'no' )}" title="{$rss_export.title|wash()}"><img src="{'rss-icon.gif'|ezimage( 'no' )}" alt="{$rss_export.title|wash()}" /></a>
+        </div>
+        {/if}
+
         <div class="attribute-header">
             <h1>{attribute_view_gui attribute=$node.data_map.name}</h1>
         </div>
-        
+
         {if eq( ezini( 'folder', 'SummaryInFullView', 'content.ini' ), 'enabled' )}
             {if $node.object.data_map.short_description.has_content}
                 <div class="attribute-short">
Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/stylesheets/content.css
===================================================================
--- trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/stylesheets/content.css	(revision 4281)
+++ trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/stylesheets/content.css	(working copy)
@@ -636,6 +636,13 @@
     background-image: url('../images/icons/rss_icon.gif');
 }
 
+/* Stand alone RSS ICON */
+div.attribute-rss-icon
+{
+    float: right;
+}
+
+
 /* BROWSE */
 
 div.context-toolbar div.block div.right
Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/parts/websitetoolbar/rss.tpl
===================================================================
--- trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/parts/websitetoolbar/rss.tpl	(revision 0)
+++ trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/parts/websitetoolbar/rss.tpl	(revision 0)
@@ -0,0 +1,10 @@
+{if is_set( ezini( 'RSSSettings', 'DefaultFeedItemClasses', 'site.ini' )[ $content_object.class_identifier ] )}
+    {def $create_rss_access = fetch( 'user', 'has_access_to', hash( 'module', 'rss', 'function', 'edit' ) )}
+    {if $create_rss_access}
+        {if fetch( 'rss', 'has_export_by_node', hash( 'node_id', $current_node.node_id ) )}
+            <input type="image" src={"websitetoolbar/ezwt-icon-remove-rss.gif"|ezimage} name="DisableNodeFeed" title="{'Disable RSS feed'|i18n( 'design/ezwebin/parts/website_toolbar' )}" />
+        {else}
+            <input type="image" src={"websitetoolbar/ezwt-icon-rss.gif"|ezimage} name="EnableNodeFeed" title="{'Setup RSS feed'|i18n( 'design/ezwebin/parts/website_toolbar' )}" />
+        {/if}
+    {/if}
+{/if}

Property changes on: trunk\packages\ezwebin_extension\ezextension\ezwebin\design\ezwebin\templates\parts\websitetoolbar\rss.tpl
___________________________________________________________________
Added: svn:eol-style
   + native

Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/rss/edit_export.tpl
===================================================================
--- trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/rss/edit_export.tpl	(revision 0)
+++ trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/rss/edit_export.tpl	(revision 0)
@@ -0,0 +1,203 @@
+<div class="border-box">
+<div class="border-tl"><div class="border-tr"><div class="border-tc"></div></div></div>
+<div class="border-ml"><div class="border-mr"><div class="border-mc float-break">
+
+<form action={"rss/edit_export"|ezurl} method="post" name="RSSExport">
+
+<div class="attribute-header">
+<h1>{'Edit <%rss_export_name> [RSS Export]'|i18n( 'design/ezwebin/rss/edit_export',, hash( '%rss_export_name', $rss_export.title ) )|wash}</h1>
+</div>
+
+    {section show=not($valid)}
+        <div class="warning">
+            <h2>{'Invalid input'|i18n( 'design/ezwebin/rss/edit_export' )}</h2>
+            <ul>
+{section var=Errors loop=$validation_errors}
+             <li>{$Errors.item}</li>
+{/section}
+{*                <li>{'If RSS Export is Active then a valid Access URL is required.'|i18n( 'design/ezwebin/rss/edit_export' )}</li>*}
+            </ul>
+        </div>
+    {/section}
+
+    <div class="block">
+    <label>{'Name'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+    <input class="halfbox" id="exportName" type="text" name="title" value="{$rss_export.title|wash}" title="{'Name of the RSS export. This name is used in the Administration Interface only, to distinguish the different exports from each other.'|i18n('design/ezwebin/rss/edit_export')}" />
+    </div>
+
+    <div class="block">
+    <label>{'Description'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+    <textarea class="halfbox" name="Description" rows="3" title="{'Use the description field to write a text explaining what users can expect from the RSS export.'|i18n('design/ezwebin/rss/edit_export')}">{$rss_export.description|wash}</textarea>
+    </div>
+
+    <div class="block">
+    <label>{'Site URL'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+    <input class="halfbox" type="text" name="url" value="{$rss_export.url|wash}"/>
+    <div class="context-attributes">
+        <p>{'Use this field to enter the base URL of your site. It is used to produce the URLs in the export, composed by the Site URL (e.g. "http://www.example.com/index.php") and the path to the object (e.g. "/articles/my_article"). The Site URL depends on your web server and eZ Publish configuration.'|i18n( 'design/ezwebin/rss/edit_export')}</p>
+        <p>{'Leave this field emty if you want system automaticaly detect the URL of your site from the URL you access feed with'|i18n( 'design/ezwebin/rss/edit_export')}</p>
+    </div>
+    </div>
+
+    <input type="hidden" name="RSSImageID" value="{$rss_export.image_id}" />
+
+    <div class="block">
+    <label>{'Image'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+    <input type="text" readonly="readonly" size="45" value="{$rss_export.image_path|wash}" />
+    <input class="button" type="submit" name="BrowseImageButton" value="{'Browse'|i18n( 'design/ezwebin/rss/edit_export' )}" title="{'Click this button to select an image for the RSS export. Note that images only work with RSS version 2.0'|i18n('design/ezwebin/rss/edit_export')}" />
+    </div>
+    {section name=RemoveImage show=eq( $rss_export.image_id, 0 )|not }
+      <div class="block">
+        <input class="button" type="submit" name="RemoveImageButton" value="{'Remove image'|i18n( 'design/ezwebin/rss/edit_export' )}" title="{'Click to remove image from RSS export.'|i18n('design/ezwebin/rss/edit_export')}" />
+      </div>
+    {/section}
+
+    <div class="block">
+    <label>{'RSS version'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+    <select name="RSSVersion" title="{'Use this drop-down menu to select the RSS version to use for the export. You must select RSS 2.0 in order to export the image selected above.'|i18n('design/ezwebin/rss/edit_export')}">
+    {section name=Version loop=$rss_version_array}
+    <option
+    {section name=DefaultSet show=eq( $rss_export.rss_version, 0 )}
+      {section name=Default show=eq( $Version:item, $rss_version_default )}
+        selected="selected"
+      {/section}
+    {section-else}
+      {section name=Default2 show=eq( $Version:item, $rss_export.rss_version )}
+        selected="selected"
+      {/section}
+    {/section}
+      value="{$:item}">{$:item|wash}
+    </option>
+    {/section}
+    </select>
+    </div>
+
+    <div class="block">
+    <label>{'Number of objects'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+    <select name="NumberOfObjects" title="{'Use this drop-down to select the maximum number of objects included in the RSS feed.'|i18n('design/ezwebin/rss/edit_export')}">
+    {section name=Number loop=$number_of_objects_array}
+    <option
+    {section name=DefaultSet show=eq( $rss_export.number_of_objects, 0 )}
+      {section name=Default show=eq( $Number:item, $number_of_objects_default )}
+        selected="selected"
+      {/section}
+    {section-else}
+      {section name=Default2 show=eq( $Number:item, $rss_export.number_of_objects )}
+        selected="selected"
+      {/section}
+    {/section}
+      value="{$:item}">{$:item|wash}
+    </option>
+    {/section}
+    </select>
+    </div>
+
+    <div class="block">
+    <label>{'Active'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+    <input type="checkbox" name="active" {section show=$rss_export.active|eq( 1 )}checked="checked"{/section} title="{'Use this checkbox to control if the RSS export is active or not. An inactive export will not be automatically updated.'|i18n('design/ezwebin/rss/edit_export')}"/>
+    </div>
+
+    <div class="block">
+    <label>{'Main node only'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+    <input type="checkbox" name="MainNodeOnly" {section show=$rss_export.main_node_only|eq( 1 )}checked="checked"{/section} title="{'Check if you want to only feed the object from the main node.'|i18n('design/ezwebin/rss/edit_export')}"/>
+    </div>
+
+    <div class="block">
+    <label>{'Access URL'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+    rss/feed/<input class="halfbox" type="text" name="Access_URL" value="{$rss_export.access_url|wash}" title="{'Use this field to set the URL where the RSS export should be available. Note that "rss/feed/" will be appended to the real URL. '|i18n('design/ezwebin/rss/edit_export')|wash}" />
+    </div>
+
+
+    <input type="hidden" name="RSSExport_ID" value={$rss_export.id} />
+    <input type="hidden" name="Item_Count" value={count($rss_export.item_list)} />
+
+<hr />
+
+    {section name=Source loop=$rss_export.item_list}
+
+
+       <h2>{'Source'|i18n( 'design/ezwebin/rss/edit_export' )} {sum($Source:index, 1)}</h2>
+
+       <input type="hidden" name="Item_ID_{$Source:index}" value="{$Source:item.id}" />
+       <div class="block">
+       <label>{'Source path'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+       <input type="text" readonly="readonly" size="45" value="{$Source:item.source_path|wash}" />
+       <input class="button" type="submit" name="{concat( 'SourceBrowse_', $Source:index )}" value="{'Browse'|i18n( 'design/ezwebin/rss/edit_export' )}" title="{'Click this button to select the source node for the RSS export source. Objects of the type selected in the drop-down below published as sub items of the selected node will be included in the RSS export.'|i18n('design/ezwebin/rss/edit_export')}" />
+       </div>
+       
+        <div class="block">
+        <label>{'Subnodes'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+        <input type="checkbox" name="Item_Subnodes_{$Source:index}" {section show=$Source:item.subnodes|wash|eq( 1 )}checked="checked"{/section} title="{'Activate this checkbox if objects from the subnodes of the source should also be fed.'|i18n('design/ezwebin/rss/edit_export')}"/>
+        </div>
+    
+       <div class="block">
+       <label>{'Class'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+       <select name="Item_Class_{$Source:index}" title="{'Use this drop-down to select the type of object that triggers the export. Click the "Set" button to load the correct attribute types for the remaining fields.'|i18n('design/ezwebin/rss/edit_export')|wash}">
+       {section name=ContentClass loop=$rss_class_array }
+       <option
+       {section name=Class show=eq( $:item.id, $Source:item.class_id )}
+         selected="selected"
+       {/section} value="{$:item.id}">{$:item.name|wash}</option>
+       {/section}
+       </select>
+       <input class="button" type="submit" name="Update_Item_Class" value="{'Set'|i18n( 'design/ezwebin/rss/edit_export' )}" title="{'Click this button to load the correct values into the drop-down fields below. Use the drop-down menu on the left to select the class.'|i18n('design/ezwebin/rss/edit_export')}" />
+       </div>
+
+       {section name=Attribute show=count( $rss_export.item_list[$Source:index] )|gt( 0 )}
+
+         <div class="block">
+         <label>{'Title'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+         <select name="Item_Class_Attribute_Title_{$Source:index}" title="{'Use this drop-down to select the attribute that should be exported as the title of the RSS export entry.'|i18n('design/ezwebin/rss/edit_export')}">
+         {section name=ClassAttribute loop=$rss_export.item_list[$Source:index].class_attributes}
+         <option value="{$:item.identifier}"
+             {section name=ShowSelected show=eq( $Source:item.title, $:item.identifier )}
+                 selected="selected"
+             {/section}>{$:item.name|wash}</option>
+         {/section}
+         </select>
+       </div>
+
+       <div class="block">
+         <label>{'Description'|i18n( 'design/ezwebin/rss/edit_export' )}:</label>
+         <select name="Item_Class_Attribute_Description_{$Source:index}" title="{'Use this drop-down to select the attribute that should be exported as the description of the RSS export entry.'|i18n('design/ezwebin/rss/edit_export')}" >
+         {section name=ClassAttribute loop=$rss_export.item_list[$Source:index].class_attributes}
+         <option value="{$:item.identifier|wash}"
+             {section name=ShowSelected show=eq( $Source:item.description, $:item.identifier )}
+                 selected="selected"
+             {/section}>{$:item.name|wash}</option>
+         {/section}
+         </select>
+       </div>
+       {/section}
+
+       <input class="button" type="submit" name="{concat( 'RemoveSource_', $Source:index )}" value="{'Remove this source'|i18n( 'design/ezwebin/rss/edit_export' )}" title="{'Click to remove this source from the RSS export.'|i18n('design/ezwebin/rss/edit_export')}" />
+<hr />
+    {/section}
+
+    <input class="button" type="submit" name="AddSourceButton" value="{'Add source'|i18n( 'design/ezwebin/rss/edit_export' )}" title="{'Click to add a new source to the RSS export.'|i18n('design/ezwebin/rss/edit_export')}" />
+
+    <div class="controlbar">
+    <div class="block">
+        <input class="button" type="submit" name="StoreButton" value="{'OK'|i18n( 'design/ezwebin/rss/edit_export' )}" title="{'Apply the changes and return to the RSS overview.'|i18n('design/ezwebin/rss/edit_export')}" />
+        <input class="button" type="submit" name="RemoveButton" value="{'Cancel'|i18n( 'design/ezwebin/rss/edit_export' )}" title="{'Cancel the changes and return to the RSS overview.'|i18n('design/ezwebin/rss/edit_export')}" />
+    </div>
+
+    </div>
+
+</form>
+
+{literal}
+<script language="JavaScript" type="text/javascript">
+<!--
+    window.onload=function()
+    {
+        document.getElementById('exportName').select();
+        document.getElementById('exportName').focus();
+    }
+-->
+</script>
+{/literal}
+
+</div></div></div>
+<div class="border-bl"><div class="border-br"><div class="border-bc"></div></div></div>
+</div>
\ No newline at end of file

Property changes on: trunk\packages\ezwebin_extension\ezextension\ezwebin\design\ezwebin\templates\rss\edit_export.tpl
___________________________________________________________________
Added: svn:eol-style
   + native

Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/rss/edit_import.tpl
===================================================================
--- trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/rss/edit_import.tpl	(revision 0)
+++ trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/rss/edit_import.tpl	(revision 0)
@@ -0,0 +1,129 @@
+<div class="border-box">
+<div class="border-tl"><div class="border-tr"><div class="border-tc"></div></div></div>
+<div class="border-ml"><div class="border-mr"><div class="border-mc float-break">
+
+<form action={"rss/edit_import"|ezurl} method="post" name="RSSImport">
+
+<h2>{'Edit <%rss_import_name> [RSS Import]'|i18n( 'design/ezwebin/rss/edit_import',, hash( '%rss_import_name', $rss_import.name ) )|wash}</h2>
+
+    {* Title. *}
+    <div class="block">
+        <label>{"Name"|i18n( 'design/ezwebin/rss/edit_import' )}:</label>
+        <input class="halfbox" id="importName" type="text" name="name" value="{$rss_import.name|wash}" title="{'Name of the RSS import. This name is used in the Administration Interface only, to distinguish the different imports from each other.'|i18n('design/ezwebin/rss/edit_import')}" />
+    </div>
+
+    {* URL. *}
+    <div class="block">
+    <label>{"Source URL"|i18n( 'design/ezwebin/rss/edit_import' )}:</label>
+    <input class="halfbox" type="text" name="url" value="{$rss_import.url|wash}" title="{'Use this field to enter the source URL of the RSS feed to import.'|i18n('design/ezwebin/rss/edit_import')}" />
+    <input class="button" type="submit" name="AnalyzeFeedButton" value="{'Update'|i18n( 'design/ezwebin/rss/edit_import' )}" title="{'Click this button to proceed and analyze the import feed.'|i18n('design/ezwebin/rss/edit_import')}" />
+    </div>
+    {if and( is_set( $rss_import.import_description_array.rss_version ), $rss_import.import_description_array.rss_version )}
+    <label>{"RSS Version"|i18n( 'design/ezwebin/rss/edit_import' )}:</label>
+    {$rss_import.import_description_array.rss_version|wash}
+    {/if}
+
+    {* Destination path. *}
+    <div class="block">
+    <label>{"Destination path"|i18n( 'design/ezwebin/rss/edit_import' )}:</label>
+    <input type="text" readonly="readonly" size="45" value="{$rss_import.destination_path|wash}" />
+    <input class="button" type="submit" name="DestinationBrowse" value="{'Browse'|i18n( 'design/ezwebin/rss/edit_import' )}" title="{'Click this button to select the destination node where objects created by the import are located.'|i18n('design/ezwebin/rss/edit_import')}" />
+    </div>
+
+    {if and( is_set( $rss_import.import_description_array.rss_version ), $rss_import.import_description_array.rss_version )}
+
+    {* Imported objects owner. *}
+    <div class="block">
+    <label>{"Imported objects will be owned by"|i18n( 'design/ezwebin/rss/edit_import' )}:</label>
+    <p>{$rss_import.object_owner.contentobject.name|wash}</p>
+    <input class="button" type="submit" name="UserBrowse" value="{'Change user'|i18n( 'design/ezwebin/rss/edit_import' )}" title="{'Click this button to select the user who should own the objects created by the import.'|i18n('design/ezwebin/rss/edit_import')}" />
+    </div>
+
+    {* Class. *}
+    <div class="block">
+    <label>{"Class"|i18n( 'design/ezwebin/rss/edit_import' )}:</label>
+    <select name="Class_ID" title="{'Use this drop-down to select the type of object the import should create. Click the "Set" button to load the attribute types for the remaining fields.'|i18n('design/ezwebin/rss/edit_import')|wash}">
+    {section name=ContentClass loop=$rss_class_array }
+    <option
+      {section name=Class show=eq($:item.id,$rss_import.class_id)}
+        selected="selected"
+      {/section} value="{$:item.id}">{$:item.name|wash}
+    </option>
+    {/section}
+    </select>
+    <input class="button" type="submit" name="Update_Class" value="{'Set'|i18n( 'design/ezwebin/rss/edit_import' )}" title="{'Click this button to load the correct values into the drop-down fields below. Use the drop-down menu on the left to select the class.'|i18n('design/ezwebin/rss/edit_import')}" />
+    </div>
+
+    {if $rss_import.class_id|gt(0)}
+    {def $import_description_array = $rss_import.import_description_array}
+    {def $field_map = $rss_import.field_map}
+    {* Class attributes *}
+    <fieldset>
+    <legend>{'Class attributes'|i18n( 'design/ezwebin/rss/edit_import' )}</legend>
+    {foreach $rss_import.class_attributes as $class_attribute}
+        <div class="block">
+        <label>{$class_attribute.name|wash}:</label>
+            <select name="Class_Attribute_{$class_attribute.id}" title="{'Use this drop-down menu to select the attribute that should bet set as information from the RSS stream.'|i18n('design/ezwebin/rss/edit_import')}">
+            <option value="-1">{"Ignore"|i18n( 'design/ezwebin/rss/edit_import' )}</option>
+            {foreach $field_map as $key => $value}
+                <option value="{$key|wash}" {cond( and( is_set( $import_description_array.class_attributes[$class_attribute.id] ), $import_description_array.class_attributes[$class_attribute.id]|eq($key) ), 'selected="selected"', '' )}>
+                {$value|wash}
+                </option>
+            {/foreach}
+            </select>
+        </div>
+    {/foreach}
+    </fieldset>
+
+    {* Object Attributes *}
+    <fieldset>
+    <legend>{'Object attributes'|i18n( 'design/ezwebin/rss/edit_import' )}</legend>
+    {foreach $rss_import.object_attribute_list as $key => $object_attribute}
+        <div class="block">
+        <label>{$object_attribute|wash}:</label>
+            <select name="Object_Attribute_{$key|wash}" title="{'Use this drop-down menu to select the attribute that should bet set as information from the RSS stream.'|i18n('design/ezwebin/rss/edit_import')}">
+            <option value="-1">{"Ignore"|i18n( 'design/ezwebin/rss/edit_import' )}</option>
+            {foreach $field_map as $key2 => $value}
+                <option value="{$key2|wash}" {cond( and( is_set( $import_description_array.object_attributes[$key] ), $import_description_array.object_attributes[$key]|eq($key2) ), 'selected="selected"', '' )}>
+                {$value|wash}
+                </option>
+            {/foreach}
+            </select>
+        </div>
+    {/foreach}
+    </fieldset>
+
+    {* Active. *}
+    <div class="block">
+    <label>{"Active"|i18n( 'design/ezwebin/rss/edit_import' )}:</label>
+    <input type="checkbox" name="active" {section show=$rss_import.active|eq(1)}checked="checked"{/section} title="{'Use this checkbox to control if the RSS feed is active or not. An inactive feed will not be automatically updated.'|i18n('design/ezwebin/rss/edit_import')}" />
+    </div>
+    {/if}
+
+    {/if} {* Step end RSS *}
+
+
+    {* Buttons. *}
+    <div class="controlbar">
+    <div class="block">
+    <input type="hidden" name="RSSImport_ID" value={$rss_import.id} />
+    <input class="button" type="submit" name="StoreButton" value="{'OK'|i18n( 'design/ezwebin/rss/edit_import' )}" title="{'Apply the changes and return to the RSS overview.'|i18n('design/ezwebin/rss/edit_import')}" />
+    <input class="button" type="submit" name="RemoveButton" value="{'Cancel'|i18n( 'design/ezwebin/rss/edit_import' )}" title="{'Cancel the changes and return to the RSS overview.'|i18n('design/ezwebin/rss/edit_import')}" />
+    </div>
+    </div>
+</form>
+
+{literal}
+<script language="JavaScript" type="text/javascript">
+<!--
+    window.onload=function()
+    {
+        document.getElementById('importName').select();
+        document.getElementById('importName').focus();
+    }
+-->
+</script>
+{/literal}
+</div></div></div>
+<div class="border-bl"><div class="border-br"><div class="border-bc"></div></div></div>
+</div>
\ No newline at end of file

Property changes on: trunk\packages\ezwebin_extension\ezextension\ezwebin\design\ezwebin\templates\rss\edit_import.tpl
___________________________________________________________________
Added: svn:eol-style
   + native

Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/rss/list.tpl
===================================================================
--- trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/rss/list.tpl	(revision 0)
+++ trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/templates/rss/list.tpl	(revision 0)
@@ -0,0 +1,116 @@
+<div class="border-box">
+<div class="border-tl"><div class="border-tr"><div class="border-tc"></div></div></div>
+<div class="border-ml"><div class="border-mr"><div class="border-mc float-break">
+
+{* Export window. *}
+<form name="rssexportslist" method="post" action={'rss/list'|ezurl}>
+
+<h2>{'RSS exports [%exports_count]'|i18n( 'design/ezwebin/rss/list',, hash( '%exports_count', $rssexport_list|count ) )}</h2>
+
+{section show=$rssexport_list}
+<table class="list" cellspacing="0">
+<tr>
+    <th class="tight"><img src={'toggle-button-16x16.gif'|ezimage} alt="{'Invert selection'|i18n( 'design/ezwebin/rss/list' )}" onclick="ezjs_toggleCheckboxes( document.rssexportslist, 'DeleteIDArray[]' ); return false;" title="{'Invert selection.'|i18n( 'design/ezwebin/rss/list' )}" /></th>
+    <th>{'Name'|i18n( 'design/ezwebin/rss/list' )}</th>
+    <th>{'Version'|i18n( 'design/ezwebin/rss/list' )}</th>
+    <th>{'Status'|i18n( 'design/ezwebin/rss/list' )}</th>
+    <th>{'Modifier'|i18n( 'design/ezwebin/rss/list' )}</th>
+    <th>{'Modified'|i18n( 'design/ezwebin/rss/list' )}</th>
+    <th class="tight">&nbsp;</th>
+</tr>
+{section var=RSSExports loop=$rssexport_list sequence=array( bglight, bgdark )}
+<tr class="{$RSSExports.sequence}">
+
+    {* Remove. *}
+    <td><input type="checkbox" name="DeleteIDArray[]" value="{$RSSExports.item.id}" title="{'Select RSS export for removal.'|i18n( 'design/ezwebin/rss/list' )}" /></td>
+
+    {* Name. *}
+    <td>{section show=$RSSExports.item.active|eq( 1 )} <a href={concat( 'rss/feed/', $RSSExports.item.access_url )|ezurl}>{$RSSExports.item.title|wash}</a>{section-else}{$RSSExports.item.title|wash}{/section}</td>
+
+    {* Version. *}
+    <td>{$RSSExports.item.rss_version|wash}</td>
+
+    {* Status. *}
+    <td>{section show=$RSSExports.item.active|eq( 1 )}{'Active'|i18n( 'design/ezwebin/rss/list' )}{section-else}{'Inactive'|i18n( 'design/ezwebin/rss/list' )}{/section}</td>
+
+    {* Modifier. *}
+    <td><a href={$RSSExports.item.modifier.contentobject.main_node.url_alias|ezurl}>{$RSSExports.item.modifier.contentobject.name|wash}</a></td>
+
+    {* Modified. *}
+    <td>{$RSSExports.item.modified|l10n( shortdatetime )}</td>
+
+    {* Edit. *}
+    <td><a href={concat( 'rss/edit_export/', $RSSExports.item.id )|ezurl}><img class="button" src={'edit.gif'|ezimage} width="16" height="16" alt="{'Edit'|i18n( 'design/ezwebin/rss/list' )}" title="{'Edit the <%name> RSS export.'|i18n('design/ezwebin/rss/list',, hash( '%name', $RSSExports.item.title) )|wash}" /></a></td>
+
+</tr>
+{/section}
+</table>
+{section-else}
+<div class="block">
+    <p>{'The RSS export list is empty.'|i18n( 'design/ezwebin/rss/list' )}</p>
+</div>
+{/section}
+
+<div class="block">
+    <input type="submit" name="RemoveExportButton" value="{'Remove selected'|i18n( 'design/ezwebin/rss/list' )}" title="{'Remove selected RSS exports.'|i18n( 'design/ezwebin/rss/list' ) }" {section show=$rssexport_list|not}class="button-disabled" disabled="disabled"{section-else}class="button"{/section}
+/>
+    <input class="button" type="submit" name="NewExportButton" value="{'New export'|i18n( 'design/ezwebin/rss/list' )}" title="{'Create a new RSS export.'|i18n( 'design/ezwebin/rss/list' )}" />
+</div>
+
+</form>
+
+{* Import window. *}
+<form name="rssimportslist" method="post" action={'rss/list'|ezurl}>
+
+<h2>{'RSS imports [%imports_count]'|i18n( 'design/ezwebin/rss/list',, hash( '%imports_count', $rssimport_list|count ) )}</h2>
+
+{section show=$rssimport_list}
+<table class="list" cellspacing="0">
+<tr>
+    <th class="tight"><img src={'toggle-button-16x16.gif'|ezimage} alt="{'Invert selection'|i18n( 'design/ezwebin/rss/list' )}" onclick="ezjs_toggleCheckboxes( document.rssimportslist, 'DeleteIDArrayImport[]' ); return false;" title="{'Invert selection.'|i18n( 'design/ezwebin/rss/list' )}" /></th>
+    <th>{'Name'|i18n( 'design/ezwebin/rss/list' )}</th>
+    <th>{'Status'|i18n( 'design/ezwebin/rss/list' )}</th>
+    <th>{'Modifier'|i18n( 'design/ezwebin/rss/list' )}</th>
+    <th>{'Modified'|i18n( 'design/ezwebin/rss/list' )}</th>
+    <th class="tight">&nbsp;</th>
+</tr>
+{section var=RSSImports loop=$rssimport_list sequence=array( bglight, bgdark )}
+<tr class="{$RSSImports.sequence}">
+
+    {* Remove. *}
+    <td><input type="checkbox" name="DeleteIDArrayImport[]" value="{$RSSImports.item.id}" title="{'Select RSS import for removal.'|i18n( 'design/ezwebin/rss/list' )}" /></td>
+
+    {* Name. *}
+    <td>{$RSSImports.item.name|wash}</td>
+
+    {* Status. *}
+    <td>{section show=$RSSImports.item.active|eq(1)}{'Active'|i18n( 'design/ezwebin/rss/list' )}{section-else}{'Inactive'|i18n( 'design/ezwebin/rss/list' )}{/section}</td>
+
+    {* Modifier. *}
+    <td><a href={$RSSImports.item.modifier.contentobject.main_node.url_alias|ezurl}>{$RSSImports.item.modifier.contentobject.name|wash}</a></td>
+
+    {* Modified. *}
+    <td>{$RSSImports.item.modified|l10n( shortdatetime )}</td>
+
+    {* Edit. *}
+    <td><a href={concat( 'rss/edit_import/', $RSSImports.item.id )|ezurl}><img class="button" src={'edit.gif'|ezimage} width="16" height="16" alt="{'Edit'|i18n( 'design/ezwebin/rss/list' )}" title="{'Edit the <%name> RSS import.'|i18n('design/ezwebin/rss/list',, hash( '%name', $RSSImports.item.name) )|wash }" /></a></td>
+
+</tr>
+{/section}
+</table>
+{section-else}
+<div class="block">
+    <p>{'The RSS import list is empty.'|i18n( 'design/ezwebin/rss/list' )}</p>
+</div>
+{/section}
+
+<div class="block">
+    <input {section show=$rssimport_list|count}class="button"{section-else}class="button-disabled" disabled="disabled"{/section} type="submit" name="RemoveImportButton" value="{'Remove selected'|i18n( 'design/ezwebin/rss/list' )}" title="{'Remove selected RSS imports.'|i18n( 'design/ezwebin/rss/list' ) }" />
+    <input class="button" type="submit" name="NewImportButton" value="{'New import'|i18n( 'design/ezwebin/rss/list' )}" title="{'Create a new RSS import.'|i18n( 'design/ezwebin/rss/list' )}" />
+</div>
+
+</form>
+
+</div></div></div>
+<div class="border-bl"><div class="border-br"><div class="border-bc"></div></div></div>
+</div>
\ No newline at end of file

Property changes on: trunk\packages\ezwebin_extension\ezextension\ezwebin\design\ezwebin\templates\rss\list.tpl
___________________________________________________________________
Added: svn:eol-style
   + native

Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/settings/content.ini.append.php
===================================================================
--- trunk/packages/ezwebin_extension/ezextension/ezwebin/settings/content.ini.append.php	(revision 4281)
+++ trunk/packages/ezwebin_extension/ezextension/ezwebin/settings/content.ini.append.php	(working copy)
@@ -1,4 +1,5 @@
-<?php /*
+<?php /* #?ini charset="utf-8"?
+# eZ publish configuration file for content
 
 [CustomTagSettings]
 AvailableCustomTags[]=separator
Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/settings/site.ini.append.php
===================================================================
--- trunk/packages/ezwebin_extension/ezextension/ezwebin/settings/site.ini.append.php	(revision 4281)
+++ trunk/packages/ezwebin_extension/ezextension/ezwebin/settings/site.ini.append.php	(working copy)
@@ -6,4 +6,12 @@
 [RegionalSettings]
 TranslationExtensions[]=ezwebin
 
+[RSSSettings]
+DefaultFeedItemClasses[folder]=article
+
+[RSSSettings_article]
+FeedObjectAttributeMap[title]=title
+FeedObjectAttributeMap[description]=intro
+FeedObjectAttributeMap[category]=tags
+
 */ ?>
\ No newline at end of file
Index: trunk/packages/ezwebin_extension/ezextension/ezwebin/settings/websitetoolbar.ini.append.php
===================================================================
--- trunk/packages/ezwebin_extension/ezextension/ezwebin/settings/websitetoolbar.ini.append.php	(revision 0)
+++ trunk/packages/ezwebin_extension/ezextension/ezwebin/settings/websitetoolbar.ini.append.php	(revision 0)
@@ -0,0 +1,8 @@
+<?php /*
+
+[CustomTemplateSettings]
+CustomTemplateList[]=rss
+IncludeInView[rss]=full
+
+
+*/ ?>
\ No newline at end of file

Property changes on: trunk\packages\ezwebin_extension\ezextension\ezwebin\settings\websitetoolbar.ini.append.php
___________________________________________________________________
Added: svn:eol-style
   + native

