* @copyright Morphoss Ltd
* @license http://gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$primary_source = '';
$source = '';
if ( substr($c->tzsource,0,4) == 'http' ) {
$source = ''.$c->tzsource.'';
}
else {
if ( empty($c->tzsource) ) $c->tzsource = '../zonedb/vtimezones';
if ( file_exists($c->tzsource.'/primary-source') ) {
$primary_source = ''.file_get_contents($c->tzsource.'/primary-source').'';
}
}
$contact = $c->admin_email;
header('Content-Type: application/xml; charset="utf-8"');
echo <<
$primary_source$source
mailto:$contactlistList timezone identifiers and localized forms
langfalsetrueSpecify desired localized form(s)changedsincefalsefalseLimit result to timezones changed since the
given date
returnallfalsefalseIf present inactive timezones will be returned.
get
Returns one or more timezones as specified by the
tzid parameter.
formatfalsefalsetext/calendarapplication/calendar+xmlSpecify required format for timezone.
langfalsetrueSpecify desired localized form(s)tzidtruetrueSpecify desired timezone identifiers
expand
Expands the specified timezone(s) into local onset and UTC
offsets
tzidtruetrueSpecify desired timezone identifiersstartfalsefalse
Specify start of the period of interest. If omitted the
current year is assumed.
endfalsefalse
Specify end of the period of interest.
If omitted the current year + 10 is assumed.
capabilitiesGets the capabilities of the server
EOCAP;
exit(0);