Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cider-load-test/gdocsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync with Google Docs
=====================

converting html docs to markdown.

Much todo.

require 'lib/gdocsync'

[RAILS_ROOT =] 
GOOGLE_EMAIL = '...'
GOOGLE_PASS = '...'
GOOGLE_USER = '...'

docs = Gdocsync::Document.find(:all)
doc = Gdocsync::Document.find_by_title("Foo")

Include document body:

docs = Gdocsync::Document.find(:all, :fetch)
doc = Gdocsync::Document.find_by_title("Foo", :fetch)

doc.raw #raw html body
doc.safe_html #sans script and form tags
doc.textile #raw => textile => any left-over html escaped.
p doc.clothe #as textile, and back to sanitised html via RedCloth

For interfacing with Picasa, see:
http://github.com/broughcut/picasync

About

Ruby Interface for Google Docs API.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages