scripting / river5

A river-of-news RSS aggregator in JS running in Node.
MIT License
428 stars 122 forks source link

Displaying generated rivers on personal sites #28

Closed tanakamapondera closed 5 years ago

tanakamapondera commented 5 years ago

Hello! I recently came across your River5 project on GitHub. It has been interested in going through the code to understand all that is going on and I am attempting to include one of the generated "river.js" files on my blog website, however, I am getting a little confused.

Does anyone happen to have a video walking through the instructions on this page: https://github.com/scripting/river5/blob/master/docs/HELLOWORLD.md

I understand downloading the source code and making the necessary changes as such but not sure how or where to deploy the new code. I'll still rather new to web development. Personally, learning from example would be ideal. Thank you in advance!

andysylvester commented 5 years ago

TsterRM, Here are some ways to approach adding a river to your website: A. Website hosted on a shared hosting service (Bluehost, etc) If you are on shared hosting, your site files are probably within a folder called "public_html" or something like that, with your specific files within a subfolder of that folder. For that setup, you could create another subfolder (say, /files) and put the HTML file there, with a URL like http://www.example.com/files/helloworld.html. For the value of urlDefaultRiver, you would follow the format given, but replace http://radio3.io with the URL of your River5 server, and the Javascript file with the filename your River5 install is generating. One more thing on the URL: the default port for River5 is 1337, so your server URL would be http://www.example.com:1337.

B. Website on the same server as your River5 install I would do the same as option A, assuming that your web site files are within some folder on the server.

If you could supply some more information on your web site server setup, that would be helpful.

Andy Sylvester http://readinglist.andysylvester.com/