Re: [PROPOSAL] File_IMC
| From: | Paul M Jones | Date: | Fri, 26 Sep 2003 00:09:30 +0000 |
| Subject: | Re: [PROPOSAL] File_IMC | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22050@lists.php.net to get a copy of this message | ||
On Thursday, Sep 25, 2003, at 18:56 US/Central, Jan Schneider wrote:
Without having the time to look at your code in depth: one thing that bit me recently was the fact that different characters have to be escaped in different vCard versions, so that you need to retrieve the version before you actually start to parse the value fields.That has not bit us (yet) but it's possible I missed something in the specs. If you could email me off-list and point out references to the RFCs I'd appreciate it -- it never hurts to check over one's own work.
I had hoped so, but there's always the chance that I didn't think of something. Good to know that you think that's the right thing to do.Contact_Vcard has an uses extensible structure that lends itself to this kind of work (basically a multiple-depth associative array).Yeah, that's the only sensible way to return the parsed data.
Btw, will you support multiple cards, events per file?Absolutely. Contact_Vcard_Parse already reads multiple vCards.
http://cvs.horde.org/cvs.php/horde/lib/Data.php http://cvs.horde.org/cvs.php/horde/lib/Data http://cvs.horde.org/cvs.php/horde/lib/iCalendar.php http://cvs.horde.org/cvs.php/horde/lib/iCalendarThanks. -- pmj