<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Evernote-Rails-Example/app/views/notes, 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: 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>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>
