I'd take a look at modifying the existing CsvMacro[1] to support
another calling convention where it can make use of an attachment.

You can take a look at the ScrippetMacro[2]'s macro implementation for
a way of doing this so the macro can work as both called both like:
{{{
#CSV
<data>
}}}
and as
[[CSV(<attachment name>)]]

Ben
[1] http://trac-hacks.org/wiki/CsvMacro
[2] http://trac-hacks.org/browser/scrippetmacro/0.12/scrippets/macro.py

On Sun, Nov 27, 2011 at 3:07 PM, Helend <[email protected]> wrote:
> I would like to develop a plugin to show csv attachment as table. Do
> you have any idea to start it except "filter_stream".
>
> Thanks.
>
> Cheers,
> Bangyou
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Trac Development" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/trac-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to