Convert CSV to simple HTML table

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.

There are already more than 250 extensions available!
Post Reply
gforce7
 
 
Posts: 11
Joined: Fri Jun 24, 2011 3:45 pm

Convert CSV to simple HTML table

Post by gforce7 » Fri Jul 13, 2012 7:53 pm

I could not find what I needed so I threw this together. I wanted a way to dynamically import a csv file to a simple html table. This gives a coworker of mine an easy way to edit price lists, comparison charts etc.. without them having to edit the actually pages (or bother me :) ). I also did not want to mess with sql or any other kind of database.

I do not offer any support and did not include any help file. It is pretty self explanatory.

http://www.mediafire.com/?2qbs0yf22dwr0q7


** Updated to support multiple tables per page with individual "styles"
** Updated to support use of first row data for table heading.


I created this extension over a weekend to fill a need of mine. I think it now does what I need so this will be my last update. As simple as it is I hope someone gets use out of it. I have included the extension builder source code if anyone would like to improve upon it. I hope you do and that you will share your changes with the community.

Thanks,
Allen
Last edited by gforce7 on Sun Jul 15, 2012 3:53 am, edited 2 times in total.

User avatar
Adendum
 
 
Posts: 743
Joined: Fri Apr 22, 2011 4:50 pm
Location: London, UK
Contact:

Re: Convert CSV to simple HTML table

Post by Adendum » Sat Jul 14, 2012 9:57 am

I'm currently working on an extension for just this and more. The test site shows an example with three separate CSV files, converted to tables and styled differently. The extension uses jQuery Tablesort so tables can be sorted.

I't'll be a few more days before it's finished as I'm re-working a client site but hopefully middle of next week could be the release date.
Aditerum - No longer supporting WWB extensions - refer to CJS.
Aditerum - No longer supporting WWB templates - refer to CJS.


WWB 9.4; Ext Builder 4.2; Windows 10 64bit; Intel Core i7-3770 Processor 3.40Ghz; 16.0Gb RAM
Death to Internet Explorer!

gforce7
 
 
Posts: 11
Joined: Fri Jun 24, 2011 3:45 pm

Re: Convert CSV to simple HTML table

Post by gforce7 » Sat Jul 14, 2012 4:12 pm

Will the sorting and pagination be optional? Thats one thing I wasnt needing and lead me to TRY and develop my own extension. I was looking at some table code last night and think i can easily add styles to make the tables look better and give a few more options.

I'll keep watching for your extension to be posted. Cant wait to try it. Looks a lot better than mine!! :)

Thanks,
Allen

User avatar
Adendum
 
 
Posts: 743
Joined: Fri Apr 22, 2011 4:50 pm
Location: London, UK
Contact:

Re: Convert CSV to simple HTML table

Post by Adendum » Sat Jul 14, 2012 4:39 pm

Allen,

I am trying to build in all of the possible options so not setting any sort parameters is one of the things on my to do list. When it's ready I'll post back here and in the extension's own thread.
Aditerum - No longer supporting WWB extensions - refer to CJS.
Aditerum - No longer supporting WWB templates - refer to CJS.


WWB 9.4; Ext Builder 4.2; Windows 10 64bit; Intel Core i7-3770 Processor 3.40Ghz; 16.0Gb RAM
Death to Internet Explorer!

gforce7
 
 
Posts: 11
Joined: Fri Jun 24, 2011 3:45 pm

Re: Convert CSV to simple HTML table

Post by gforce7 » Sat Jul 14, 2012 6:36 pm

see original post for latest (and final) v3 update :)

BTW, thanks for all of your great plugins Adendum.

Allen

User avatar
Adendum
 
 
Posts: 743
Joined: Fri Apr 22, 2011 4:50 pm
Location: London, UK
Contact:

Re: Convert CSV to simple HTML table

Post by Adendum » Sun Jul 22, 2012 5:43 pm

Adendum wrote:I'm currently working on an extension for just this and more. The test site shows an example with three separate CSV files, converted to tables and styled differently. The extension uses jQuery Tablesort so tables can be sorted.

It'll be a few more days before it's finished as I'm re-working a client site but hopefully middle of next week could be the release date.
Extension now released: viewtopic.php?f=42&t=49343
Aditerum - No longer supporting WWB extensions - refer to CJS.
Aditerum - No longer supporting WWB templates - refer to CJS.


WWB 9.4; Ext Builder 4.2; Windows 10 64bit; Intel Core i7-3770 Processor 3.40Ghz; 16.0Gb RAM
Death to Internet Explorer!

Post Reply