Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: •Re: Tweaks Made to FullPage Chat

by bart (Canon)
on Oct 23, 2002 at 22:50 UTC ( #207561=note: print w/ replies, xml ) Need Help??


in reply to •Re: Tweaks Made to FullPage Chat
in thread Tweaks Made to FullPage Chat

This is the refresh meta tag as it is now:

<meta http-equiv="refresh" content="12; url='/index.pl?displaytype=ra +w&node_id=3200'" />
According to several tutorials I found, one shouldn't put those single quotes around the URL, for example Webmonkey and indiana.edu.

So this tag should really look like:

<meta http-equiv="refresh" content="12; url=/index.pl?displaytype=raw +&node_id=3200" />
At least merlyn's browser falls over the presence of that opening single quote.


Comment on Re: &bull;Re: Tweaks Made to FullPage Chat
Select or Download Code
•Re: Re: •Re: Tweaks Made to FullPage Chat
by merlyn (Sage) on Oct 23, 2002 at 22:54 UTC
    So this tag should really look like:
    <meta http-equiv="refresh" content="12; url=/index.pl?displaytype=raw +&node_id=3200" />
    No, it should really be:
    <meta http-equiv="refresh" content="12; url=/index.pl?displaytype=raw +&amp;node_id=3200" />
    You forgot the HTML escaping step. Just like most of Everything2 does, last time I looked. And it's all broken.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

Re: Re: &bull;Re: Tweaks Made to FullPage Chat
by arturo (Vicar) on Oct 23, 2002 at 23:36 UTC

    Discussion of this issue went on for a while, so I'll just sum it up here:

    Nobody was able to find anything constituting anything like a W3C standard governing the content of content attributes of meta refresh tags. bart is correct in pointing out, (AFAIK) that no browser appears to fail if the single quotes around the URL "sub-attribute" are omitted, so if the darn things are going to be used and not proper HTTP headers, well, then it's best to omit the quotes (although I found examples containing quotes on a site owned by the same miscreants that appear to have invented this mess.

    W/ most browsers, the "sub-attribute" is only needed if the refresh tag is one of those cheesy redirects (my technical term of choice). Refreshing the same page needs only a time.

    For those of you who are interested, this was the closest thing I could find to a "reference" on the subject. Yes, not only did they invent <blink>, this, too is their fault =)

    If not P, what? Q maybe?
    "Sidney Morgenbesser"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://207561]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2014-09-19 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (133 votes), past polls