Forum Moderators: open
If you wish to create post a link and not compromise the integrity of your coding ethics this is the work around for you!
This requires your webserver to be running Apache.
Find your .htaccess file (if you use FTP and you can not see your .htaccess file you will need to find the place in your FTP to use filters which in this case would be -a to display hidden files).
Inside your .htaccess add this line...
Redirect permanent /redirect/ http://www.example.com/destination&p=1/
The /redirect/ is on your site. If you have www.domain.ant you would simply create a link that looks like...
<a href="http://www.domain.ant/redirect/">example</a>
The user clicks the link, requests the url, Apache sees the redirect, and forwards the user to the destination.
- John
PS - ANT = Antarctica to keep nuetral. ;)
Google video does not work with properly encoded ampersands. Since you must encode ampersands when using application/xhtml+xml this is the only way I could think to resolve the issue in any realistic form.
- John
- John
You seem to be overlooking that the syntax of URLs on your site is completely irrelevant to Google Video, or any other site you link to. Their webservers only care about the GET request the user agent sends. After all, it is the user agent that parses the X¦(HT)ML on your page, not Google Video.
Perhaps you could post an example of what you regard a valid link that Google Video does not support. That might clarify things.
[edit: fixed typo]
[edited by: RonPK at 4:33 pm (utc) on Nov. 8, 2006]
application/xhtml+xml by simply replacing & by & (as you would expect). My markup looks like this: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=1234567890[b]&[/b]hl=en-CA" flashvars=""> </embed>
</body>
</html> Tested in Firefox 1.5 (Linux), Page Info confirms the mime type as
application/xhtml+xml .