Exporting html input to excel/csv - html

I'm looking to create a logging system, but I'm not sure where to start. Could you please point me in the correct way.
I'm looking to create a bootstrapped html page that collects data from an input.
This input should have 4 "columns" or "cells". This data needs to be "pushed" into a csv file to be downloaded at a click or get live updated.
Could anyone point me to a tutorial or docs where I could learn how to do this?
I usually work with Node.JS.
Thank you very much for your time.

Related

What are my options when it comes to uploading a excel sheet to a table in a database

I am working on a little project of mine and I came to the conclusion that being able to automatically upload a excel sheet to my database would be very, very useful, the table itself would be a User table with Id, name and title.
I ask because I am still new to programming in general and I don't want to do something overly complicated, just a small popUp with a upload input with the type of file restricted to only the one I would use and for the file to be uploaded and entered into the database.
I would most likely keep using Wamp server for this if it makes any difference. Also the code to achieve this should be either HTML, JS PHP or a combination of those seeing that I don't really know ANYTHING yet of any other language.
I was told that one way would be to export excel sheets to CSV (Comma Separated Value?) and then upload it that way. But I don't really know how start about that.
Any help or suggestions would be great. Thanks a lot in advance

Save HTML data in iPad

I've searched through the forum and couldn't find a specific answer on my troubles
so im hoping that a friendly person or persons are willing to help me out,
i will send a lot of good karma in your direction. :)
I have 100 HTML forms which i have to show in my iPad application and i am showing it in UIWebView and creating PDF with the help of taking snapshot.
But now requirement has been changed i have to edit that saved HTML file.
How can i save the data entered by user for editing so that i can
save the full HTML file with data in Database.
Hopefully some of you are able and willing to help me out.
I will try to answer everything thats unclear.

Rails upload a file and render it as an HTML page

I am building a website with ROR 3. I need to provide a page to my clients wherein he could edit his pricing info regarding the application. I am quite confused on how to do this. The pricing page needs to be displayed as an html table with different columns which has got the pricing info.
I am thinking of different ways to do this.
1) Allow the client to create and upload an html page and then save it as a file in my public directory and render as an when the client clicks on the pricing link.
2) The clients may not have bare technical knowledge, hence make the client upload some other formats like Word, Excel etc and then parse it and store it as an HTML file in the public directory.
3) Provide the client with some real time editing tools where in the client could edit in a fixed format, and after wards save the file and render it later.
Also, I wouldn't like to store these infos in my database. There would be quite a few number of clients and hence managing all these data in my database would become cumbersome. Storing all these as plain html files and rendering it later would be the most ideal thing for me.
There might be other better steps in doing this as well. Could you please suggest which might the better, or any other option that could suit my needs? Basically I would want my clients to have a mechanism where they could provide there pricing details, edit it later and display it back as an html table, all this without using an Database backend. Any suggestions would be mostly appreciated.
Good way is Excel(csv format).
You can do PHP with Excel. I thing this is the best solutions for your requirement.
Try this.
http://php.net/manual/en/function.fgetcsv.php
If you are give authority to user to change edit contain and you have to used " CSV or Excel" please see these links:
Importing CSV and Excel
Exporting CSV and Excel
If you really don't want to use database then you can use YAML as a structured storage.
e.g. ( you, most probably, could come up with a better structure )
SMS_Pack:
Sl_No:
1: 10000
2: 25000
3: 50000
You can read those .yml files and parse them as hashes. Should be fairly easy to represent that hash as a HTML table.
For the creation, I'm sure you can come up with some dynamic form input. Or to just let the client send this kind of file ( which might not be the best solution ).
But it just might be easier to manage all of this information within a database.

Easiest Way to Parse Data from a Webpage to XML

I need to create a daily process which pulls market data from a website http://www.apxendex.com/index.php?id=137.
I had originally created an excel+VBA sheet which added the data to an xml file and this worked fine. However, the machine which I will be putting the code on doesn't have excel so all my work was pointless (stupid I know).
I'm not looking for someone to write anything for me, but some general tips on where to start, what language to go for etc. would be helpful.
Thanks
How did you get your information from the website?
There is a DataCapture API for that site. You can find the manual on this site (you have to login to see the manual). I guess it would be the easiest way to go the recommended way.

dreamweaver and mysql help

I am new to dreamweaver cs4 and am trying to do some basic functionality. I have followed an online tutorial which showed me how to create a template.dwt file and include some editable regions in the file. Then to create HTML and PHP files based on the template which let me put data in the various editable regions.
I want to take this a step further and show data from a MySQL DB on a page. I have created a connection to the MySQL server and tested it okay. I have created a recordset and am at the point where I cant see how to display the recordset on a page in an editable region. If anyone has any ideas or has any tutorials online that they can point me towards that would be great.
Thanks
Although this isn't a free online tutorial the book series "The Missing Manual" is actually very detailed with Dreamweaver.