Posted By

mb2o on 10/07/10


Tagged

content evernote clip


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

mb2o


Clipping content to Evernote


 / Published in: JavaScript
 

  1. <!DOCTYPE HTML>
  2. <html lang="en-US">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Evernote clipping test</title>
  6. <script type="text/javascript" src="http://static.evernote.com/noteit.js"></script>
  7. </head>
  8. <body>
  9.  
  10. <div id="content">
  11. Site Memory works best when you tell it what to clip. You do this by identifying the ID of the HTML element on your page that contains your content. For example, on this page, content is contained within the element, so we would enter content in the field below.
  12.  
  13. If you aren't familiar with your site's HTML, don't worry. We are working with leading blogging and site development tools to make adding Evernote Site Memory really simple. Stay tuned.
  14. </div>
  15.  
  16. <a href="#" onclick="Evernote.doClip({contentId:'content'}); return false;">
  17. <img src="http://static.evernote.com/article-clipper.png" alt="Clip to Evernote" />
  18. </a>
  19.  
  20. </body>
  21. </html>

Report this snippet  

You need to login to post a comment.