Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | <feed xmlns='http://www.w3.org/2005/Atom' | |
11 | xmlns:gd='http://schemas.google.com/g/2005'> | |
12 | <id>{crmURL p='civicrm/admin/event' q="reset=1&list=1&gData=1"}</id> | |
13 | <title type='text'>{ts}CiviEvent Public Calendar{/ts}</title> | |
14 | <subtitle type='text'>{ts}Listing of current and upcoming public events.{/ts}</subtitle> | |
15 | <generator>CiviCRM</generator> | |
16 | {foreach from=$events key=uid item=event} | |
17 | <entry xmlns='http://www.w3.org/2005/Atom' | |
18 | xmlns:gd='http://schemas.google.com/g/2005'> | |
19 | <category scheme='http://schemas.google.com/g/2005#kind' | |
20 | term='http://schemas.google.com/g/2005#event'></category> | |
21 | <title type='text'>{$event.title}</title> | |
22 | {if $event.description} | |
23 | <content type='text'>{$event.description}</content> | |
24 | {/if} | |
25 | {if $event.contact_email} | |
26 | <author> | |
27 | <email>{$event.contact_email}</email> | |
28 | </author> | |
29 | {/if} | |
30 | <gd:transparency | |
31 | value='http://schemas.google.com/g/2005#event.opaque'> | |
32 | </gd:transparency> | |
33 | <gd:eventStatus | |
34 | value='http://schemas.google.com/g/2005#event.confirmed'> | |
35 | </gd:eventStatus> | |
36 | {if $event.is_show_location EQ 1 && $event.location} | |
37 | <gd:where valueString='{$event.location}'></gd:where> | |
38 | {/if} | |
39 | {if $event.start_date} | |
40 | <gd:when startTime='{$event.start_date|crmICalDate:1}' | |
41 | endTime='{$event.end_date|crmICalDate:1}'></gd:when> | |
42 | {/if} | |
43 | </entry> | |
44 | {/foreach} | |
232624b1 | 45 | </feed> |