Bluesplayer
12-03-2009, 07:50 PM
Hi
I am developing a site for movies mainly. I have created a menu with the latest youtube films rss feed. Works great and the search results are shown inside my site. Even though it works at all times the script throws up an error report at the top of the site when the ' tags are in the string. Double tags - " - work ok. I need to figure out how to remove the single tags or to show them as double ones. I don't have any control over the rss feed results so I was thinking either htaccess or some sort of php stripping code could sort this out. The search string that is causing me problems is like this:
http://bluesplayer.co.uk/youtube_movies/list.php?q='2012' Trailer HD&sa.x=20&sa.y=14&filter=off
This works:
http://bluesplayer.co.uk/youtube_movies/list.php?q="2012" Trailer HD&sa.x=20&sa.y=14&filter=off
I could perhaps switch off error reporting but I really don't want to do that. What I would really like to do is remove the " tags from showing at all as it makes the search box display the title correctly. Any ideas how to sort this?
Regards
Bluesplayer
I am developing a site for movies mainly. I have created a menu with the latest youtube films rss feed. Works great and the search results are shown inside my site. Even though it works at all times the script throws up an error report at the top of the site when the ' tags are in the string. Double tags - " - work ok. I need to figure out how to remove the single tags or to show them as double ones. I don't have any control over the rss feed results so I was thinking either htaccess or some sort of php stripping code could sort this out. The search string that is causing me problems is like this:
http://bluesplayer.co.uk/youtube_movies/list.php?q='2012' Trailer HD&sa.x=20&sa.y=14&filter=off
This works:
http://bluesplayer.co.uk/youtube_movies/list.php?q="2012" Trailer HD&sa.x=20&sa.y=14&filter=off
I could perhaps switch off error reporting but I really don't want to do that. What I would really like to do is remove the " tags from showing at all as it makes the search box display the title correctly. Any ideas how to sort this?
Regards
Bluesplayer