Hello,
I have been Googling for a bit now as to how to let the user save the current page via a 'clickable icon' to an HTML file (i.e., on the client side.)
That is, I am presenting a lot of analytical results (from a PostgreSQL database) and the parameters the user selected on a page as a series of table, etc - with the number of results and hence the number of "little tables" being related to what parameters they chose.
The results_analyti cal_detailed.ph p page presents well...
I have added an icon to save the results, unformatted, as a CSV, works just hunky dory...
aside - I discovered if you make a file with a \t delimiter and \n for the CRs and give the file a *.xls ending, Excel knows how to open this! Users may not have Excel, but in my setting most of them do... and I don't have to write code to strip out all the commas in a bibliography list the user parsed - and indeed would not want to - if I instead wanted to have available as a CSV for the client's download... well, I was happy to find this, even if you knew about it already! :-)
I have added an icon to save the results as an HTML, so they can come back to later, etc, etc (and open in MS Word if they must ;) )
What approach could someone suggest to save the current page as an HTML file to the client?
Note that I have added an icon to save the results as a PDF, and based on a couple of replies to another post I am off to look at how to do this now! :-) What a resource! :-)
Thanks in advance:
GREG...
I have been Googling for a bit now as to how to let the user save the current page via a 'clickable icon' to an HTML file (i.e., on the client side.)
That is, I am presenting a lot of analytical results (from a PostgreSQL database) and the parameters the user selected on a page as a series of table, etc - with the number of results and hence the number of "little tables" being related to what parameters they chose.
The results_analyti cal_detailed.ph p page presents well...
I have added an icon to save the results, unformatted, as a CSV, works just hunky dory...
aside - I discovered if you make a file with a \t delimiter and \n for the CRs and give the file a *.xls ending, Excel knows how to open this! Users may not have Excel, but in my setting most of them do... and I don't have to write code to strip out all the commas in a bibliography list the user parsed - and indeed would not want to - if I instead wanted to have available as a CSV for the client's download... well, I was happy to find this, even if you knew about it already! :-)
I have added an icon to save the results as an HTML, so they can come back to later, etc, etc (and open in MS Word if they must ;) )
What approach could someone suggest to save the current page as an HTML file to the client?
Note that I have added an icon to save the results as a PDF, and based on a couple of replies to another post I am off to look at how to do this now! :-) What a resource! :-)
Thanks in advance:
GREG...
Comment