issues
search
cch5ng
/
rss-read-aloud-meteor-react
(no longer hosted) Application to view or listen to rss news feeds. (Meteor/React)
0
stars
0
forks
source link
figure how to connect react to json
#1
Closed
cch5ng
closed
8 years ago
cch5ng
commented
8 years ago
currently startup is successfully doing http get for npr rss feed and parsing needed content to json
need to look into Meteor publish/subscribe or alternatively iron:router or alternatively ext package to publish rest api
publish/subscribe is used to share database collection from server to client db
https://www.meteor.com/tutorials/blaze/publish-and-subscribe
https://atmospherejs.com/simple/rest
cch5ng
commented
8 years ago
first try
put the feed into a db collection and subscribe to it
the only thing is that this info is going to update frequently and so it seems overkill to store in db
Exception in callback of async function: [RangeError: Maximum call stack size exceeded]
issue appears to have been using .contents() jquery function whereas should have been using .text() instead
https://blog.jcoglan.com/2010/08/30/the-potentially-asynchronous-loop/
https://github.com/meteor/meteor/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+Maximum+call+stack+size+exceeded
cch5ng
commented
8 years ago
fixed
d169e5ae41fb25d9e6b1840009a720ada54135da