Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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.

In reply to BBCNewsTicker.pl Behaves Different For Different Browsers by YAFZ

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found