Evernote Drupal module README.txt source file

// $Id:$


  • Introduction
  • Installation
  • Usage


Creator: ChrisShattuck <http://drupal.org/user/166383>

The original idea behind the Evernote module was to integrate the pulling of content from Evernote for rapid blogging purposes. My hope is to further abstract out some of the tools used to do this so that the module can be used as an API for open-ended integration with Evernote.

This module will do the following:

  • Establish a connection with an Evernote account
  • Allow an administrator to set up a 'feed' that will perform a one-way sync from Evernote to Drupal based on multiple criteria. For example, you can set up a feed to pull content with a particular tag.
  • Allow 2-way syncing of 'tags' as taxonomy terms
  • Downloading images and other resources from Evernote notes into image or file fields
  • And a bunch more


See http://drupal.org/getting-started/install-contrib for instructions on how to install or update Drupal modules.

You will also need to add the Evernote API library to Drupal. Right now the API isn't quite set up for web applications like this, so you'll need to do some finagling. You can use the instructions below to build the library yourself, or you can go to this URL to read about how to download a ZIP file with this already done: http://chrisshattuck.com/blog/instructions-setting-evernote-library-evernote-drupal-module

  1. Download the Evernote API (labeled "Evernote API") - http://www.evernote.com/about/developer/api/
    2. Expand the zip
    3. Copy the folder /sample/php/EDAMWebTest/lib/HTTP to /lib/php
    4. Copy the folder /sample/php/EDAMWebTest/lib/OAuth to /lib/php
  2. Next we need a few PEAR libraries that might not be installed on your server, so...
  3. Download the HTTP_Request PEAR script and add to /lib/php/HTTP - http://pear.php.net/package/HTTP_Request/
  4. Download the Net_URL PEAR script and add to /lib/php/HTTP - http://pear.php.net/package/Net_URL/
  5. Download the Net_Socket PEAR script and add to /lib/php/HTTP -http://pear.php.net/package/Net_Socket/
  6. Rename the folder /lib/php to evernoteand move it to your /sites/all/libraries/folder


  1. Go to /admin/build/module and click the 'create a new account' link
  2. If you don't mind saving your Evernote username and password on the server, fill in the username and password at the bottom of the form. To receive a temporary authentication from Evernote, fill in the widget.
  3. Once the account as been added, you can click on 'Add feed' next to the account to create a feed.
  4. Fill out the form to create the criteria for the feed. When cron runs, it will import any new matches and update any changed notes.


Hey :)

This is a very interwesting contribution to "cloudify" a Drupal hosted site. However it seems the Readme needs some extensions.

I installed the module and followed the guide step by step. However the "create new account" links just opens a plain white site... no error log. I changed the permissions, tried some stuff...

Just wondering whether the instructions might be incomplete...

Would you mind adding the following code at the top of your index.php file and tell me if you see any errors:

// To view errors on Drupal, and the following to the index.php file:
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);



Hearing the comments you've put on your site about using the module, i'm sure it works however i'm also facing the same blank page issue that is mentioned above. I got as far as tracking down that if i comment line 170 of evernote.module i don't get the problem but not much further.

The ini_set statements above don't seem to do anything.


Well, drat! So, if you comment out that line, does everything else seem to work okay? Or is it still broken?

Still broken I'm afraid :(
Let me know how I can help debug.

Before starting module setting we need another module.The module is http://drupal.org/project/autoload.

I don't see the folder /sample/php/EDAMWebTest in the api I downloaded today (evernote-api-1.17)

Hi Phil,

Hmmm, they must have updated things. You could try using the bundle that I put together here: http://chrisshattuck.com/blog/instructions-setting-evernote-library-ever.... Also, there may be some issues connecting via OAuth until a fix is added, but I haven't tried it yet: http://drupal.org/node/974040.

I'd love to make this module easier to use. Looking forward to having the time to do that.


I am interested in using it on one of my drupal site but that on 5.x

Any recent work on this module? Would like to attempt integration into a D7 site, but looks to have stalled out.

Hi Dave, nothing recently though I really hope to get back to this before too long. Some folks have indicated interest in porting it to D7, but I don't think there's been any moving forward there. Let me know if you're interested. ;)