Forum OpenACS Q&A: creation of ziped text file from database...
survey that has reached ~2000 Answers on 50 Questions! It is a pretty
tough job for the db!
I wrote a page called special survey that displays all anwers in a
html table, so that users can cut and paste it into some statistics
programm... But the file is around 5mb large and crashes every browser...
I would need a button on /survsimp/admin/one.tcl that allows the
download of a comma seperated txt file (html would be way larger...)
which would be generated on the fly from the db and automatically
compressed (zip for Windows users...)
Any solutions or parts of a solution?
I wouldn't put this in the beta branch but we could add it to the development branch.
What do folks think? Anyone want to volunteer to add the necessary parameter and patch to the template package?
rl_returnz is actually pretty stable (mydomain.com is running it since quite a while ago with no trouble) and I'd recommend enabling it by default if you make it configurable. It would give first-time OpenACS users a nice "wow, this thing is fast!" feeling :)
I don't think this solves David's problem though, because the browsers crash/hang when trying to rendering the 5Mb HTML, not when downloading it.