[OGo-Users] URLs Accessible from ZideStore

Kianha x users@opengroupware.org
Fri, 4 Apr 2008 13:59:18 +0200


------=_Part_6122_9611858.1207310358399
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,


I have obtained tasks, contacts and the calendar via webDAV. Thanks

But the xml of this files doesn't have the data that I need, a appointment
has last modified date but the tasks and contacts not. How can I access to
this data?
Thanks


2008/4/3, Kianha x <kianha@gmail.com>:
>
> Hi,
>
> I use Windows, Could you recommend me a WebDAV client for Windows? I am
> going to test with Webdrive.
>
> I am a bit of confused. I obtain an ics file when I put an url
> (http://myserver:myport/zidestroe/dav/myuser/Calendar/ics) in the browser.
> Can I obtain only appointments of this way? Can I obtain tasks and contacts
> with a url also, or only with a client?
>
> Thanks,
>
> 2008/4/2, Adam Tauno Williams <adam@morrison-ind.com>:
> >
> >
> >
> > > I can access to the appointments only with :
> > > http://myserver:myport/zidestroe/dav/myuser/Calendar/ics and
> > > http://myserver:myport/zidestroe/so/myuser/Calendar/ics
> >
> >
> > Those are iCalendar URLs.  The container URL just
> > "/dav/myuser/Calendar/" is a collection and not visible with a web
> > browser, you need to explore it with a WebDAV client like cadaver.
> > This, and the available URLs, are documented in WMOGAG,
> > http://docs.opengroupware.org/Members/whitemice/wmogag/file_view
> >
> >
> > > but I don't access to the contacts and tasks:
> > > http://myserver:myport/zidestroe/so/myuser/Contacts/ -->File Not Found
> > > http://myserver/zidestore/so/myuser/Tasks/ -->It isn't appear
> > > anything.
> >
> >
> > You need to use a WebDAV client [like cadaver] or send a propfind
> > request.  For the details see the GroupDAV spec
> > <http://www.groupdav.org/draft-hess-groupdav-01.html>
> >
> > You can even do it with curl -
> > curl -d "<xml>" -H "Content-Type: text/xml" -u adam:******* \
> >   -X PROPFIND  http://gourd-amber/zidestore/dav/adam/Contacts/
> >
> > You'll get a response like -
> > <?xml version="1.0" encoding="utf-8"?>
> > <D:multistatus xmlns:ap="http://apache.org/dav/props/" xmlns:D="DAV:">
> >   <D:response>
> >     <D:href>/zidestore/dav/adam/Contacts/830020.vcf?sn=Williams</D:href>
> >     <D:propstat>
> >         <D:status>HTTP/1.1 200 OK</D:status>
> >         <D:prop>
> >            <D:getetag>830020:47</D:getetag>
> >            <D:resourcetype></D:resourcetype>
> >            <D:getcontenttype>
> >              text/x-vcard; charset='utf-8'
> >             </D:getcontenttype>
> >            <D:displayname>Williams, Michelle</D:displayname>
> >            <D:href>
> >              /zidestore/dav/adam/Contacts/830020.vcf?sn=Williams
> >             </D:href>
> >          </D:prop>
> >      </D:propstat>
> >      <D:propstat>
> >        <D:status>HTTP/1.1 404 Resource Not Found</D:status>
> >        <D:prop>
> >          <D:creationdate/>
> >          <D:getcontentlength/>
> >          <D:getlastmodified/>
> >          <ap:executable/>
> >         </D:prop>
> >       </D:propstat>
> >    </D:response>
> >   <D:response>
> >
> > I suspect the second propstat is a bug as it looks to always be a 404
> > and never contain any information.  Could be wrong as I haven't looked
> > at GroupDAV or the spec in awhile.
> >
> > Then loop through the data and request the object -
> > curl -u adam:***** \
> >   http://gourd-amber/zidestore/dav/adam/Contacts/830020.vcf
> >
> >
> > > -How can I Know the directory of the contacts and tasks?
> >
> >
> > These are documented in WMOGAG
> > http://docs.opengroupware.org/Members/whitemice/wmogag/file_view
> >
> >
> > > -Appointments are ics files, the contacts? and tasks?
> >
> >
> > They are available as vCard, vEvents, etc... but you need to enumerate
> > the collection and retrieve them (WebDAV).
> >
> >
> >
> > --
> > OpenGroupware.org Users
> > users@opengroupware.org
> > http://mail.opengroupware.org/mailman/listinfo/users
> >
>
>

------=_Part_6122_9611858.1207310358399
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Hi,</div>
<div>&nbsp;</div>
<div>
<p>I have obtained tasks, contacts and the calendar via webDAV. Thanks</p>
<p>But the xml of this files doesn&#39;t have the data that I need, a appointment has last modified date but the tasks and contacts not. How can I access to this data?</p>Thanks<br><br>&nbsp;</div>
<div><span class="gmail_quote">2008/4/3, Kianha x &lt;<a href="mailto:kianha@gmail.com">kianha@gmail.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>I use Windows, Could you recommend me a WebDAV client for Windows? I am going to test with Webdrive.<br>
<br>I am a bit of confused. I obtain an ics file when I put an url<br>(http://myserver:myport/zidestroe/dav/myuser/Calendar/ics) in the browser. Can I obtain only appointments of this way? Can I obtain tasks and contacts with a url also, or only with a client?<br>
<br>Thanks,<br><br>
<div><span class="gmail_quote">2008/4/2, Adam Tauno Williams &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:adam@morrison-ind.com" target="_blank">adam@morrison-ind.com</a>&gt;:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><span class="q"><br><br>&gt; I can access to the appointments only with :<br>&gt; http://myserver:myport/zidestroe/dav/myuser/Calendar/ics and<br>
&gt; http://myserver:myport/zidestroe/so/myuser/Calendar/ics<br><br><br>Those are iCalendar URLs.&nbsp;&nbsp;The container URL just<br>&quot;/dav/myuser/Calendar/&quot; is a collection and not visible with a web<br>browser, you need to explore it with a WebDAV client like cadaver.<br>
This, and the available URLs, are documented in WMOGAG,<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://docs.opengroupware.org/Members/whitemice/wmogag/file_view" target="_blank">http://docs.opengroupware.org/Members/whitemice/wmogag/file_view</a><br>
<br><br>&gt; but I don&#39;t access to the contacts and tasks:<br>&gt; http://myserver:myport/zidestroe/so/myuser/Contacts/ --&gt;File Not Found<br></span>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://myserver/zidestore/so/myuser/Tasks/" target="_blank">http://myserver/zidestore/so/myuser/Tasks/</a> --&gt;It isn&#39;t appear 
<div><span class="e" id="q_11913dfc1d15ae05_3"><br>&gt; anything.<br><br><br>You need to use a WebDAV client [like cadaver] or send a propfind<br>request.&nbsp;&nbsp;For the details see the GroupDAV spec<br>&lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.groupdav.org/draft-hess-groupdav-01.html" target="_blank">http://www.groupdav.org/draft-hess-groupdav-01.html</a>&gt;<br>
<br>You can even do it with curl -<br>curl -d &quot;&lt;xml&gt;&quot; -H &quot;Content-Type: text/xml&quot; -u adam:******* \<br>&nbsp;&nbsp;-X PROPFIND&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://gourd-amber/zidestore/dav/adam/Contacts/" target="_blank">http://gourd-amber/zidestore/dav/adam/Contacts/</a><br>
<br>You&#39;ll get a response like -<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;D:multistatus xmlns:ap=&quot;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://apache.org/dav/props/" target="_blank">http://apache.org/dav/props/</a>&quot; xmlns:D=&quot;DAV:&quot;&gt;<br>
&nbsp;&nbsp;&lt;D:response&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;D:href&gt;/zidestore/dav/adam/Contacts/830020.vcf?sn=Williams&lt;/D:href&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;D:propstat&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;D:status&gt;HTTP/1.1 200 OK&lt;/D:status&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;D:prop&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:getetag&gt;830020:47&lt;/D:getetag&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:resourcetype&gt;&lt;/D:resourcetype&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:getcontenttype&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; text/x-vcard; charset=&#39;utf-8&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/D:getcontenttype&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:displayname&gt;Williams, Michelle&lt;/D:displayname&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:href&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /zidestore/dav/adam/Contacts/830020.vcf?sn=Williams<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/D:href&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/D:prop&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;/D:propstat&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:propstat&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:status&gt;HTTP/1.1 404 Resource Not Found&lt;/D:status&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:prop&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:creationdate/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:getcontentlength/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;D:getlastmodified/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ap:executable/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/D:prop&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/D:propstat&gt;<br>&nbsp;&nbsp; &lt;/D:response&gt;<br>&nbsp;&nbsp;&lt;D:response&gt;<br><br>I suspect the second propstat is a bug as it looks to always be a 404<br>
and never contain any information.&nbsp;&nbsp;Could be wrong as I haven&#39;t looked<br>at GroupDAV or the spec in awhile.<br><br>Then loop through the data and request the object -<br>curl -u adam:***** \<br>&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://gourd-amber/zidestore/dav/adam/Contacts/830020.vcf" target="_blank">http://gourd-amber/zidestore/dav/adam/Contacts/830020.vcf</a><br>
<br><br>&gt; -How can I Know the directory of the contacts and tasks?<br><br><br>These are documented in WMOGAG<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://docs.opengroupware.org/Members/whitemice/wmogag/file_view" target="_blank">http://docs.opengroupware.org/Members/whitemice/wmogag/file_view</a><br>
<br><br>&gt; -Appointments are ics files, the contacts? and tasks?<br><br><br>They are available as vCard, vEvents, etc... but you need to enumerate<br>the collection and retrieve them (WebDAV).<br><br><br><br>--<br>OpenGroupware.org Users<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:users@opengroupware.org" target="_blank">users@opengroupware.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.opengroupware.org/mailman/listinfo/users" target="_blank">http://mail.opengroupware.org/mailman/listinfo/users</a><br>
</span></div></blockquote></div><br></blockquote></div><br>

------=_Part_6122_9611858.1207310358399--