Description and Usage
Adds a csv action to pages to allow easy export to CSV spreadsheet format of all tables on a page.
This recipes adds a ?action=csv capability to all page urls. When done, the output is streaming Comma-Separted Values that you can easily import into a spreadsheet. The recipe works off the HTML product of the page, so this works for simple tables or directives based tables (or even embedded HTML tables or tables from other recipes). For example, you could write a pagelist that produces tabular output on a page and use this to export to CSV.
Not all pages will work as expected. This assumes that you have a pretty straightforward table representation on the page. Non breaking space markup is translated to space, other data is run through html_entity_decode, which defaults to UTF-8. (should I try to detect?)
Change log / Release notes
Recipe written and maintained by Ccox.