[dev] tovCard() inconsistency in turba

Frank Rosquin frank.rosquin at gmail.com
Wed May 4 16:12:30 PDT 2005


Hi Chuck,

Turba maps it's own fieldnames to vCard specific fiels.
To give a few examples:
It maps cellPhone to TEL;TYPE=CELL:
or homeAddress to ADR;TYPE=HOME:

It also tries to map nickname to NICKNAME:, but turba has no nickname
field. It does have an alias field, but this is ignored.

It tries to map website to URL:, but turba has no website field,
and it tries to map birthday to BDAY:. but again, turba has mo birthday field.

In the case it tries to map non-existent fields, I can see possible
future turba fields, but wouldn't it make more sence to map alias to
NICKNAME: for example?

It also tries to map the ADR field to the vCard format, which has
separate fields for address, city, country, ... Turba doesn't have
this (yet?), so the mapping ends up in a bit odd way in the vcard. It
works though :-)

So looking at the current state, I was wondering if we could:
1) change the mappings like alias > NICKNAME:
2) maybe I'll look into adding some extra fields to turba...

Frank

On 5/5/05, Chuck Hagenbuch <chuck at horde.org> wrote:
> Quoting Frank Rosquin <frank.rosquin at gmail.com>:
> 
> > In turba/lib/Driver.php the tovCard() is inconsistent with the turba
> > field layout. Is this intentional, or accidental?
> 
> It'd be helpful if you could be more specific...
> 
> -chuck
> 
> --
> "But she goes not abroad in search of monsters to destroy." - John
> Quincy Adams
> 
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>


More information about the dev mailing list