%VOSWARNING%
%VOSNAV%
---++ODS Calendar Atom based upstream support
ODSCalendar now supports Atom based upstreaming. Any Calendar instance can be configured to escalate any changes to one or several remoted ODS Calendar instances.
---+++ Configuration
Upstreaming can be configured from Preferences->Upstreams
The form for adding or changing existing upstream contains following fields:
| * Field * | * Value *|
| Name | name of the upstream - list of upstreams actually a list of such names |
| URI | URI of remote ODSCalendar Atom endpoint. Usually it is something like http://host:port/dataspace/{ods-user}/calendar/{calendar-instance}/atom-pub |
| User| name of user who has write permissions on the remote ODSCalendar instance |
| Password | password of *user* |
| Include with tags | Calendar object with this tags will be upstreamed. |
| Exclude with tags| Calendar object with this tags will not be upstreamed. |
The upstreaming is performed on the interval set in the Virtuoso database ini file for paramater SchedulerInterval in the [Parameters] section.
---+++Simple example:
We will use the following data from http://myopenlink.net:8890/ods:
1. There is registered an user test1 with pwd 1.
1. User test1 is an owner of a test1Calendar Calendar instance.
Now perform the following steps:
1. Install the ods_framework_dav.vad and ods_calendar_dav.vad packages.
1. Go to http://host:port/ods
1. Click Sign Up and register user / or login as existing one.
1. Go to the Calendar tab from the ODS main navigation.
1. Click the "Create New" link.
1. In the shown form click the "Create and Launch application" button.
1. As result you will be redirected to the Calendar UI home page of your just created Calendar instance. From the horizontal navigation click the "Preferences" link.
1. Click the "Upstreams" tab.
1. Click the "New Upstream" button.
1. Enter in the shown form:
1. For field "Name:" My upstream
1. For field "URI:" http://myopenlink.net:8890/dataspace/test1/calendar/test1Calendar/atom-pub
1. For field "User:" test1
1. For field "Password:" 1
1. Leave the tags fields empty for now.
* if you want to upstream certain events / tasks containing tags for ex. "virtuoso", then you need to enter in the form field "Include with tags (comma-separated)" the value virtuoso and then to add this tag in the creation form for Events and Tasks.
* if you want not to upstream certain events / tasks containing tags for ex. "sioc", then you need to enter in the form field "Exclude with tags (comma-separated)" the value sioc and then to add this tag in the creation form for Events and Tasks.
1. Click the button "Create".
1. Click the button "Back".
1. Click the button "New Event".
1. Enter in the shown form:
1. For field "Name": my event
1. For field "Description": simple test
1. Click the button "Create".
1. Click the button "New Task".
1. Enter in the shown form:
1. For field "Subject": my task
1. For field "Start Date": 10.01.2008
1. For field "Description": simple test
1. Click the button "Create".".
1. Then go to: http://myopenlink.net:8890/dataspace/test1/calendar/test1Calendar
1. Open "Events" tab
1. You will then see: "my event" one.
1. Go to the "Task" tab
1. View "my task".
CategoryODS CategoryOpenSource CategoryCalendar
%VOSCOPY%