Skip to content

Commit

Permalink
updated as fliphook no longer used.
Browse files Browse the repository at this point in the history
  • Loading branch information
xicubed committed Jan 24, 2014
1 parent c09f1e6 commit b09b67c
Showing 1 changed file with 11 additions and 37 deletions.
48 changes: 11 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 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.

## Usage

Expand All @@ -18,49 +19,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.

0 comments on commit b09b67c

Please sign in to comment.