source: trunk/skins/lemill/ForumRSS.pt @ 1907

Revision 1907, 1.1 KB checked in by jukka, 12 years ago (diff)

Closed #1476, spent 20h. I'm allowing editing and deleting resource discussions like any other forum posts: if the discussion is deleted, new one will be created next time someone tries discussion. The default discussion post bodytext is i18n:translated, but once someone changes it, it won't try to translate it anymore.

Line 
1<?xml version="1.0"?>
2<rdf:RDF
3  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
4  xmlns:dc="http://purl.org/dc/elements/1.1/"
5  xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
6  xmlns="http://purl.org/rss/1.0/"
7  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
8  xmlns:tal="http://xml.zope.org/namespaces/tal"
9  xmlns:metal="http://xml.zope.org/namespaces/metal">
10
11
12<tal:block
13    define="
14                 syn context/portal_syndication;
15                 objectList context/getFullForumRSS;
16                 ">
17
18
19
20    <metal:block use-macro="context/rss_template/macros/master">
21        <metal:block fill-slot="syndication">
22            <syn:updatePeriod tal:content="python:syn.getUpdatePeriod(context) or default">hourly</syn:updatePeriod>
23            <syn:updateFrequency tal:content="python:syn.getUpdateFrequency(context) or default">2</syn:updateFrequency>
24            <syn:updateBase tal:content="python:syn.getHTML4UpdateBase(context) or default">2000-01-01T12:00+00:00</syn:updateBase>
25        </metal:block>
26    </metal:block>
27</tal:block>
28
29</rdf:RDF>
Note: See TracBrowser for help on using the repository browser.