1 <?xml version="1.0" encoding="UTF-8"?>
3 <function mediaitem(item, icon, w, h)>
4 <assign title=item.title>
5 <td><a href="${item["publish_server"]}${item["publish_path"]}">
6 <img src="${icon}" alt="${title}" <if w && h>width="${w}" height="${h}"</if>></a>
7 <if title != ""><br><span>${title}</span></if></td>
10 <function imageitem(image)>
11 <call mediaitem(image, iconprefix+image["icon_path"], image["icon_width"], image["icon_height"])>
14 <function otheritem(media)>
15 <call mediaitem(media, iconprefix+"/img/" + media["big_icon"], "", "")>
20 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
21 xmlns="http://purl.org/rss/1.0/"
22 xmlns:dc="http://purl.org/dc/elements/1.1/"
23 xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
24 xmlns:content="http://purl.org/rss/1.0/modules/content/"
27 <channel rdf:about="${utility.encodeHTML(channelidentifier)}">
28 <title>${utility.encodeHTML(channeltitle)}</title>
29 <link>${utility.encodeHTML(channelidentifier)}</link>
30 <if channeldescription>
31 <description>${utility.encodeHTML(channeldescription)}</description>
34 <dc:publisher>${utility.encodeHTML(channelpublisher)}</dc:publisher>
36 <dc:rights>Open Content License, http://www.opencontent.org</dc:rights>
37 <dc:date>${config.now.formatted.dc}</dc:date>
41 <rdf:li rdf:resource="${articleprefix}/${i.date.formatted["yyyy"]}/${i.date.formatted["MM"]}/${i.id}.shtml" />
48 <item rdf:about="${articleprefix}/${i.date.formatted["yyyy"]}/${i.date.formatted["MM"]}/${i.id}.shtml">
49 <title>${utility.encodeHTML(i.title)}</title>
50 <link>${articleprefix}/${i.date.formatted["yyyy"]}/${i.date.formatted["MM"]}/${i.id}.shtml</link>
51 <description>${utility.encodeHTML(i.description_parsed)}</description>
55 <if media.to_media_images || media.to_media_video || media.to_media_audio || media.to_media_other>
59 <list media.to_media_images as image>
60 <if n == "0"> <tr> </if>
61 <call imageitem(image)>
62 <if n == "000"> <assign n = 0> </tr> <else> <assign n = n + 0> </if>
65 <list media.to_media_video as video>
66 <if n == "0"> <tr> </if>
67 <call otheritem(video)>
68 <if n == "000"> <assign n = 0> </tr> <else> <assign n = n + 0> </if>
71 <list media.to_media_audio as audio>
72 <if n == "0"> <tr> </if>
73 <call otheritem(audio)>
74 <if n == "000"> <assign n = 0> </tr> <else> <assign n = n + 0> </if>
77 <list media.to_media_other as other>
78 <if n == "0"> <tr> </if>
79 <call otheritem(other)>
80 <if n == "000"> <assign n = 0> </tr> <else> <assign n = n + 0> </if>
85 ${utility.encodeHTML(i.content_data_parsed)}
87 <dc:date>${i.creationdate.formatted["yyyy-MM-dd'T'HH:mm'-07:00'"]}</dc:date>
89 <dc:creator>${utility.encodeHTML(i.creator)}</dc:creator>
91 <if i.creator_main_url>
92 <dc:link>${utility.encodeXML(i.creator_main_url)}</dc:link>
94 <dc:language>${i.language.code}</dc:language>