Git Product home page Git Product logo

carbonfin-outliner-ruby's Introduction

CarbonFin Outliner Online Ruby Class/Scripts

A class and some Ruby utility scripts to interact with CarbonFin Outliner Online.

Please note that CFOO has not endorsed an official API and so these scripts are strictly unofficial (but they work well and are likely to continue doing so).

They are useful as an interim measure until the CFO dev can introduce Dropbox syncing.

The gems 'mechanize' and 'nokogiri' are required.

gem install mechanize

should install all dependencies.

Easy use

To edit a given outline (on OS X), use:

./edit.sh <outline_name>

Utility Scripts

First, add your username and password to login.rb.

Log in with:

./login.rb

List outlines with:

./list.rb

Download with:

./download.rb <format> <name>

Formats are: opml, print, text (and json (internal))

Upload OPML files with:

./upload.rb <file0.opml> <file1.opml> <file2.opml> ...

Upload plain text with:

cat file | ./upload_text.rb <name> (<are_tasks>)

The Class

The class isn't documented here, but it is largely self-explanatory and can be quickly understood by reading {download, upload, upload_text}.rb

carbonfin-outliner-ruby's People

Contributors

tekacs avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

lecktdiehirten

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.