By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,406 Members | 2,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,406 IT Pros & Developers. It's quick & easy.

"Dynamic" page content.

P: n/a
Basically I have written a cgi script in Python to automatically
download TIFF
images of patents from the US patent office and create a PDF file of
them.

What I want is that the user can see what is happening when the images
are being downloaded, because it takes a while to download them and
there can be anything up to 30 individual files for each image.

Is there a way of using Javascript or any other means, that I could it
could print on the webpage:

Downloading image 1

Downloading image 2
....
Downloading image X

as the individual pictures are being downloaded so the user doesn't
think the program is hanging?
To give you a better explaination of what I want, you could visit
www.pat2pdf.org.

Type in 123456 as the patent number, you see what it does? It tells the

user that it is requesting the various TIFF images and then displays
the link to the PDF file that it has created.

This is exactly what I want to do, so if anyone has any idea how it is
done I would be greatful.

Jan 22 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a


sophie_newbie wrote:
Basically I have written a cgi script in Python to automatically
download TIFF
images of patents from the US patent office and create a PDF file of
them. To give you a better explaination of what I want, you could visit
www.pat2pdf.org.

Type in 123456 as the patent number, you see what it does? It tells the

user that it is requesting the various TIFF images and then displays
the link to the PDF file that it has created.


Why do you think you need client-side JavaScript? Does that site work
with client-side script? No (well they do some advertising at the end
with script).
Ask in a Python CGI scripting group on how to achieve that, if threading
is possible you could use that to fetch the data while starting to send
HTML to the client.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jan 22 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.