template: custom themes for agenda
For agenda a custom theme can be configured in locations/theme. Templates are read from the subdirectory "templates/<theme>/". The default theme is "default". All Templates are moved to templates/default.
This commit is contained in:
38
website/agenda/templates/default/event.rss.xml
Normal file
38
website/agenda/templates/default/event.rss.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/rss+xml; charset=UTF-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||
|
||||
<channel>
|
||||
<atom:link href="http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/rss" rel="self" type="application/rss+xml" />
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/event.rss.xml</link>
|
||||
<title><TMPL_VAR project_title></title>
|
||||
<description><TMPL_VAR project_subtitle></description>
|
||||
<language>de-de</language>
|
||||
<copyright><TMPL_VAR project_title>, <TMPL_VAR project_email></copyright>
|
||||
<pubDate><TMPL_VAR modified_at></pubDate>
|
||||
<ttl>3600</ttl>
|
||||
<image>
|
||||
<url>http:<TMPL_VAR base_domain>sites/default/files/images/piradio-logo-kreis.preview.gif</url>
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/event.rss.xml</link>
|
||||
<title><TMPL_VAR project_title></title>
|
||||
</image>
|
||||
|
||||
|
||||
<TMPL_LOOP events>
|
||||
<item>
|
||||
<title><TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title></title>
|
||||
<description><TMPL_VAR excerpt></description>
|
||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></link>
|
||||
<guid>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html</guid>
|
||||
<pubDate><TMPL_VAR modified_at></pubDate>
|
||||
<comments>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_domain>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments</comments>
|
||||
<media:content url="http:<TMPL_VAR base_domain><TMPL_VAR image>" medium="image">
|
||||
<media:title type="html"><TMPL_VAR full_title></media:title>
|
||||
</media:content>
|
||||
|
||||
</item>
|
||||
</TMPL_LOOP>
|
||||
</channel>
|
||||
</rss>
|
||||
Reference in New Issue
Block a user