Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vschwaberow/nanoc-evernote-datasource
A Nanoc::DataSource for loading site data items from an Evernote notebook.
https://github.com/vschwaberow/nanoc-evernote-datasource
Last synced: about 1 month ago
JSON representation
A Nanoc::DataSource for loading site data items from an Evernote notebook.
- Host: GitHub
- URL: https://github.com/vschwaberow/nanoc-evernote-datasource
- Owner: vschwaberow
- License: mit
- Created: 2013-01-13T11:38:09.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-13T18:04:45.000Z (almost 12 years ago)
- Last Synced: 2023-04-05T23:10:09.134Z (almost 2 years ago)
- Size: 105 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Evernote Data Source for the Ruby web publishing system nanoc
A `Nanoc::DataSource` for loading site data items from an [Evernote][evernote] notebook.
## Features
- Loads Evernote notes from a specified notebook to create Nanoc Items.
- Does very simple Nokogiri XML conversion to output HTML.
## RubyGems dependencies
- [Evernote Ruby SDK][evernote-ruby-sdk], the Evernote API for Ruby:
`sudo gem install evernote-thrift`## Usage
Copy the file `lib/nanoc/data_sources/evernote_thrift.rb` into your site `lib/nanoc/data_sources` folder.
## Open Issues
- Conversion has to be improved.
## Configuration
Example configuration for section `data sources` in `config.yaml`:
data_sources:
-
# A data source for loading site data items from CouchDB server.
type: evernote
# Items generated into subdirectory
items_root: /evernote
config:
# Evernote server (Sandbox or production)
host: 'www.evernote.com'
# Name of notebook entries should be generated from
notebook: 'Blog'
# Your Evernote authtoken
authtoken: ''[evernote]: http://www.evernote.com "Evernote"
[evernote-ruby-sdk]: https://github.com/evernote/evernote-sdk-ruby "Evernote Ruby SDK"