<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Evernote-Rails-Example/app, branch master</title>
<subtitle>An example of how to set up an OAuth connection and make API requests to Evernote from within a Rails application</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/'/>
<entry>
<title>NotesController#index: Remove old code</title>
<updated>2015-12-31T09:25:49+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T09:25:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=d0b3646fb6c4b9ecad272cb1079e36e310251dda'/>
<id>d0b3646fb6c4b9ecad272cb1079e36e310251dda</id>
<content type='text'>
The first block here was before we integrated the 'evernote' wrapper gem
and is no longer used.

The second block was me thinking of getting all the notes for all
notebooks in the controller but I ended up just doing that in the view.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The first block here was before we integrated the 'evernote' wrapper gem
and is no longer used.

The second block was me thinking of getting all the notes for all
notebooks in the controller but I ended up just doing that in the view.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remote services/evernote.rb</title>
<updated>2015-12-31T09:21:45+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T09:20:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=069fb91ed6f134c854fda3095d37d69e49c51b0b'/>
<id>069fb91ed6f134c854fda3095d37d69e49c51b0b</id>
<content type='text'>
This file is no longer used now that we're leveraging the cgs/kipcole9
'evernote' gem (https://github.com/teddywing/evernote).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This file is no longer used now that we're leveraging the cgs/kipcole9
'evernote' gem (https://github.com/teddywing/evernote).
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Auth::EvernoteController</title>
<updated>2015-12-31T09:18:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T09:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=4b945cc8801549990fde0b4dfc1c39e20d9b23c3'/>
<id>4b945cc8801549990fde0b4dfc1c39e20d9b23c3</id>
<content type='text'>
No longer used now that we're authenticating with OmniAuth.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No longer used now that we're authenticating with OmniAuth.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use updated 'kipcole9/evernote' gem</title>
<updated>2015-12-31T02:51:52+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T02:51:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=38785ce06a484cae08efbdf9d7c7c980c87eb9db'/>
<id>38785ce06a484cae08efbdf9d7c7c980c87eb9db</id>
<content type='text'>
Updated the gem to fix the `LoadError` I ran into
(https://github.com/teddywing/evernote/commit/f10ec2efe2e2984109545e496f36067cb3707dd6).

Change our `NotesController` code to use the updated gem now instead of
the code we copied over directly into `services/evernote.rb`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated the gem to fix the `LoadError` I ran into
(https://github.com/teddywing/evernote/commit/f10ec2efe2e2984109545e496f36067cb3707dd6).

Change our `NotesController` code to use the updated gem now instead of
the code we copied over directly into `services/evernote.rb`.
</pre>
</div>
</content>
</entry>
<entry>
<title>NotesController: Rename `auth_token` to `access_token`</title>
<updated>2015-12-31T02:49:21+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T02:49:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=b41a5d1bdde380b698b1123e25532fc26e4bf879'/>
<id>b41a5d1bdde380b698b1123e25532fc26e4bf879</id>
<content type='text'>
For consistency with the 'evernote' gem that we're now using.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For consistency with the 'evernote' gem that we're now using.
</pre>
</div>
</content>
</entry>
<entry>
<title>NotesController: Display notes and note contents</title>
<updated>2015-12-31T02:46:23+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T02:46:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=5b18c8156a6735502f735c253d80071b5ae72b84'/>
<id>5b18c8156a6735502f735c253d80071b5ae72b84</id>
<content type='text'>
For all notebooks, display all notes inside a notebook and the contents
and tags of each note.

Rendering the note contents with `html_safe` to get them to display
quickly in a user-readable form because the contents are formatted in
ENML, Evernote's XML markup language.

Tried collecting the notes in the controller but ultimately decided to
output them directly in the view.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For all notebooks, display all notes inside a notebook and the contents
and tags of each note.

Rendering the note contents with `html_safe` to get them to display
quickly in a user-readable form because the contents are formatted in
ENML, Evernote's XML markup language.

Tried collecting the notes in the controller but ultimately decided to
output them directly in the view.
</pre>
</div>
</content>
</entry>
<entry>
<title>Include 'kipcole9/evernote' note_store.rb directly</title>
<updated>2015-12-31T02:41:49+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T02:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=e129dc5b3f70005e8b33a62f66e673a9c0d8084c'/>
<id>e129dc5b3f70005e8b33a62f66e673a9c0d8084c</id>
<content type='text'>
Copy 'note_store.rb' from 'kipcole9/evernote' directly into my Evernote
service file.

I was getting a `LoadError` when trying to load the 'evernote' gem so
to get moving quickly I'm just including the code directly in this app.
We can figure out the issue with the gem later.

Updating `NotesController` to interface with the 'evernote' gem classes
and get notebooks using its API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copy 'note_store.rb' from 'kipcole9/evernote' directly into my Evernote
service file.

I was getting a `LoadError` when trying to load the 'evernote' gem so
to get moving quickly I'm just including the code directly in this app.
We can figure out the issue with the gem later.

Updating `NotesController` to interface with the 'evernote' gem classes
and get notebooks using its API.
</pre>
</div>
</content>
</entry>
<entry>
<title>Trying to get notes from notebooks</title>
<updated>2015-12-31T02:10:24+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T02:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=d5407a3c9af0002b2290d96da7593dee98dcb6c4'/>
<id>d5407a3c9af0002b2290d96da7593dee98dcb6c4</id>
<content type='text'>
Want to be able to get all notes from a given Evernote notebook. But
it's proving harder than I thought. Geez, the Evernote SDK is so obtuse.
Going to look for a different way to do this.

Refactored the `EvernoteService` a bit in the process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Want to be able to get all notes from a given Evernote notebook. But
it's proving harder than I thought. Geez, the Evernote SDK is so obtuse.
Going to look for a different way to do this.

Refactored the `EvernoteService` a bit in the process.
</pre>
</div>
</content>
</entry>
<entry>
<title>NotesController#index: List Evernote notebook names</title>
<updated>2015-12-31T01:57:19+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T01:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=bbca4f8cf04d8ca3bdde981a53d7d49f3ff5bec0'/>
<id>bbca4f8cf04d8ca3bdde981a53d7d49f3ff5bec0</id>
<content type='text'>
List the names of all Evernote notebooks.

We create a new service to make it easier to query the Evernote Ruby SDK
and get all notebooks from it. This code to list notebooks was copied
from the Evernote Ruby SDK's sample EDAMTest.rb file
(https://github.com/evernote/evernote-sdk-ruby/blob/master/sample/client/EDAMTest.rb#L52-L62).

In our controller, we call this service to get our notebooks and pass
those to the view where we display each notebook's name.

Hard-coded the my Evernote Sandbox access token and NoteStore URL
because I didn't save them in the OmniAuth OAuth process. Using these to
query the Evernote API using the SDK.

Note to self: I'll want to deactivate that Evernote Sandbox account
before releasing this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
List the names of all Evernote notebooks.

We create a new service to make it easier to query the Evernote Ruby SDK
and get all notebooks from it. This code to list notebooks was copied
from the Evernote Ruby SDK's sample EDAMTest.rb file
(https://github.com/evernote/evernote-sdk-ruby/blob/master/sample/client/EDAMTest.rb#L52-L62).

In our controller, we call this service to get our notebooks and pass
those to the view where we display each notebook's name.

Hard-coded the my Evernote Sandbox access token and NoteStore URL
because I didn't save them in the OmniAuth OAuth process. Using these to
query the Evernote API using the SDK.

Note to self: I'll want to deactivate that Evernote Sandbox account
before releasing this.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create NotesController</title>
<updated>2015-12-31T01:48:27+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-12-31T01:48:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Evernote-Rails-Example/commit/?id=b55284210ee80e26b2b66406f30dfcce1c960f13'/>
<id>b55284210ee80e26b2b66406f30dfcce1c960f13</id>
<content type='text'>
This will show an example page that gets notebook &amp; note information
from Evernote and displays it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will show an example page that gets notebook &amp; note information
from Evernote and displays it.
</pre>
</div>
</content>
</entry>
</feed>
