Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Current url inside another url
April 28, 2005, 3:04 pm
rate this thread
to ask two possibly dumb questions one right behind the other.
Anyways, I use Movable Types version of SSI (<$MTInclude
module="Footer"$> as opposed to <!-- #include file="footer.html" -->)
because it's easier. In my footer I want to include a link to the w3
validation page of whatever page you happen to be looking at.
Currently I have this link to the validation page of the index in the
How can I get the above link to logically work like this...
<a href="http://validator.w3.org/check?uri =[current url]">Valid XHTML
I keep running into the problem of the quotation marks around the url.
I tried to use an SSI inside the url but the parser gets confused as to
where the url for the href is suppose to end and where the SSI begins.
Is there a work-around?
Re: Current url inside another url
Why can't you just set the url to
<a href="http://validator.w3.org/check/referer ">Valid XHTML 1.0</a>
Since the current page is the referer, the validator will validate
that page in question.
Top posters will be ignored. Quote the part you
are replying to, no more and no less! And don't
quote signatures, thank you.