Maybe a bit late, but I also needed the Google Feed option in NodeJS 
(Meteor) and  I just looked at the outgoing communication by the Feed 
service
http://www.google.com/uds/Gfeeds?callback=google.feeds.Feed.RawCompletion&context=0&num=50&hl=en&output=json&q=http://www.npr.org/rss/podcast.php?id=510289/rss&v=1.0&nocache=1430821526494

The q=http://www.npr.org/rss/podcast.php?id=510289/rss is what you want to 
change yourself and probably the num=50. That is your return limit.
Also change the nocache variable for each request if you dont want caching.

Good luck!

Op maandag 16 juli 2012 19:55:53 UTC+10 schreef Florian Shena:
>
> Hi everybody,
>
> I want to use the google feed API on my nodejs app. So far I've loaded the 
> api using the Nodejs http.request but when I call google.load("feeds", "1") 
> I get an error :
>
> var http = require('http');
>
> var options = {
>   host: 'www.google.com',
>   port: 80,
>   path: '/jsapi',
>   method: 'GET'
> };
>
> var req = http.request(options, function(res) {
>
>   res.setEncoding('utf8');
>
>   res.on('data', function (chunk) {
>     console.log('BODY: ' + chunk.google.load("feeds", "1"));
>   });
>
>   res.on('error', function(e) {
>     console.log('problem with request: ' + e.message);
>   });
>   
> });
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/c9629149-2382-4d1e-9637-98e3cd0b9c9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to