Results 1 to 10 of 10

Thread: RSS Feed Strange Characters

  1. #1
    Hardcore Geek ziycon's Avatar
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    565
    Post Thanks / Like

    Default RSS Feed Strange Characters

    Can someone advise me on how to remove these strange characters in my feeds, in FF3 unknown characters show up and IE 7 wont even render the rss page, throws an error!?

    RSS Feeds - Irish Gaming Newtork - Wii | DS | PS3 | PS2 | PSP | XBOX | XBOX 360 | PC | MAC

  2. #2
    Senior Member louie's Avatar
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,423
    Post Thanks / Like

    Default

    try this
    PHP Code:
     
    $feed 
    str_replace("’","´",$feed);
    //where ’ is the cause of your problem 
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  3. #3
    respect my AW-THOR-IT-AYY Forbairt's Avatar
    Join Date
    Jun 2007
    Location
    My Office, Dublin
    Posts
    2,424
    Post Thanks / Like

    Default

    what are you using to generate the feeds ?

  4. #4
    Hardcore Geek ziycon's Avatar
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    565
    Post Thanks / Like

    Default

    Quote Originally Posted by louie View Post
    try this
    PHP Code:
     
     
    str_replace("’","´",);
    //where ’ is the cause of your problem 
    That worked and i fixed the pound and euro symbols but the double quotes i can't seem to sort!?

    Quote Originally Posted by Forbairt
    what are you using to generate the feeds ?
    Created a php file to generate the rss pages.

  5. #5
    Senior Member louie's Avatar
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,423
    Post Thanks / Like

    Default

    PHP Code:
    str_replace('"',""",); 
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  6. #6
    Hardcore Geek ziycon's Avatar
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    565
    Post Thanks / Like

    Default

    Quote Originally Posted by louie View Post
    PHP Code:
    str_replace('"',""",); 
    Tried that and its not working, the double quotes are showing up like there in italics!?

  7. #7
    Senior Member louie's Avatar
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,423
    Post Thanks / Like

    Default

    did you look at the source code? have you an URL to show us?
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  8. #8
    Hardcore Geek ziycon's Avatar
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    565
    Post Thanks / Like

    Default

    You can view the feeds here: RSS Feeds - Irish Gaming Newtork - Wii | DS | PS3 | PS2 | PSP | XBOX | XBOX 360 | PC | MAC

    Still has the same strange character showing a little box!?

  9. #9
    Senior Member louie's Avatar
    Join Date
    Jan 2006
    Location
    Dublin, Ireland
    Posts
    2,423
    Post Thanks / Like

    Default

    Did you run the last option i gave you?
    you have an error in the feed as it said...
    Code:
    “Cryptic will unveil the first <em>Star Trek Online</em> gameplay footage as well as details about this highly anticipated MMO at the annual <em>Star Trek Convention</em> in Las Vegas on Sunday, August 10, 2008.”
    so sanitize it
    PHP Code:
    feed_variable str_replace(array('“','"'),"&quot;",feed_variable); 
    :. Web Design & Development Web Design Ireland
    :. Search Engines Optimization Search Engines Optimization
    :. Car Parts & Accessories Car Parts
    :. Cars Ireland Cars Ireland
    :. I Have 2 Find It Directory SEF Directory

  10. #10
    Hardcore Geek ziycon's Avatar
    Join Date
    Jan 2007
    Location
    Dublin
    Posts
    565
    Post Thanks / Like

    Default

    That seems to have worked, thanks louie.

Similar Threads

  1. Most characters in your domain?
    By Cormac in forum Domains and domaining
    Replies: 8
    Last Post: 17-06-2008, 11:31 PM
  2. strange hits
    By johned in forum Webmaster Discussion
    Replies: 1
    Last Post: 05-11-2007, 03:00 PM
  3. PHP string infected with weird characters.
    By littleBird in forum Coding Help
    Replies: 5
    Last Post: 10-03-2007, 08:19 AM
  4. Minimum characters in a subdomain?
    By dude in forum Server / Technical Administration Tips and Queries
    Replies: 6
    Last Post: 20-02-2007, 02:01 PM
  5. Strange blog?
    By grandad in forum Blogs & Blogging
    Replies: 4
    Last Post: 07-12-2006, 01:57 PM

Visitors found this page by searching for:

strange characters in rss feed

rss feed shows strange symbols

rss strange characters

google calendar xml feed strange symbol

yahoo groups strange characters

php strange characters rss

rss weird characters

odd characters in rss feed

strange rss feeds

rss feed showing strange characters

php rss strange characters

rss feed displaying weird characters

reddit showing weird characters

rss feed strange characters

remove symbols from rss feedstrange characters in yahoo groupsodd characters in email replies from yahooweird characters in rss feedstrange character in post rss feedPHP rss weird charactersreading rss feeds wierd charactersskype displays strange lettersrss feed displaying strange charactersrss feed showing symbo;sstrange characters in Skype

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •