One of my customers needed an easy way to embed XSL files in his site on regular basis.
I made him a solution using the GS Shortcodes , but I changed the structure a bit + a language help file, so I attach it here if you'll want to adopt it to the "official" plugin.
I used a class for reading Microsoft Excel (97/2003) Spreadsheets (http://code.google.com/p/php-excel-reader/) ... enhanced with a few fixes I had to adapt for proper UTF-8 ( for Multi-bite Langs - as Hebrew) , and for "empty table cells" ....
xls2html is enabeling you to embed XLS files as HTML tables in your site pages
You need to upload your xml file(s) to your data/uploads/xls/ directory, and specify the name of the file in the file="" section.
Ex: [xls2html file="" rownumbers="" coletters="" sheetnum="" tableclass="" tableid="" /]
I'm attaching it here , but if there will be a need I can make a stan-alone plugin out of this ... though the "GS Shortcodes" is enough if n00dles101 wants to add it ...
My version is attached + 2 screenshots: the table result in a page (Hebrew, sorry) and the help section I improved @ the admin side ...
I made him a solution using the GS Shortcodes , but I changed the structure a bit + a language help file, so I attach it here if you'll want to adopt it to the "official" plugin.
I used a class for reading Microsoft Excel (97/2003) Spreadsheets (http://code.google.com/p/php-excel-reader/) ... enhanced with a few fixes I had to adapt for proper UTF-8 ( for Multi-bite Langs - as Hebrew) , and for "empty table cells" ....
xls2html is enabeling you to embed XLS files as HTML tables in your site pages
You need to upload your xml file(s) to your data/uploads/xls/ directory, and specify the name of the file in the file="" section.
- file => '' (Name of the xls file)
- rownumbers => 'false' (show/hide top row numbers, defauld=false)
- coletters => 'false' (show/hide side col letters, defauld=false)
- sheetnum => '0' (number of the sheet to show from the file, defauld=0)
- tableclass => 'excel' (the class of the table, defauld=excel)
- tableid => 'excel' (the id of the table, defauld=excel)
Ex: [xls2html file="" rownumbers="" coletters="" sheetnum="" tableclass="" tableid="" /]
I'm attaching it here , but if there will be a need I can make a stan-alone plugin out of this ... though the "GS Shortcodes" is enough if n00dles101 wants to add it ...
My version is attached + 2 screenshots: the table result in a page (Hebrew, sorry) and the help section I improved @ the admin side ...