<docbook><section><title>OdsCalendarPublish</title><bridgehead class="http://www.w3.org/1999/xhtml:h2">How to publish Calendar items to iCalendar format?</bridgehead>
<para>ODS iCalendar offers the feature to publish calendar items to iCalendar format for exchange with 3rd party iCalendar compliant applications:</para>
<orderedlist spacing="compact"><listitem>Go to Import/Export menu from the left vertical navigation.
</listitem>
<listitem>Go to Manage Publications.
</listitem>
<listitem>Click &quot;New Publication&quot;.
</listitem>
<listitem>In the shown form enter the parameters as follows: <orderedlist spacing="compact"><listitem>Name: then name of the publication </listitem>
<listitem>Select &quot;Refresh type&quot;: <orderedlist spacing="compact"><listitem>manually </listitem>
<listitem>after any entry is changed </listitem>
<listitem>every [n] hours /days </listitem>
</orderedlist></listitem>
<listitem>Select &quot;Destination Type&quot;: <orderedlist spacing="compact"><listitem><ulink url="WebDAV">WebDAV</ulink> path </listitem>
<listitem>URL </listitem>
</orderedlist></listitem>
<listitem>Enter username and password if needed.
</listitem>
<listitem>Select &quot;Options&quot; for Tasks and <ulink url="ToDos">ToDos</ulink>.</listitem>
</orderedlist></listitem>
</orderedlist><para>Here is sample scenario how to publish Calendar items:</para>
<orderedlist spacing="compact"><listitem>Login at <ulink url="http://myopenlink.net:8890/ods/">http://myopenlink.net:8890/ods/</ulink> as user demo </listitem>
<listitem>Go to its Calendar </listitem>
<listitem>Go to Import /Export -&gt; Manage Publications -&gt; New Publication </listitem>
<listitem>In the shown form enter: <orderedlist spacing="compact"><listitem>Name: <ulink url="MyPublication">MyPublication</ulink> </listitem>
<listitem>Leave &quot;Refresh Type&quot; as default.
</listitem>
<listitem>Choose for &quot;Destination Type&quot; URL </listitem>
<listitem>Enter  for &quot;<ulink url="WebDAV">WebDAV</ulink> Path / URL&quot;: <programlisting>http://demo.openlinksw.com/DAV/home/demo/mypublication.xml  	 
</programlisting><itemizedlist mark="bullet" spacing="compact"><listitem>Note that if the file does not exists, it will be created if you have the right credentials.
</listitem>
</itemizedlist></listitem>
<listitem>Enter for username and password: demo.
</listitem>
<listitem>Click &quot;Create&quot;.
<itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="OdsCalendarPublish/pub1.png" /></figure> </listitem>
</itemizedlist></listitem>
<listitem>As result the publication will be created.
<itemizedlist mark="bullet" spacing="compact"><listitem><figure><graphic fileref="OdsCalendarPublish/pub2.png" /></figure> </listitem>
</itemizedlist></listitem>
</orderedlist></listitem>
<listitem>You can click the &quot;Sync&quot; button in order to force synchronization.
</listitem>
<listitem>As result the Status should be shown as &quot;OK&quot;  and also should be shown the date of execution.
</listitem>
<listitem>Let&#39;s check what is the content of the created file:</listitem>
</orderedlist><programlisting>BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VTIMEZONE
TZID:GMT+0000
BEGIN:STANDARD
TZOFFSETTO:+0000
TZNAME:GMT +00:00
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID:del624f3e197bg22u81i5i4kh0
URL:http://myopenlink.net/dataspace/demo/calendar/demo%27s%20Calendar/1991
DTSTAMP:20080930T144705Z
CREATED:20080630T151931Z
LAST-MODIFIED:20080630T183700Z
SUMMARY:repair MIS order data
DESCRIPTION:fixed th
....
</programlisting><para><ulink url="CategoryODS">CategoryODS</ulink> <ulink url="CategoryCalendar">CategoryCalendar</ulink> <ulink url="CategoryOdsCalendar">CategoryOdsCalendar</ulink></para>
</section></docbook>