diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..886f87c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: clojure +lein: lein +jdk: + - oraclejdk7 \ No newline at end of file diff --git a/README.md b/README.md index f7116aa..216e3b8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Ariane -Atom & RSS parser for Clojure. Modified to post to a flipthis-webhook running on 127.0.0.1:5000 +RSS parser for Clojure. Modified to post to a Flipboard via a chromedriver +https://code.google.com/p/selenium/wiki/ChromeDriver plug-in. + +[![Build Status](https://travis-ci.org/xicubed/ariane.png?branch=master)](https://travis-ci.org/xicubed/ariane) ## Usage @@ -18,49 +21,22 @@ OR now added lein run -## More setup of the webhook for a Mac - -### flipthis-webhook setup “server” - -more info: https://github.com/tony2nite/flipthis-webhook - - mac:src username$ cd flipthis-webhook - mac:flipthis-webhook username$ source ~/.profile - mac:flipthis-webhook username$ brew install python --with-brewed-openssl - ⇒ - mac:flipthis-webhook username$ sudo pip install --upgrade setuptools - mac:flipthis-webhook username$ sudo pip install --upgrade pip - running - - mac:flipthis-webhook username$ virtualenv venv - New python executable in venv/bin/python2.7 - - mac:flipthis-webhook username$ source venv/bin/activate - (venv)mac:flipthis-webhook username$ pip install -r requirements.txt - - (venv)mac:flipthis-webhook username$ export FLIPBOARD_USERNAME='yourflipboardusername' - (venv)mac:flipthis-webhook username$ export FLIPBOARD_PASSWORD='yourflipboardpassword' +### run - (venv)mac:flipthis-webhook username$ python webapp.py - * Running on http://127.0.0.1:5000/ - * Restarting with reloader + Setup environment variables... + On a mac that's in the ~/.profile + export FLIPBOARD_USERNAME=flipboardusername + export FLIPBOARD_PASSWORD=flipboardpassword + export FLIPBOARD_MAGAZINE=flipboardmagazine -### “ariane client” - mac:src username$ cd ~/src/ariane - -### run - lein repl (or Start Clojure Console in intellij) - user=> (use 'ariane.core) - nil - user=> (ariane.core/parse "yourRSSURLhere") - {:infos nil, :entries ({:orig-content-encoding nil, :trace-redirects ["http://127.0.0.1:5000"], :r... + reload environment variables if necessary + mac:src username$ source ~/.profile -### “Or, with new scheduling” mac:src username$ cd ~/src/ariane mac:src username$ lein run ## License -Original Copyright © 2013 Eric Prunier +Copyright © 2013 mal Distributed under the Eclipse Public License, the same as Clojure. diff --git a/ariane.iml b/ariane.iml index 37ab276..075701e 100644 --- a/ariane.iml +++ b/ariane.iml @@ -2,19 +2,19 @@ - - + - + + + - + @@ -25,6 +25,15 @@ + + + + + + + + + @@ -34,6 +43,15 @@ + + + + + + + + + @@ -43,6 +61,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -52,6 +160,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -61,6 +232,24 @@ + + + + + + + + + + + + + + + + + + @@ -70,6 +259,15 @@ + + + + + + + + + @@ -79,6 +277,15 @@ + + + + + + + + + @@ -106,6 +313,24 @@ + + + + + + + + + + + + + + + + + + @@ -124,6 +349,24 @@ + + + + + + + + + + + + + + + + + + @@ -133,6 +376,15 @@ + + + + + + + + + @@ -142,6 +394,24 @@ + + + + + + + + + + + + + + + + + + @@ -151,6 +421,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -160,6 +502,15 @@ + + + + + + + + + @@ -187,6 +538,15 @@ + + + + + + + + + @@ -196,6 +556,15 @@ + + + + + + + + + @@ -208,7 +577,7 @@ - + @@ -217,7 +586,7 @@ - + @@ -226,7 +595,16 @@ - + + + + + + + + + + @@ -244,7 +622,16 @@ - + + + + + + + + + + @@ -253,7 +640,7 @@ - + @@ -262,12 +649,112 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ariane.ipr b/ariane.ipr index d2487ba..217565e 100644 --- a/ariane.ipr +++ b/ariane.ipr @@ -28,6 +28,7 @@