简体   繁体   中英

How to get data from excel sheet in html/css page?

I have one HTML template http://blog-mission-log.space/edit.html . This page is for one state Arkansas of US and I need to make pages for other 50 states with the same design. This template is for a survey of US states. The design of page would be same but the content for all states will be different. The data is stored in one excel sheet. And I need to get the data from that excel sheet in the specific page of a particular state. Here is excel sheet data screenshot http://prntscr.com/jz0e77

Is there any way that I can create the other 50 pages by populating data from that excel sheet with any code in Javascript/Jquery or any other platform? Or any other solution for this?

You could start learning node.js (it allows you to script/build apps in javascript). Then you can use a module like node-xlsx https://www.npmjs.com/package/node-xlsx to parse the Excel files and transform it into html data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM