Prev: DOSBox and games on FD
Next: iOS4 mem leak?
From: Chris Ridd on 23 Jul 2010 10:18 On 2010-07-23 13:33:34 +0100, Justin C said: > On 2010-07-23, Chris Ridd <chrisridd(a)mac.com> wrote: >> On 2010-07-23 09:48:04 +0100, Justin C said: >> >>> ummm.... I know nothing of DOMs, I know what DOM stands for but that >>> doesn't mean much to me. The page is straight HTML generated by perl >>> CGI. The perl takes a list of files and puts them in a table, with an >>> icon for the file-type, and links to the file so that it can be >>> downloaded. >>> >>> Could you explain further what it is that you want to know? >> >> DOM is how the page is structured inside the browser. It obviously >> *starts* as the stuff coming from your website, but could get altered >> subsequently by any number of things. So what I'm wondering is, is >> anything in the browser transmogrifying the page contents in any way? >> >> If you open Safari's web inspector window you might get some more info. > > Wow, what an interesting thing that is! Yes, it is lots of fun. The resource graph screen is rather helpful when determining how a site is "slow". > I can't spot anything untoward in there. Comparing the 'view source' > shown by Safari, Lynx and Firefox there is no difference... hmmm, > interesting.... Lynx displays the text too.... Firefox? ... Firefox > offers to save the file or "open with...". I suppose that Lynx displays > it because it is just text. > > I'm not convinced that this isn't a Safari problem, rather than the > file. I suspect you're right. -- Chris
From: David Pitt on 23 Jul 2010 11:54
Justin C <justin.1007(a)purestblue.com> wrote: > On 2010-07-22, David Pitt <invalid(a)invalid.invalid> wrote: [snip csv downloading] > > Or put another way, I cannot persuade Safari to download cvs as a file > > either. > > Stupid, stupid, stupid, stupid. Which apple dev thought that we'd want to > view csv in Safari?! A numpty of the highest order. It is not too helpful, the one place one would not want a csv file is in a web browser window. Googling around finds one way to force a download is with a PHP script and a Content-disposition header. My PlusNet website does not have PHP enabled by default so that is me stopped for now. -- David Pitt |