dper / smallpump

A bit of JavaScript to show a user's pump.io recent activity.
Apache License 2.0
0 stars 0 forks source link

Adapt this code to the firehose #4

Closed dper closed 11 years ago

dper commented 11 years ago

If it is easy to adapt this code to the firehose, do so. The firehose is not meant to be pulled from all the time, which means this script might not be ideal for large numbers of users. For an occasional user, though, and for experimental purposes, it would be neat.

Also, the firehose doesn't require any kind of OAuth, I believe, which means it should be relatively easy to handle.

dper commented 11 years ago

A firehose script file now exists. It works properly, except that I don't know of a good way to load the feed from within JavaScript. It seems cross site scripting problems prevent reading the feed directly. Regardless, once a feed is available, the script as it stands does a fine job of generating a basic web page.