Re: retrieving vcards from ogo via zogi?

Adam Tauno Williams <[email protected]> Wed, 29 Oct 2008 11:05:33 -0400
Newsgroups gmane.comp.cms.opengroupware.user
Message-ID <[email protected]>
> as I'm still having the problem that davfs2 shows me empty folders when I 
> take a look at the public/Contacts or public/Enterprises.
> I had the ogo webdav mounted on a server, and used rsync once at night, to 
> sync the vcards to a faster filesystem for public usage.
> Because this doesn't work anymore, I'm looking for an alternative way to 
> retrieve the vcards out of ogo, and I thought that maybe zogi can help me. 
> I took a look into the examples of zogi.
> As far as I can see, the examples do not provide one on how to save a 
> contact as a vcard, 

No, at least not currently.  It wouldn't be hard to add, but it would be
rather odd to request a vCard via XML-RPC.

> but that may also be too much for the examples there. 
> As the examples are all in python, I fond this python package interesting:
> http://vobject.skyhouseconsulting.com/

That is neat.  I'm still looking for the same thing in .NET as our
*long* term goal is to provided the zOGI API via a .NET service (runs as
a service on either LINUX or Windows);  the basic framework for this has
already been coded,  but the Logic portion is a non-trivial port. :)

> Before I go on, I'd like to ask, whether someone may already have a pyhton 
> or other script to retrieve the contact information from ogo via zogi, and 
> saves them as vcards somewhere?
> Or are there any other ways to achieve the goal in an automated way?

I'm curious if you could to a collection get look through the results to
request each vCard from ZideStore via Python.  There was some GroupDAV
Python code once upon a time.

-- 
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users