[ckan-dev] Offering the same resource in multiple file formats

Ian Ward ian at excess.org
Tue Mar 7 13:30:49 UTC 2017


It would be pretty easy to build XLSX output on
https://github.com/ckan/ckan/pull/3390 and you can already use this to
generate Excel-compatible CSVs with the bom=true parameter. Maybe it's
time to add a plugin interface to allow these formats to be extended
by plugins.

On Tue, Mar 7, 2017 at 8:19 AM,  <Florian.Brucker at it.karlsruhe.de> wrote:
> Hi everybody,
>
> I often would like to offer the same resource in multiple file formats. For
> example, Excel's auto-import for CSV is rather broken, so instead of
> mangling all our CSV-files to suit Excel's needs I'd rather just offer
> XSLX-files of the same data in addition to "standard"-compliant CSV-files
> for everybody else.
>
> However, I definitely don't want to manually maintain the separate versions.
> Has anybody set up automated ways of doing this? Off the top of my head, I
> could image
>
> 1. Generating converted copies when the original resource is
> created/modified
> 2. Generating converted copies when they are requested
>
> Both have their pros and cons, so I'd love the hear some real-world
> experiences.
>
> In addition I'm wondering about the best way to present this choice to the
> user.
>
>
> Regards,
> Florian
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>



More information about the ckan-dev mailing list