DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:table2csv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:table2csv [2012-07-23 00:27] tom_cplugin:table2csv [2016-05-15 20:58] (current) – old revision restored (2015-08-20 15:13) ach
Line 6: Line 6:
 email      : tcafferty@glocalfocal.com  email      : tcafferty@glocalfocal.com 
 type       : action type       : action
-lastupdate : 2012-07-03 +lastupdate : 2013-09-05 
-compatible : Angua+compatible : Angua, Adora Belle, Binky
 depends    : Tools depends    : Tools
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : csv,export,table,experimental+tags       : csv,export,tables
  
-downloadurl: http://github.com/TomCafferty/plugin-table2csv/zipball/master +downloadurl: https://github.com/TomCafferty/plugin-table2csv/zipball/master 
-bugtracker : http://github.com/TomCafferty/plugin-table2csv/issues +bugtracker : https://github.com/TomCafferty/plugin-table2csv/issues 
-sourcerepo : http://github.com/TomCafferty/plugin-table2csv/+sourcerepo : https://github.com/TomCafferty/plugin-table2csv
 donationurl:  donationurl: 
 ---- ----
  
-The table2csv plugin provides the ability to export a table on a page to a csv file. +The table2csv plugin provides the ability to export a table on a dokuwiki page to a csv file. 
  
 ===== Installation ===== ===== Installation =====
  
 :!: **External requirements:** This plugin requires the following additional components that must be installed separately:  :!: **External requirements:** This plugin requires the following additional components that must be installed separately: 
-  * A branch of the Tools plugin from [[https://github.com/TomCafferty/plugin-tools/zipball/master]]+  * [[plugin:tools|Tools plugin]]
  
 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/ 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/
Line 38: Line 38:
   <table2csv>&startMarker=Gas Spending&</table2csv>   <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.+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. The example can be seen at [[http://clean.glocalfocal.com/doku.php?id=start|Plugin Examples Site]] FIXME
  
 ===== Syntax ===== ===== Syntax =====
 +
   <table2csv>&startMarker=any text&</table2csv>        <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.+ 
 +The startMarker is used to identify where to start looking from to grab the next table. The text //any text/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 they 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 Add the following to a page to display the export to csv button in the top and bottom right corners
Line 49: Line 51:
 ===== Configuration and Settings ===== ===== 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.+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 === === Change Log ===
  
-{{rss>http://github.com/feeds/TomCafferty/commits/plugin-table2csv/master date}}+{{rss>https://github.com/TomCafferty/plugin-table2csv/commits/master.atom date}}
  
 === Known Bugs and Issues === === Known Bugs and Issues ===
  
-http://github.com/TomCafferty/plugin-table2csv/issues+https://github.com/TomCafferty/plugin-table2csv/issues
  
 === ToDo/Wish List === === ToDo/Wish List ===
- 
  
   * Export file as a download file where the user specifies a local path   * Export file as a download file where the user specifies a local path
 +     * Yes this would make the plugin much more convenient and useful indeed :) 
 +     * Or maybe allow the output to be emailed to some default email address (i.g. admin email address). 
 +  * It would be nice if the plugin didn't NEED to have the tools plugin installed. Having it would be a option but the plugin would also be able to generate its own button in the floating menu, for instance. The position of the button (via this plugin or via the "tools" plugin) would be configurable in the admin settings.
 ===== Discussion ===== ===== Discussion =====
  
plugin/table2csv.1342996047.txt.gz · Last modified: 2012-07-23 00:27 by tom_c

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