[dev] [framework-patch] csv export: Outlook friendly

Chuck Hagenbuch chuck at horde.org
Sun Aug 1 21:26:31 PDT 2004


Quoting Francois Marier <francois at nit.ca>:

> Here's a patch to make Horde CSV files importable into MS Outlook.
>
> It does 3 things:
>
>   - rename the fields so that Outlook will match them
>   - double quotes ( e.g. "Bob "big guy" Jones"  =>  "Bob ""big guy"" Jones" )
>   - use \r\n as the EOL
>
> All of the above are necessary to have Outlook compatibility.

This sounds good. However, what I'd like to see is:

- don't store maps inside Horde_Data; pass them in from the application 
instead.
- no need for two maps, you can just array_flip() it.

Can you submit an updated patch?

Thanks,
-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the dev mailing list