<commit_before># riverBrowser

JavaScript code to display a <a href="http://scripting.com/2014/06/02/whatIsARiverOfNewsAggregator.html">river of news</a>.

Here's a blog post announcing this project.

#### What is a river?

A river is a reverse-chronologic list of new stories. 

<a href="https://github.com/scripting/river4">River4</a> is a Node.js app that generates these files. 

It's an open, <a href="http://riverjs.org/">documented</a> format, available for anyone to use.

#### Demo app

Here's the <a href="http://fargo.io/code/browsers/riverbrowserdemo.html">demo app</a> for riverBrowser.

I took a snapshot of one of my rivers, so the content would stay fixed. It can be difficult to discuss rivers because they're always changing. The content in this river won't change. 

The <a href="https://github.com/scripting/riverBrowser/blob/master/riverbrowserdemo.html">source</a> for the demo app is included in this repository.

#### httpGetRiver

To load a river from the web, call httpGetRiver.

<code>httpGetRiver ("http://fargo.io/code/browsers/frozenriver.js", "idRiverDisplay");</code>
<commit_msg>v0.40<commit_after># riverBrowser

riverBrowser is a JavaScript toolkit that displays a <a href="http://scripting.com/2014/06/02/whatIsARiverOfNewsAggregator.html">river of news</a>.

Here's a blog post announcing this project.

#### What is a river?

A river is a reverse-chronologic list of new stories. 

<a href="https://github.com/scripting/river4">River4</a> is a Node.js app that generates these files. 

It's an open, <a href="http://riverjs.org/">documented</a> format, available for anyone to use.

#### Demo app

Here's the <a href="http://fargo.io/code/browsers/riverbrowserdemo.html">demo app</a> for riverBrowser.

I took a snapshot of one of my rivers, so the content would stay fixed. It can be difficult to discuss rivers because they're always changing. The content in this river won't change. 

The <a href="https://github.com/scripting/riverBrowser/blob/master/riverbrowserdemo.html">source</a> for the demo app is included in this repository.

#### httpGetRiver

To load a river from the web, call httpGetRiver.

<code>httpGetRiver ("http://fargo.io/code/browsers/frozenriver.js", "idRiverDisplay");</code>

{'fraction_non_alphanumeric': 0.12366071428571429, 'fraction_numerical': 0.010267857142857143, 'mean_word_length': 4.616541353383458, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3534206', 'n_tokens_mistral': 727, 'n_tokens_neox': 690, 'n_words': 241}