DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:table2csv

This is an old revision of the document!


table2csv Plugin

Compatible with DokuWiki

Angua

plugin Exports a table to a csv file

Last updated on
2012-07-03
Provides
Action
Repository
Source
Requires
tools

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with csv, export, table

The table2csv plugin provides the ability to export a table on a page to a csv file.

Installation

:!: External requirements: This plugin requires the following additional components that must be installed separately:

Install the table2csv plugin using the Plugin Manager and the download URL above. If you install this plugin manually, make sure it is installed in lib/plugins/table2csv/

Examples/Usage

Gas Spending
^ Date     ^ Cost  ^ Gallons  ^
| 1/1/12   | 3.55  | 5        |
| 1/12/12  | 3.49  | 10       |

~~TOOLS:both~~
<table2csv>&startMarker=Gas Spending&</table2csv>

The file page should display the plugin Tools selection to Export To csv in the top and bottom right corners of the page. Select this to export the table into a csv file. The filename and path defaults to table.csv in the dokuwiki base install folder.

Syntax

<table2csv>&startMarker=any text&</table2csv>     

The startMarker is used to identify where to start looking from to grab the next table. The text <i>any text</i> would be replaced by your page text that is located before the table to export. Make sure the text used is not part of the table definition such as a heading or caption. No quotes are used unless thay are in your start marker.

Add the following to a page to display the export to csv button in the top and bottom right corners

~~TOOLS:both~~

Configuration and Settings

Edit the file /conf/default.php to specify the file name and path. The path is relative to the base of the dokuwiki install folder.

Change Log

Known Bugs and Issues

ToDo/Wish List

  • Export file as a download file where the user specifies a local path

Discussion

plugin/table2csv.1342998214.txt.gz · Last modified: 2012-07-23 01:03 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki