Re: [Evolution-hackers] vcard 2.1 implementation



On Sat, 2005-01-29 at 10:46 +0100, Armin Bauer wrote:

> Is there a specific reason e-vcard.c can only parse vcards (besides the
> name)? I wanted to use it to parse other stuff as well (like vcal,
> vnotes etc), but it only seems to handle vcards even though the BNR of
> all is the same:
> 
> contentline  = [group "."] name *(";" param ) ":" value CRLF
> 
> Why not implement it as a generic parser that understands the vformat
> and implement some more convinient "interfaces" to this parser for the
> vcard, vcal and vnote standard that would then handle the specific
> stuff?

It would be too big a change short-term. But for the long term, a
separate library implementing generic v* parsing could be interesting.

-- 
Hans Petter Jansson | <hpj novell com>
Evolution Developer | http://hp.cl.no/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]