Forums

[Plugin: FeedWordPress] can't get youtube rss feed working (4 posts)

  1. clockworkjoe
    Member
    Posted 7 months ago #

    I am trying to add a RSS feed of a user's favorites to feedwordpress but I keep getting this error

    Diagnostic information
    HTTP request failure

    406: Not Acceptable
    HTTP Transports available:

    1. WP_Http_Fsockopen

    I am using the newest version of feedwordpress and I got a google reader shared items RSS feed working so I know I can get some feeds working at least.

  2. om_1109
    Member
    Posted 6 months ago #

    Hi did you ever get this problem solved? I'm having the exact same problem!

  3. visual77
    Member
    Posted 6 months ago #

    Well, this was more of a pain to debug than I had thought it would be, but I've got an answer for you.

    Open up wp-content/plugins/feedwordpress/feedfinder.class.php and change line 110.

    Right now, it should say:
    $headers['Accept'] = "application/atom+xml application/rdf+xml application/rss+xml application/xml text/html application/xhtml+xml */*";

    Change it to say:
    $headers['Accept'] = "application/atom+xml, application/rdf+xml, application/rss+xml, application/xml, text/html, application/xhtml+xml, */*";

    I tried this with youtube feeds and it works, along with a few RSS feeds. That should patch up the issue and get you running again.

  4. visual77
    Member
    Posted 6 months ago #


Reply

You must log in to post.

About this Topic