Wordpress Rss Feed problem. Please help me

Discussion in 'PHP' started by soney218, Dec 23, 2009.

  1. #1
    Dear Forum members,

    I am facing problem with Rss Feed for my wordpress blog.
    Eg: If i submit my rss feed in any rss feed website it is unable to fetch the feed automatically and it is showing message like Error pulling feed. We tried pulling this feed URL: http://www.ibeehosting.com/blog/feed

    and we got this error:
    XML error: Invalid character at line 307, column 30

    and I have checked my feed on feed validator, and getting the following results given on this URL:
    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.ibeehosting.com%2Fblog%2Ffeed

    Please help me to get it resolve.

    Thanks in advance.
    Soney
     
    soney218, Dec 23, 2009 IP
  2. CodedCaffeine

    CodedCaffeine Peon

    Messages:
    130
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The error is definitely coming from the quote tags of that line. You'll probably need to have your content generate XML feeds with the htmlentities.

    " (quotation mark) =  & #34;
    Code (markup):
    (Had to leave spacing between & and # so it would show)
     
    CodedCaffeine, Dec 23, 2009 IP
  3. soney218

    soney218 Well-Known Member

    Messages:
    232
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Hi,

    Thanks but could you please be more specific? I mean which file needs to be edited? Thanks for helping me out in this issue.





     
    soney218, Dec 23, 2009 IP
  4. Gray Fox

    Gray Fox Well-Known Member

    Messages:
    196
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    130
    #4
    Characters “ and ” are not htmlentities'd, you could try simply using str_replace for those 2 characters on your RSS generator, but it's not the best solution. Article titles and texts should all be htmlentities'd.
     
    Gray Fox, Dec 23, 2009 IP