Hi,
I've just trying to add a simple script to my site. I got this simple script from a friend of mine (which was based from the code from PerlMonks site). The script aims to retrieve the headlines from the BBC News web site. You can see the source code at that address:
http://ileriseviye.org/BBCNewsTicker.html
I've tried the script from my Debian GNU/Linux command line and it worked like a charm. So I decided it to upload to my website and call it from an IFRAME tag. This way the script which lives at
http://ileriseviye.org/cgi-bin/BBCNewsTicker.pl would liven up the homepage of the site. I did what I should and then fired up my Mozilla web browser. Everything was OK when I connected to
http://ileriseviye.org. I refreshed it a few times and each time the page was rendered within a few seconds.
So what is the problem you ask? When I switched to Win2000 and tried to view this page using Internet Explorer (5.5, & 6.0) the page behaved very very differently! It took ages to render the page. At first I thought it can be related to some IFRAME tag issue related to IE. Or maybe the problem was with BBC News site. However when I ran Mozilla or Phoenix on Win2000 everything seemed OK once again. While IE was struggling to retrieve the page I was refreshing the same page using Mozilla & Phonenix and there was no problem for these browsers.
Since this is server-side programming I simply couldn't understand why it is very different for different web browsers. I'm new to Perl, CGI, etc. so I'll be glad if the fellow experienced monks can enlighten me on this problem. All comments showing me the right way are welcome.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.