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
To prove that the blog feeder is functional, copy and paste the URL http://blog.superfeedr.com/atom.xml into the browser, and see that it redirects to the URL https://superfeedr-blog-feed.herokuapp.com which renders the Superfeedr blog rss feed.
Now with rawgit run the retrieve.html example by pasting the following into the url bar: http://rawgit.com/superfeedr/superfeedr-jquery/master/examples/retrieve.html
and see that the result is:
adfs
fa
dfadf
afg
adsfas
It seems like the Superfeedr blog should be shown and not the random text, however reading further into the retrieve.html code see that a second feed http://push-pub.appspot.com/feed overwrites the first feed. That is confusing to the those new to this application. The example should not require debugging 😃
Create two distinct id's for two div tags so both results can be seen.
<div id="feed1"></div>
<div id="feed2"></div>
and change the javascript too!
varfeed=new$.superfeedr.Feed('...');//becomesvarfeed1=new$.superfeedr.Feed('...');feed1.setNumEntries(4);feed1.setResultFormat('json');feed1.load( ...
... document.getElementById("feed1")// in two places
and further down
varfeed=new$.superfeedr.Feed('...');// becomesvarfeed2=new$.superfeedr.Feed('...');feed2.stream(...
... document.getElementById("feed2")// in two places
After doing all that, find that feed1 is getting a 403 Forbidden error in the network console, but that error message is not being returned as an error to the javascript, so it just dies quietly, never entering the .load callback function.
Try swapping the feed2 URL into the line for feed1. Note that the code is functioning, so the problem is not the code (in the above pen) but rather with the permissions of the feed.
Hopefully this is helpful and not too irritating. I imagine that the new owners would like to have functioning examples to better promote superfeedr.
The text was updated successfully, but these errors were encountered:
To prove that the blog feeder is functional, copy and paste the URL
http://blog.superfeedr.com/atom.xml
into the browser, and see that it redirects to the URLhttps://superfeedr-blog-feed.herokuapp.com
which renders the Superfeedr blog rss feed.Now with rawgit run the retrieve.html example by pasting the following into the url bar:
http://rawgit.com/superfeedr/superfeedr-jquery/master/examples/retrieve.html
and see that the result is:
It seems like the Superfeedr blog should be shown and not the random text, however reading further into the retrieve.html code see that a second feed
http://push-pub.appspot.com/feed
overwrites the first feed. That is confusing to the those new to this application. The example should not require debugging 😃Create two distinct id's for two div tags so both results can be seen.
and change the javascript too!
and further down
After doing all that, find that feed1 is getting a 403 Forbidden error in the network console, but that error message is not being returned as an error to the javascript, so it just dies quietly, never entering the .load callback function.
Here is the test pen .
Try swapping the feed2 URL into the line for feed1. Note that the code is functioning, so the problem is not the code (in the above pen) but rather with the permissions of the feed.
Hopefully this is helpful and not too irritating. I imagine that the new owners would like to have functioning examples to better promote superfeedr.
The text was updated successfully, but these errors were encountered: