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:
81
website/agenda/templates/default/event_freefm.xml
Normal file
81
website/agenda/templates/default/event_freefm.xml
Normal file
@@ -0,0 +1,81 @@
|
||||
Content-type:text/xml; charset=UTF-8
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<station lastupdate="<TMPL_VAR modified_at_datetime_utc>" xmlns:gml="http://www.opengis.net/gml">
|
||||
<info>
|
||||
<displayname>Pi-Radio</displayname>
|
||||
<fullname>Pi-Radio</fullname>
|
||||
<logo src="https://piradio.de/agenda/images/logo.jpg" />
|
||||
<basecolor>#FF6600</basecolor>
|
||||
<city>Berlin</city>
|
||||
<studio>
|
||||
<street>Lottumstrasse</street>
|
||||
<number>9</number>
|
||||
<city>Berlin</city>
|
||||
<zip>10119</zip>
|
||||
<studio-location>
|
||||
<gml:Point>
|
||||
<gml:pos>52.53119 13.4066</gml:pos>
|
||||
</gml:Point>
|
||||
</studio-location>
|
||||
<phone type="studio">+49 030 609 37 277</phone>
|
||||
</studio>
|
||||
</info>
|
||||
|
||||
<media-channels>
|
||||
<transmitter type="ukw">
|
||||
<frequency>88.4</frequency>
|
||||
<frequencyunit>MHz</frequencyunit>
|
||||
<city>Berlin</city>
|
||||
<operator>MediaBroadcast</operator>
|
||||
<transmit-power>500</transmit-power>
|
||||
<transmit-power-unit>W</transmit-power-unit>
|
||||
<transmit-rds-id>88vier</transmit-rds-id>
|
||||
<transmit-times>
|
||||
<transmit-time recurrence="true" />
|
||||
<weekly day="MI" priority="0" time-from="19:00:00" time-to="06:00:00" />
|
||||
<weekly day="DO" priority="0" time-from="19:00:00" time-to="06:00:00" />
|
||||
</transmit-times>
|
||||
|
||||
<transmitter-location>
|
||||
<gml:Point>
|
||||
<gml:pos>52.456534 13.625693</gml:pos>
|
||||
</gml:Point>
|
||||
</transmitter-location>
|
||||
</transmitter>
|
||||
<webstream>
|
||||
<transmit-times>
|
||||
<transmit-time time-from="00:00:00" time-to="23:59:59"/>
|
||||
</transmit-times>
|
||||
<url>http://ice.rosebud-media.de:8000/88vier</url>
|
||||
<format>audio/mpeg</format>
|
||||
<quality>160kbps</quality>
|
||||
</webstream>
|
||||
<website>
|
||||
<url>https://piradio.de</url>
|
||||
</website>
|
||||
</media-channels>
|
||||
|
||||
<programme>
|
||||
<TMPL_LOOP events>
|
||||
<broadcast id="<TMPL_VAR event_id>">
|
||||
<title><TMPL_VAR full_title></title>
|
||||
<description>
|
||||
<TMPL_VAR excerpt> <TMPL_VAR user_excerpt>
|
||||
</description>
|
||||
<categories>
|
||||
<category name="Wort" id="1" />
|
||||
<category name="Musik" id="2" />
|
||||
</categories>
|
||||
<feed>
|
||||
<title>Sendebeschreibung</title>
|
||||
<url>https://piradio.de<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></url>
|
||||
</feed>
|
||||
<transmit-times>
|
||||
<transmit-time date-from="<TMPL_VAR start_datetime_utc>" date-to="<TMPL_VAR end_datetime_utc>" recurrence="false" rerun="<TMPL_IF rerun>true<TMPL_ELSE>false</TMPL_IF>" />
|
||||
</transmit-times>
|
||||
</broadcast>
|
||||
</TMPL_LOOP>
|
||||
</programme>
|
||||
</station>
|
||||
|
||||
Reference in New Issue
Block a user