1 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/master">
3 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
7 <div metal:fill-slot="main" i18n:domain="cmf_default">
8 <div class="Desktop" tal:define="s_tool here/portal_syndication;
9 s_site_allowed s_tool/isSiteSyndicationAllowed;
10 s_here_allowed python:s_tool.isSyndicationAllowed(here);
11 s_allowed python:s_site_allowed and s_here_allowed;
13 <h2 i18n:translate="">Default Syndication Properties</h2>
15 <span i18n:translate="">Syndication is the process by which a site is able to share information out to other sites. When syndication is enabled, this folder items summary will be provided on <strong>RSS</strong> xml format at :</span>
16 <a href="." tal:omit-tag="not:s_allowed"
17 tal:define="rssUrl string:${here/absolute_url}/RSS"
19 tal:attributes="href string:$rssUrl?noajax=1">this folder url/RSS</a>.
21 <div tal:condition="python:s_allowed">
22 <form action="editSynProperties" method="post" tal:attributes="action string:${here/absolute_url}/editSynProperties">
23 <table width="100%" border="0">
25 <th colspan="2" align="left" valign="top" i18n:translate="">Channel Properties</th>
29 <table width="90%" border="1">
34 <td valign="top" height="30" i18n:translate="">
37 <td valign="top" tal:content="here/Title" height="30">
42 <td valign="top" height="30" i18n:translate="">
45 <td valign="top" tal:content="here/Description" height="30">
56 <table width="100%" border="0">
58 <th align="left" valign="top" i18n:translate="">Sy Module Properties</th>
63 <table width="90%" border="1">
68 <th align="left" i18n:translate="">Element</th>
69 <th align="left" i18n:translate="">Default Value</th>
72 <td i18n:translate="">
76 <select name="updatePeriod">
77 <option value="hourly" tal:attributes="value python:item[0];
78 selected python:item[0] == upd" tal:define="upd python:s_tool.getUpdatePeriod(here)" tal:content="python: item[1]" tal:repeat="item s_tool/buildUpdatePeriods" i18n:translate="">Hourly</option>
83 <td i18n:translate="">
87 <input type="text" name="updateFrequency:int" value="" size="3" tal:attributes="value python:s_tool.getUpdateFrequency(here)" />
91 <td i18n:translate="">
95 <input type="text" name="updateBase:date" value="" size="25" tal:attributes="value python:s_tool.getUpdateBase(here)" />
99 <td i18n:translate="">
103 <input type="text" name="max_items:int" value="" size="3" tal:attributes="value python:s_tool.getMaxItems(here)" />
108 <input type="hidden" name="noAjax" value="1" />
109 <input type="submit" name="edit" value="Save" i18n:attributes="value" />
126 <form action="disableSyndication" method="post" tal:attributes="action string:${here/absolute_url}/disableSyndication">
127 <input type="submit" value="Disable Syndication" i18n:attributes="value" /> <input type="hidden" name="isAllowed:int" value="0" /><input type="hidden" name="noAjax" value="1" />
131 <div tal:condition="python:not(s_allowed)">
132 <h4 i18n:translate="">Syndication is Disabled</h4>
134 <div tal:condition="python: s_site_allowed and not(s_here_allowed)">
135 <form action="enableSyndication" method="post" tal:attributes="action string:${here/absolute_url}/enableSyndication">
136 <input type="hidden" name="isAllowed:int" value="1" /><input type="hidden" name="noAjax" value="1" /><input type="submit" value="Enable Syndication" i18n:attributes="value" />
139 <!-- s_site_allowed and not s_here_allowed -->
141 <!-- class="Desktop -->
143 <!-- metal:fill-slot="main" -->