You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing a url like this one: http://feeds.gimletmedia.com/crimetownshow
Which kept returning a feed burner HTML page. This caused the entire parser to fail with "cannot access rss of undefined" error.
I had to change the headers to this for it to work properly. specifically I changed text/html to text/xml
{ 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0', accept: 'text/xml,application/xhtml+xml' }
The text was updated successfully, but these errors were encountered:
@jlott1 Can you share some of your code in a jsbin or snippet so we can see the specific context of the error you're encountering? I just tried Feed.load on that url and the load was successful.
I was testing a url like this one:
http://feeds.gimletmedia.com/crimetownshow
Which kept returning a feed burner HTML page. This caused the entire parser to fail with "cannot access rss of undefined" error.
I had to change the headers to this for it to work properly. specifically I changed text/html to text/xml
{ 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0', accept: 'text/xml,application/xhtml+xml' }
The text was updated successfully, but these errors were encountered: