move config cache/base_url to locations/widget_render_url
This commit is contained in:
@@ -267,7 +267,7 @@ sub get($$) {
|
|||||||
start_month => $start_month,
|
start_month => $start_month,
|
||||||
start_year => $start_year,
|
start_year => $start_year,
|
||||||
base_url => $config->{locations}->{base_url},
|
base_url => $config->{locations}->{base_url},
|
||||||
cache_base_url => $config->{cache}->{base_url},
|
widget_render_url=> $config->{locations}->{widget_render_url},
|
||||||
controllers => $config->{controllers},
|
controllers => $config->{controllers},
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -283,7 +283,7 @@ sub render($$$$) {
|
|||||||
my $parms = $request->{params}->{checked};
|
my $parms = $request->{params}->{checked};
|
||||||
my $template_parameters = $calendar;
|
my $template_parameters = $calendar;
|
||||||
$template_parameters->{base_url} = $config->{locations}->{base_url};
|
$template_parameters->{base_url} = $config->{locations}->{base_url};
|
||||||
$template_parameters->{cache_base_url} = $config->{cache}->{base_url};
|
$template_parameters->{widget_render_url}= $config->{locations}->{widget_render_url};
|
||||||
$template_parameters->{server_cache} = $config->{cache}->{server_cache} if ( $config->{cache}->{server_cache} );
|
$template_parameters->{server_cache} = $config->{cache}->{server_cache} if ( $config->{cache}->{server_cache} );
|
||||||
$template_parameters->{use_client_cache} = $config->{cache}->{use_client_cache}
|
$template_parameters->{use_client_cache} = $config->{cache}->{use_client_cache}
|
||||||
if ( $config->{cache}->{use_client_cache} );
|
if ( $config->{cache}->{use_client_cache} );
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ sub modify_results($$$) {
|
|||||||
$result->{short_content} = $result->{content};
|
$result->{short_content} = $result->{content};
|
||||||
}
|
}
|
||||||
$result->{base_url} = $config->{locations}->{base_url};
|
$result->{base_url} = $config->{locations}->{base_url};
|
||||||
$result->{cache_base_url} = $config->{cache}->{base_url};
|
$result->{widget_render_url} = $config->{locations}->{widget_render_url};
|
||||||
|
|
||||||
if ( $params->{template} =~ /\.xml/ ) {
|
if ( $params->{template} =~ /\.xml/ ) {
|
||||||
|
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ sub modify_results ($$$$) {
|
|||||||
$result->{static_files_url} = $config->{locations}->{static_files_url};
|
$result->{static_files_url} = $config->{locations}->{static_files_url};
|
||||||
$result->{source_base_url} = $config->{locations}->{source_base_url};
|
$result->{source_base_url} = $config->{locations}->{source_base_url};
|
||||||
$result->{local_base_url} = $config->{locations}->{local_base_url};
|
$result->{local_base_url} = $config->{locations}->{local_base_url};
|
||||||
$result->{cache_base_url} = $config->{cache}->{base_url};
|
$result->{widget_render_url}= $config->{locations}->{widget_render_url};
|
||||||
|
|
||||||
$result->{is_running} = 1 if $running_event_id
|
$result->{is_running} = 1 if $running_event_id
|
||||||
&& $result->{event_id}
|
&& $result->{event_id}
|
||||||
@@ -1221,7 +1221,7 @@ sub render($$$$;$) {
|
|||||||
$tparams->{base_url} = $config->{locations}->{base_url};
|
$tparams->{base_url} = $config->{locations}->{base_url};
|
||||||
$tparams->{base_domain} = $config->{locations}->{base_domain};
|
$tparams->{base_domain} = $config->{locations}->{base_domain};
|
||||||
$tparams->{local_base_url} = $config->{locations}->{local_base_url};
|
$tparams->{local_base_url} = $config->{locations}->{local_base_url};
|
||||||
$tparams->{cache_base_url} = $config->{cache}->{base_url};
|
$tparams->{widget_render_url} = $config->{locations}->{widget_render_url};
|
||||||
$tparams->{modified_at} = time::time_to_datetime( time() );
|
$tparams->{modified_at} = time::time_to_datetime( time() );
|
||||||
if ( ( defined $params->{template} )
|
if ( ( defined $params->{template} )
|
||||||
&& ( $params->{template} =~ /(\.xml)/ ) )
|
&& ( $params->{template} =~ /(\.xml)/ ) )
|
||||||
|
|||||||
@@ -35,10 +35,6 @@ domain ${DOMAIN}
|
|||||||
config_file ${BASE_DIR}/agenda/config/config.cgi
|
config_file ${BASE_DIR}/agenda/config/config.cgi
|
||||||
</system>
|
</system>
|
||||||
|
|
||||||
<cache>
|
|
||||||
base_url /programm
|
|
||||||
</cache>
|
|
||||||
|
|
||||||
<locations>
|
<locations>
|
||||||
temp_dir ${BASE_DIR}/temp/
|
temp_dir ${BASE_DIR}/temp/
|
||||||
|
|
||||||
@@ -50,6 +46,7 @@ domain ${DOMAIN}
|
|||||||
source_base_url https://${DOMAIN}/
|
source_base_url https://${DOMAIN}/
|
||||||
local_base_url /agenda/
|
local_base_url /agenda/
|
||||||
editor_base_url /agenda/planung/
|
editor_base_url /agenda/planung/
|
||||||
|
widget_render_url /programm
|
||||||
|
|
||||||
# ajax
|
# ajax
|
||||||
base_domain https://${DOMAIN}/
|
base_domain https://${DOMAIN}/
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ sub showComments {
|
|||||||
for my $event (@$events) {
|
for my $event (@$events) {
|
||||||
$event->{start} = time::date_time_format( $config, $event->{start}, $language );
|
$event->{start} = time::date_time_format( $config, $event->{start}, $language );
|
||||||
$comment_count += $event->{comment_count} if defined $event->{comment_count};
|
$comment_count += $event->{comment_count} if defined $event->{comment_count};
|
||||||
$event->{cache_base_url} = $config->{cache}->{base_url};
|
$event->{widget_render_url} = $config->{locations}->{widget_render_url};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for my $param (%$comment) {
|
for my $param (%$comment) {
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ sub getMail {
|
|||||||
$mail->{Data} .= "nur zur Erinnerung...\n\n";
|
$mail->{Data} .= "nur zur Erinnerung...\n\n";
|
||||||
$mail->{Data} .= "am $event->{weekday_name} ist die naechste '$event->{series_name}'-Sendung.\n\n";
|
$mail->{Data} .= "am $event->{weekday_name} ist die naechste '$event->{series_name}'-Sendung.\n\n";
|
||||||
$mail->{Data} .=
|
$mail->{Data} .=
|
||||||
"$event->{source_base_url}$event->{cache_base_url}/$config->{controllers}->{event}/$event->{event_id}.html\n\n";
|
"$event->{source_base_url}$event->{widget_render_url}/$config->{controllers}->{event}/$event->{event_id}.html\n\n";
|
||||||
$mail->{Data} .= "Gruss, $request->{user}\n";
|
$mail->{Data} .= "Gruss, $request->{user}\n";
|
||||||
return $mail;
|
return $mail;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="event_title">
|
<td class="event_title">
|
||||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR id>.html#comments" title="zeige Sendung">
|
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR id>.html#comments" title="zeige Sendung">
|
||||||
<TMPL_VAR series_name> - <TMPL_VAR title>
|
<TMPL_VAR series_name> - <TMPL_VAR title>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -138,7 +138,7 @@
|
|||||||
<!--
|
<!--
|
||||||
<TMPL_IF .allow.update_event>
|
<TMPL_IF .allow.update_event>
|
||||||
<a class="button"
|
<a class="button"
|
||||||
href="mailto:<TMPL_VAR .series_users_email_list>?cc=programm@radiopiloten.de&reply-to=programm@radiopiloten.de&subject=<TMPL_VAR start> - <TMPL_VAR series_name><TMPL_IF title> - <TMPL_VAR title></TMPL_IF><TMPL_IF episode> #<TMPL_VAR episode></TMPL_IF>&body=Hallo <TMPL_VAR .series_user_names>,%0A%0Anur zur Erinnerung...%0A%0Aam <TMPL_VAR weekday_name> ist die naechste '<TMPL_VAR series_name>'-Sendung.%0A%0Ahttp:<TMPL_VAR source_base_url><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html%0A%0AGruss, <TMPL_VAR user>"
|
href="mailto:<TMPL_VAR .series_users_email_list>?cc=programm@radiopiloten.de&reply-to=programm@radiopiloten.de&subject=<TMPL_VAR start> - <TMPL_VAR series_name><TMPL_IF title> - <TMPL_VAR title></TMPL_IF><TMPL_IF episode> #<TMPL_VAR episode></TMPL_IF>&body=Hallo <TMPL_VAR .series_user_names>,%0A%0Anur zur Erinnerung...%0A%0Aam <TMPL_VAR weekday_name> ist die naechste '<TMPL_VAR series_name>'-Sendung.%0A%0Ahttp:<TMPL_VAR source_base_url><TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html%0A%0AGruss, <TMPL_VAR user>"
|
||||||
><button><TMPL_VAR .loc.button_reminder></button></a>
|
><button><TMPL_VAR .loc.button_reminder></button></a>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
-->
|
-->
|
||||||
|
|||||||
@@ -16,15 +16,15 @@ Access-Control-Allow-Origin: *
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="first">
|
<th class="first">
|
||||||
<a href="<TMPL_VAR .cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR previous_month>.html"
|
<a href="<TMPL_VAR .widget_render_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR previous_month>.html"
|
||||||
>«</a>
|
>«</a>
|
||||||
</th>
|
</th>
|
||||||
<th colspan="5" align="center">
|
<th colspan="5" align="center">
|
||||||
<a href="<TMPL_VAR .cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR start_date>_<TMPL_VAR end_date>.html"
|
<a href="<TMPL_VAR .widget_render_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR start_date>_<TMPL_VAR end_date>.html"
|
||||||
><TMPL_VAR start_month_name> <TMPL_VAR start_year></a>
|
><TMPL_VAR start_month_name> <TMPL_VAR start_year></a>
|
||||||
</th>
|
</th>
|
||||||
<th class="last">
|
<th class="last">
|
||||||
<a href="<TMPL_VAR .cache_base_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR next_month>.html"
|
<a href="<TMPL_VAR .widget_render_url>/<TMPL_VAR .controllers.calendar>/<TMPL_VAR next_month>.html"
|
||||||
>»</a>
|
>»</a>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -43,7 +43,7 @@ Access-Control-Allow-Origin: *
|
|||||||
<TMPL_COMMENT>
|
<TMPL_COMMENT>
|
||||||
<TMPL_LOOP week><th class="<TMPL_VAR class>"><a href="<TMPL_VAR .local_base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR from_date>/<TMPL_VAR till_date>/" title="Woche anzeigen" onclick="calcms.selectDateRangeEventListener('<TMPL_VAR from_date escape=js>','<TMPL_VAR till_date escape=js>');return false;" ><TMPL_VAR week_of_year></a></th></TMPL_LOOP>
|
<TMPL_LOOP week><th class="<TMPL_VAR class>"><a href="<TMPL_VAR .local_base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR from_date>/<TMPL_VAR till_date>/" title="Woche anzeigen" onclick="calcms.selectDateRangeEventListener('<TMPL_VAR from_date escape=js>','<TMPL_VAR till_date escape=js>');return false;" ><TMPL_VAR week_of_year></a></th></TMPL_LOOP>
|
||||||
</TMPL_COMMENT>
|
</TMPL_COMMENT>
|
||||||
<TMPL_LOOP days><td class="<TMPL_VAR class>"><a href="<TMPL_VAR .cache_base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR date>.html" title="<TMPL_VAR day>.<TMPL_VAR month>. zeigen"><TMPL_VAR day></a></td>
|
<TMPL_LOOP days><td class="<TMPL_VAR class>"><a href="<TMPL_VAR .widget_render_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR date>.html" title="<TMPL_VAR day>.<TMPL_VAR month>. zeigen"><TMPL_VAR day></a></td>
|
||||||
</TMPL_LOOP></tr></TMPL_LOOP>
|
</TMPL_LOOP></tr></TMPL_LOOP>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Access-Control-Allow-Origin: *
|
|||||||
|
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005'>
|
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005'>
|
||||||
<id><TMPL_VAR cache_base_url>comments</id>
|
<id><TMPL_VAR widget_render_url>comments</id>
|
||||||
|
|
||||||
<title type='text'><TMPL_VAR project_title> - Kommentare</title>
|
<title type='text'><TMPL_VAR project_title> - Kommentare</title>
|
||||||
<updated><TMPL_VAR created_at></updated>
|
<updated><TMPL_VAR created_at></updated>
|
||||||
@@ -15,7 +15,7 @@ Access-Control-Allow-Origin: *
|
|||||||
<name><TMPL_VAR project_title></name>
|
<name><TMPL_VAR project_title></name>
|
||||||
<email>info@radiopiloten.de</email>
|
<email>info@radiopiloten.de</email>
|
||||||
</author>
|
</author>
|
||||||
<link rel='alternate' type='text/html' href='<TMPL_VAR cache_base_url>feed_kommentare/'/>
|
<link rel='alternate' type='text/html' href='<TMPL_VAR widget_render_url>feed_kommentare/'/>
|
||||||
<generator version='0.1' uri='http://radiopiloten.org'>calcms</generator>
|
<generator version='0.1' uri='http://radiopiloten.org'>calcms</generator>
|
||||||
<gCal:timezone value='Europe/Berlin'/>
|
<gCal:timezone value='Europe/Berlin'/>
|
||||||
<gCal:timesCleaned value='0'/>
|
<gCal:timesCleaned value='0'/>
|
||||||
@@ -30,8 +30,8 @@ Access-Control-Allow-Origin: *
|
|||||||
<TMPL_IF content><summary type='text'><TMPL_VAR content></summary></TMPL_IF>
|
<TMPL_IF content><summary type='text'><TMPL_VAR content></summary></TMPL_IF>
|
||||||
<TMPL_IF content><content type='html'><![CDATA[<TMPL_VAR content>]]></content></TMPL_IF>
|
<TMPL_IF content><content type='html'><![CDATA[<TMPL_VAR content>]]></content></TMPL_IF>
|
||||||
|
|
||||||
<link rel='alternate' type='text/html' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR event_id escape=url>.html#comment_<TMPL_VAR id escape=url>' title='alternate'/>
|
<link rel='alternate' type='text/html' href='<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR event_id escape=url>.html#comment_<TMPL_VAR id escape=url>' title='alternate'/>
|
||||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR event_id escape=url>.html#comment_<TMPL_VAR id escape=url>'/>
|
<link rel='self' type='application/atom+xml' href='<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event escape=url>/<TMPL_VAR event_id escape=url>.html#comment_<TMPL_VAR id escape=url>'/>
|
||||||
<author><name><TMPL_VAR author></name></author>
|
<author><name><TMPL_VAR author></name></author>
|
||||||
</entry>
|
</entry>
|
||||||
</TMPL_LOOP>
|
</TMPL_LOOP>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Access-Control-Allow-Origin: *
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<TMPL_LOOP comments>
|
<TMPL_LOOP comments>
|
||||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments">
|
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments">
|
||||||
<div class="comments level<TMPL_VAR level>">
|
<div class="comments level<TMPL_VAR level>">
|
||||||
<span class="author"><TMPL_VAR author escape=none></span>:
|
<span class="author"><TMPL_VAR author escape=none></span>:
|
||||||
<span class="content"><TMPL_VAR short_content escape=none></span>
|
<span class="content"><TMPL_VAR short_content escape=none></span>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Access-Control-Allow-Origin: *
|
|||||||
|
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005'>
|
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005'>
|
||||||
<id><TMPL_VAR cache_base_url></id>
|
<id><TMPL_VAR widget_render_url></id>
|
||||||
|
|
||||||
<title type='text'><TMPL_VAR project_title></title>
|
<title type='text'><TMPL_VAR project_title></title>
|
||||||
<updated><TMPL_VAR modified_at></updated>
|
<updated><TMPL_VAR modified_at></updated>
|
||||||
@@ -15,14 +15,14 @@ Access-Control-Allow-Origin: *
|
|||||||
<email><TMPL_VAR project_email></email>
|
<email><TMPL_VAR project_email></email>
|
||||||
</author>
|
</author>
|
||||||
<link rel='alternate' type='text/html' href='<TMPL_VAR source_base_url>'/>
|
<link rel='alternate' type='text/html' href='<TMPL_VAR source_base_url>'/>
|
||||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR cache_base_url>/feed/'/>
|
<link rel='self' type='application/atom+xml' href='<TMPL_VAR widget_render_url>/feed/'/>
|
||||||
|
|
||||||
<generator version='0.1' uri='http://radiopiloten.de'>calcms</generator>
|
<generator version='0.1' uri='http://radiopiloten.de'>calcms</generator>
|
||||||
<gCal:timezone value='<TMPL_VAR time_zone>'/>
|
<gCal:timezone value='<TMPL_VAR time_zone>'/>
|
||||||
<gCal:timesCleaned value='0'/>
|
<gCal:timesCleaned value='0'/>
|
||||||
<TMPL_LOOP events>
|
<TMPL_LOOP events>
|
||||||
<entry>
|
<entry>
|
||||||
<id><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html</id>
|
<id><TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html</id>
|
||||||
<published><TMPL_VAR created_at></published>
|
<published><TMPL_VAR created_at></published>
|
||||||
<updated><TMPL_VAR modified_at></updated>
|
<updated><TMPL_VAR modified_at></updated>
|
||||||
|
|
||||||
@@ -31,8 +31,8 @@ Access-Control-Allow-Origin: *
|
|||||||
<summary type='text'><TMPL_VAR excerpt></summary>
|
<summary type='text'><TMPL_VAR excerpt></summary>
|
||||||
<content type='html'><![CDATA[<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title><p><TMPL_VAR content_html>]]></content>
|
<content type='html'><![CDATA[<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title><p><TMPL_VAR content_html>]]></content>
|
||||||
|
|
||||||
<link rel='alternate' type='text/html' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>' title='alternate'/>
|
<link rel='alternate' type='text/html' href='<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>' title='alternate'/>
|
||||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>'/>
|
<link rel='self' type='application/atom+xml' href='<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>'/>
|
||||||
<TMPL_IF media_url><link rel="enclosure" type="audio/mpeg" href="<TMPL_VAR media_url>"/>
|
<TMPL_IF media_url><link rel="enclosure" type="audio/mpeg" href="<TMPL_VAR media_url>"/>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
<TMPL_IF project_title><author>
|
<TMPL_IF project_title><author>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ LOCATION:<TMPL_VAR location_mapped>
|
|||||||
SEQUENCE:0
|
SEQUENCE:0
|
||||||
STATUS:CONFIRMED
|
STATUS:CONFIRMED
|
||||||
SUMMARY:<TMPL_VAR full_title>
|
SUMMARY:<TMPL_VAR full_title>
|
||||||
URL:<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>
|
URL:<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>
|
||||||
TRANSP:OPAQUE
|
TRANSP:OPAQUE
|
||||||
CATEGORIES:<TMPL_VAR project_title>
|
CATEGORIES:<TMPL_VAR project_title>
|
||||||
END:VEVENT
|
END:VEVENT
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ Feed = {
|
|||||||
"openSearch$totalResults" : { "$t" : "<TMPL_VAR event_count>" },
|
"openSearch$totalResults" : { "$t" : "<TMPL_VAR event_count>" },
|
||||||
<TMPL_LOOP events>
|
<TMPL_LOOP events>
|
||||||
"entry" : [ {
|
"entry" : [ {
|
||||||
"id" : { "$t" : "<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html/" },
|
"id" : { "$t" : "<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html/" },
|
||||||
"published" : { "$t": "<TMPL_VAR created_at>" },
|
"published" : { "$t": "<TMPL_VAR created_at>" },
|
||||||
"updated" : { "$t": "<TMPL_VAR modified_at>" },
|
"updated" : { "$t": "<TMPL_VAR modified_at>" },
|
||||||
"category" : [ {
|
"category" : [ {
|
||||||
@@ -49,11 +49,11 @@ Feed = {
|
|||||||
"link" : [ {
|
"link" : [ {
|
||||||
"rel" : "alternate",
|
"rel" : "alternate",
|
||||||
"type" : "text/html",
|
"type" : "text/html",
|
||||||
"href" : "<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>"
|
"href" : "<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>"
|
||||||
},{
|
},{
|
||||||
"rel" : "self",
|
"rel" : "self",
|
||||||
"type" : "application/atom+xml",
|
"type" : "application/atom+xml",
|
||||||
"href" : "<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>"
|
"href" : "<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>"
|
||||||
} ],
|
} ],
|
||||||
"author" : [ {
|
"author" : [ {
|
||||||
"name" : { "$t" : "<TMPL_VAR project_email>" },
|
"name" : { "$t" : "<TMPL_VAR project_email>" },
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ Content-type:application/rss+xml; charset=UTF-8
|
|||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||||
|
|
||||||
<channel>
|
<channel>
|
||||||
<atom:link href="http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/rss" rel="self" type="application/rss+xml" />
|
<atom:link href="http:<TMPL_VAR base_domain><TMPL_VAR widget_render_url>/rss" rel="self" type="application/rss+xml" />
|
||||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/event.rss.xml</link>
|
<link>http:<TMPL_VAR base_domain><TMPL_VAR widget_render_url>/event.rss.xml</link>
|
||||||
<title><TMPL_VAR project_title></title>
|
<title><TMPL_VAR project_title></title>
|
||||||
<description><TMPL_VAR project_subtitle></description>
|
<description><TMPL_VAR project_subtitle></description>
|
||||||
<language>de-de</language>
|
<language>de-de</language>
|
||||||
@@ -14,7 +14,7 @@ Content-type:application/rss+xml; charset=UTF-8
|
|||||||
<ttl>3600</ttl>
|
<ttl>3600</ttl>
|
||||||
<image>
|
<image>
|
||||||
<url>http:<TMPL_VAR base_domain>sites/default/files/images/piradio-logo-kreis.preview.gif</url>
|
<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>
|
<link>http:<TMPL_VAR base_domain><TMPL_VAR widget_render_url>/event.rss.xml</link>
|
||||||
<title><TMPL_VAR project_title></title>
|
<title><TMPL_VAR project_title></title>
|
||||||
</image>
|
</image>
|
||||||
|
|
||||||
@@ -23,8 +23,8 @@ Content-type:application/rss+xml; charset=UTF-8
|
|||||||
<item>
|
<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>
|
<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>
|
<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>
|
<link>http:<TMPL_VAR base_domain><TMPL_VAR widget_render_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>
|
<guid>http:<TMPL_VAR base_domain><TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html</guid>
|
||||||
<pubDate><TMPL_VAR modified_at></pubDate>
|
<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>
|
<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:content url="http:<TMPL_VAR base_domain><TMPL_VAR image>" medium="image">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ $events=[
|
|||||||
{
|
{
|
||||||
'__last__' => q|<TMPL_VAR __last__>|,
|
'__last__' => q|<TMPL_VAR __last__>|,
|
||||||
'base_url' => q|<TMPL_VAR base_url>|,
|
'base_url' => q|<TMPL_VAR base_url>|,
|
||||||
'cache_base_url' => q|<TMPL_VAR cache_base_url>|,
|
'widget_render_url' => q|<TMPL_VAR widget_render_url>|,
|
||||||
'comment_count' => q|<TMPL_VAR comment_count>|,
|
'comment_count' => q|<TMPL_VAR comment_count>|,
|
||||||
'.controllers.event' => q|<TMPL_VAR .controllers.event>|,
|
'.controllers.event' => q|<TMPL_VAR .controllers.event>|,
|
||||||
'.controllers.events' => q|<TMPL_VAR .controllers.events>|,
|
'.controllers.events' => q|<TMPL_VAR .controllers.events>|,
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ Content-type:text/xml; charset=UTF-8
|
|||||||
</categories>
|
</categories>
|
||||||
<feed>
|
<feed>
|
||||||
<title>Sendebeschreibung</title>
|
<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>
|
<url>https://piradio.de<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></url>
|
||||||
</feed>
|
</feed>
|
||||||
<transmit-times>
|
<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-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>" />
|
||||||
|
|||||||
@@ -22,18 +22,18 @@ Content-type:text/html; charset=utf-8;
|
|||||||
</div>
|
</div>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
<div id="event_<TMPL_VAR event_id>" class="event<TMPL_IF location_css> <TMPL_VAR location_css></TMPL_IF><TMPL_IF is_running> running</TMPL_IF>"
|
<div id="event_<TMPL_VAR event_id>" class="event<TMPL_IF location_css> <TMPL_VAR location_css></TMPL_IF><TMPL_IF is_running> running</TMPL_IF>"
|
||||||
onclick="window.location.href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>'"
|
onclick="window.location.href='<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>'"
|
||||||
>
|
>
|
||||||
<span class="time"><TMPL_VAR start_time_name><TMPL_IF name="__last__"> - <TMPL_VAR end_time_name></TMPL_IF></span>
|
<span class="time"><TMPL_VAR start_time_name><TMPL_IF name="__last__"> - <TMPL_VAR end_time_name></TMPL_IF></span>
|
||||||
<span class="summary" title="Mehr Infos zur Sendung">
|
<span class="summary" title="Mehr Infos zur Sendung">
|
||||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
||||||
<span class="title"><TMPL_VAR skey></span>
|
<span class="title"><TMPL_VAR skey></span>
|
||||||
<span class="subtitle"><TMPL_VAR stkey><TMPL_VAR tkey></span>
|
<span class="subtitle"><TMPL_VAR stkey><TMPL_VAR tkey></span>
|
||||||
<span class="episode"><TMPL_VAR ekey></span>
|
<span class="episode"><TMPL_VAR ekey></span>
|
||||||
</a>
|
</a>
|
||||||
<div class="excerpt"><TMPL_VAR excerpt> <TMPL_VAR user_excerpt> </div>
|
<div class="excerpt"><TMPL_VAR excerpt> <TMPL_VAR user_excerpt> </div>
|
||||||
<TMPL_UNLESS no_comment>
|
<TMPL_UNLESS no_comment>
|
||||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>#comments"
|
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>#comments"
|
||||||
>
|
>
|
||||||
<span class="submitted<TMPL_IF comment_count> comments</TMPL_IF>"><TMPL_VAR comment_count> Kommentar<TMPL_UNLESS one_comment>e</TMPL_UNLESS></span>
|
<span class="submitted<TMPL_IF comment_count> comments</TMPL_IF>"><TMPL_VAR comment_count> Kommentar<TMPL_UNLESS one_comment>e</TMPL_UNLESS></span>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ Content-type:application/rss+xml; charset=UTF-8
|
|||||||
|
|
||||||
<channel>
|
<channel>
|
||||||
<atom:link href="http:<TMPL_VAR base_domain>agenda/rss-media/rss" rel="self" type="application/rss+xml" />
|
<atom:link href="http:<TMPL_VAR base_domain>agenda/rss-media/rss" rel="self" type="application/rss+xml" />
|
||||||
<link>http:<TMPL_VAR base_domain><TMPL_VAR cache_base_url>/event.rss.xml</link>
|
<link>http:<TMPL_VAR base_domain><TMPL_VAR widget_render_url>/event.rss.xml</link>
|
||||||
<title><TMPL_VAR project_title></title>
|
<title><TMPL_VAR project_title></title>
|
||||||
<description><TMPL_VAR project_subtitle></description>
|
<description><TMPL_VAR project_subtitle></description>
|
||||||
<itunes:owner>
|
<itunes:owner>
|
||||||
|
|||||||
@@ -18,14 +18,14 @@ Content-type:text/html; charset=UTF-8;
|
|||||||
<TMPL_IF event_id>
|
<TMPL_IF event_id>
|
||||||
<TMPL_IF name="__first__">
|
<TMPL_IF name="__first__">
|
||||||
<div class="date">
|
<div class="date">
|
||||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR start_date>.html">
|
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.events>/<TMPL_VAR start_date>.html">
|
||||||
<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name>
|
<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>"
|
href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>"
|
||||||
>
|
>
|
||||||
<div id="event_menu_<TMPL_VAR event_id>" class="vevent event<TMPL_IF is_running> running</TMPL_IF>"
|
<div id="event_menu_<TMPL_VAR event_id>" class="vevent event<TMPL_IF is_running> running</TMPL_IF>"
|
||||||
title="<TMPL_IF program><TMPL_VAR program> - </TMPL_IF><TMPL_IF series_name><TMPL_VAR series_name> - </TMPL_IF><TMPL_VAR title>"
|
title="<TMPL_IF program><TMPL_VAR program> - </TMPL_IF><TMPL_IF series_name><TMPL_VAR series_name> - </TMPL_IF><TMPL_VAR title>"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ div.event div.title div{
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<TMPL_LOOP NAME=events>
|
<TMPL_LOOP NAME=events>
|
||||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>"
|
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>"
|
||||||
>
|
>
|
||||||
<div id="event_playlist_<TMPL_VAR event_id>" class="event" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt escape=url></TMPL_IF>">
|
<div id="event_playlist_<TMPL_VAR event_id>" class="event" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt escape=url></TMPL_IF>">
|
||||||
<TMPL_COMMENT>
|
<TMPL_COMMENT>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
Content-type:text/plain; charset=UTF-8;
|
Content-type:text/plain; charset=UTF-8;
|
||||||
Access-Control-Allow-Origin: *
|
Access-Control-Allow-Origin: *
|
||||||
|
|
||||||
<TMPL_IF no_result>Andere Veranstalter</TMPL_IF><TMPL_LOOP NAME=events><a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>" ><TMPL_VAR full_title></a></TMPL_LOOP>
|
<TMPL_IF no_result>Andere Veranstalter</TMPL_IF><TMPL_LOOP NAME=events><a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri>" ><TMPL_VAR full_title></a></TMPL_LOOP>
|
||||||
|
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ Access-Control-Allow-Origin: *
|
|||||||
<body>
|
<body>
|
||||||
<div id="playlist_container" class="dragscroll">
|
<div id="playlist_container" class="dragscroll">
|
||||||
<TMPL_LOOP NAME=events>
|
<TMPL_LOOP NAME=events>
|
||||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>" >
|
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>" >
|
||||||
<div id="event_playlist_<TMPL_VAR event_id>" class="eventContainer event">
|
<div id="event_playlist_<TMPL_VAR event_id>" class="eventContainer event">
|
||||||
<div class="top" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt></TMPL_IF>">
|
<div class="top" title="<TMPL_VAR full_title><TMPL_IF excerpt>. <TMPL_VAR excerpt></TMPL_IF>">
|
||||||
<TMPL_VAR weekday_short_name> <TMPL_VAR start_time_name>
|
<TMPL_VAR weekday_short_name> <TMPL_VAR start_time_name>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Content-type:text/html; charset=UTF-8;
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="0; url=<TMPL_LOOP NAME=events><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></TMPL_LOOP>" />
|
<meta http-equiv="refresh" content="0; url=<TMPL_LOOP NAME=events><TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url></TMPL_LOOP>" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body></body>
|
<body></body>
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ Access-Control-Allow-Origin: *
|
|||||||
<div class="date<TMPL_IF is_running> running</TMPL_IF>">
|
<div class="date<TMPL_IF is_running> running</TMPL_IF>">
|
||||||
<p>
|
<p>
|
||||||
<h1 class="summary title">
|
<h1 class="summary title">
|
||||||
Aktuelle Sendung: <a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
Aktuelle Sendung: <a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
||||||
<TMPL_VAR full_title>
|
<TMPL_VAR full_title>
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
@@ -60,14 +60,14 @@ Access-Control-Allow-Origin: *
|
|||||||
<div class="content" >
|
<div class="content" >
|
||||||
<TMPL_COMMENT>
|
<TMPL_COMMENT>
|
||||||
<div class="image-attach-teaser" style="width: 150px;">
|
<div class="image-attach-teaser" style="width: 150px;">
|
||||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>">
|
||||||
<img class="image image-thumbnail" src="<TMPL_VAR image>" width="150" height="150" />
|
<img class="image image-thumbnail" src="<TMPL_VAR image>" width="150" height="150" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</TMPL_COMMENT>
|
</TMPL_COMMENT>
|
||||||
<TMPL_VAR excerpt >
|
<TMPL_VAR excerpt >
|
||||||
</div>
|
</div>
|
||||||
<a href="<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments">
|
<a href="<TMPL_VAR widget_render_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#comments">
|
||||||
<span><TMPL_VAR comment_count> Kommentar<TMPL_UNLESS one_comment>e</TMPL_UNLESS></span>
|
<span><TMPL_VAR comment_count> Kommentar<TMPL_UNLESS one_comment>e</TMPL_UNLESS></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user