If anyone is still interested, I have been able to get the uploadmeter
to work successfully in IE. It seems IE didn't like the namespace
declarations in the XSL stylesheet and the XML file. Once removed
things started to work.
http://cees.crtconsulting.ca/perl/examples/uploadmeter/
I still haven't abstracted it into an easy to use module yet, but that
is next (along with support for other browsers)
Cheers,
Cees
On 4/24/05, Cees Hek <suppressed> wrote:
> Well, thanks to a miserable day outside, and a few hours that I
> probably should have spent doing real work, I made an attempt at doing
> the upload meter today.
>
> It still needs a bunch of work to clean things up, but it is in a
> working state. I think it can easily be abstracted into a module that
> can then be used from within CGI::Application.
>
> I did run into a few annoying hurdles along the way. In order to use
> the upload_hook in CGI.pm, I needed to pass the hook information when
> the CGI object was created. This meant overriding 'cgiapp_get_query'
> and creating a custom CGI object. I don't know how well that will
> work in a plugin!
>
> The surprising thing is how easy it was to setup the AJAX stuff, that
> took all of 30 minutes of searching the internet, reading and copying
> a couple simple examples. The tough stuff was getting the upload_hook
> stuff working properly.
>
> Anyway, you can try it out here:
> http://cees.crtconsulting.ca/perl/examples/uploadmeter/
>
> If anyone wants a look at the perl code, send me a note, and I'll post
> it as is. Otherwise you will have to wait for another rainy day when
> I can finish things off properly :)
>
> Cheers,
>
> Cees
>
>
> On 4/23/05, Mark Stosberg <suppressed> wrote:
> > This looks like like a fun project for someone to port to
> > CGI::Application:
> >
> > http://sean.treadway.info/demo/upload
> >
> > Written in Ruby and using an "AJAX" backend, it's a demonstration of re-usable
> > software to provide a progress bar and dynamic stats updates for a file upload
> > field.
> >
> > The video linked to from there gives you an idea of what the Ruby interface
> > looks like for the end developer.
> >
> > This seems like a nice function to have available to plug into a
> > CGI::Application as well. :)
> >
> > Mark
> >
> > --
> > http://mark.stosberg.com/
> >
> > ---------------------------------------------------------------------
> > Web Archive: http://www.mail-archive.com/suppressed/
> > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
> > To unsubscribe, e-mail: suppressed
> > For additional commands, e-mail: suppressed
> >
> >
>
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.