NetNewsWire to Evernote — Single Headline or Tab Export Applescript

Use a Mac and want to file away the things you’re reading in NetNewsWire quickly?

Description

NetNewsWire is the heart of my browsing experience these days. I’m spending as much time reading feeds as I do browsing the web and it’s important for me to be able to keep track of the things I am reading and want to reference later.

Once Evernote enabled Applescript support, I realized that I could file away the feed items that were useful to me. Evernote is a real life-saver: It’s accessible from practically every type of computing platform short of an abacus. If you have a Mac, your notes become part of your Spotlight index. Fewer ideas and articles get lost. For someone like me who is working on a dozen different projects simultaneously, this is a real “quality of life” improvement — not just another piece of tech that leaves you less organized and your mind more cluttered.

Features

nnw-single1

I have added tag support, which lets you tag items on the way into Evernote. The script will also retrieve an alphabetized list of your current Evernote Notebooks and allow you to select which notebook to archive the feed items into. Want to make a new notebook? No problem — the script has a “Create New Notebook” button which will let you do that on the fly!

Automatic Growl detection has also been enabled which will save you a trip to the Script Editor to enable/disable it.

Current Limitations and Open Issues

  1. I never figured out how to successfully write the NetNewsWire item’s URL into Evernote’s “source URL” value without using the “create note from url” command. I chose to use the “create note from html” approach because the results were sometimes more visually appealing once the note arrived into Evernote. I am hopeful that this will eventually be possible; WORKING PROPERLY IN VERSION 1.01!
  2. There is some Growl weirdness when using the “iPhone mini” skin;
  3. Errors that will undoubtedly arise when you do something that I didn’t think of or test for! ;)

How to Install and Use

Just drop it into the NetNewsWire Script Folder!

FastScript link and support

Do yourself a favor and download and install FastScripts from Red Sweater. Triggering the script from the keyboard really supercharges the process — you’ll watch your news items practically fly into Evernote with a few keystrokes! Here’s how you set it up:

  • Copy script or an Alias to ~/Library/Scripts/Applications/NetNewsWire
  • Set up your keyboard shortcut

For my workflow, I am using ⌘ E (as in Evernote) for the quick single post script shortcut and ⌘ SHIFT E for the batch script.

Source code and download link on the next page!

40 Responses to “NetNewsWire to Evernote — Single Headline or Tab Export Applescript”

  1. Ryan October 24, 2008 at 12:43 pm #

    Sweet. I’ve been waiting for this…

  2. Manuel November 25, 2008 at 8:50 pm #

    Thank you very much. But can you reduce the number of popups?

    • Justin November 26, 2008 at 2:30 am #

      Which of the menu screens are you not finding useful?

  3. patte January 25, 2009 at 8:16 pm #

    Brilliant. Thanks a lot for sharing this one.

  4. Pearl March 17, 2009 at 12:38 am #

    How do you enable this without installing fastscripts? I have installed it already and tested it using Applescript, but I wonder how you can activate it through NNW. Thanks. Brilliant, btw.

    • Justin March 17, 2009 at 1:03 am #

      Hi Pearl,

      If you’ve already moved the scripts into NetNewsWire’s script folder, then it should be available from the pull-down menu.

      If you aren’t sure if the scripts are in the right place:

      1.) Make NetNewsWire the active application by clicking anywhere in the NetNewsWire window. If it’s the active application, you’ll see the words “NetNewsWire” to the right of the Apple icon in the top-left corner of your screen;

      2.) Select the script icon from the menu (it’s the symbol between “Window” and “Help”;

      3.) You’ll see a drop-down list of all the scripts currently in NetNewsWire’s script folder. If the NNW-to-Evernote scripts aren’t listed, then select “Open Scripts Folder” from the menu and a Finder window will open for the Script folder;

      4.) Just drag-and-drop the AppleScript files into that Finder window and the scripts will be available from the Script list!

      Hope that this helps!
      Justin

      • J July 9, 2010 at 9:38 am #

        You can also set a keyboard shortcut for NetNewsWire without Fastscripts, by simply adding your shortcut to System Preferences>Keyboard>Keyboard Shortcuts>Application Shortcuts… Love this script btw!

  5. Julian April 17, 2009 at 12:09 pm #

    Great way to enhance Evernote – Thanks

  6. Eric May 11, 2009 at 5:05 pm #

    This works great, thanks! It would be great of the second pop-up (notebook) would be optional so that notes are always put in the default notebook.

    • Justin May 11, 2009 at 7:28 pm #

      DONE!

      Try it out and let me know what you think,
      Justin

  7. Jo July 25, 2009 at 5:34 am #

    Thanks a lot for this, it’s really useful. I was wondering whether it would be possible to extend it to automatically move items from a particular folder (and then delete them from the folder). I have very little idea about Apple Script, so have no idea whether this is possible, but it would be amazing for my needs. I use Netnewswire on the iphone and use the ‘add to clippings’ feature on the phone for articles I want to come back to. What would be great would be if they automatically got transferred to Evernote. I suppose this could be done by running a ‘Archive items in the Clippings folder’ daily, or something? Any suggestions very much appreciated!
    Jo

    • Justin July 25, 2009 at 10:07 am #

      Hi Jo,

      It’s definitely possible to run an AppleScript on a schedule and, with a few modifications to the “batch send” NetNewsWire to Evernote script, you could do exactly what you are talking about. If you’re interested, let me know and we can discuss a customized script for your needs.

      For someone that is just getting started with AppleScript/Scripting and wants to run a “daily script”, it would probably make more sense to download an application that does this for you (or serves as a “front end” to the OS X “cron” service).

      Here are a few:

      Cronnix
      Script Timer
      Macaroni

      That said — you may want to wait. The mobile version of Evernote allows other iPhone apps to ‘Send to Evernote”. Right now, the only one that I know is currently working is the AP News app….but the Evernote guys have been hinting that there are several more apps with this feature on the way.

      Personally, I would leave a message on the NNW iPhone Forum asking about adding in a “Send to Evernote” button and see what Brent says… I know he’s working on a new version now.

      Hope this helps!

      • joren August 9, 2009 at 7:18 am #

        Hi, it appears that the Single-NNW-Evernote script no longer works properly with the latest beta version of NNW. The pop-up appears, followed by a Growl notification that the item has been imported but I the item does not show up in Evernote.

        • Justin August 9, 2009 at 11:18 am #

          It’s still working on my installation! Anyone else having trouble?

          A few questions for anyone who is:

          Are you running NNW 3.2b14?
          Are you having trouble with exporting headlines, tabs, or both?
          Have you tried uninstalling/reinstalling the script?

          • joren August 9, 2009 at 1:32 pm #

            Hi. Thanks for your prompt reply.

            I’m running the latest beta. Not sure whether I’m exporting headlines or tabs (in evernote I see the full contents which is available in the preview pane). I did a full uninstall (including the support folders) and re-installed NNW. Still the same problem.

            It’s strange that I get a growl notification that the note was successfully imported.

            BTW, I’m experiencing this on 2 machines. I worked fine at first but it suddenly stopped working. Weird.

  8. Justin August 9, 2009 at 1:58 pm #

    Totally weird!

    Okay, first things first…..

    This is a Headline:

    and this is a Tab:

    Does your problem happen on both types?

    You are using Script Version 1.1?

    Have you verified that you are looking in the correct notebook? I know that may seem like a silly question, but there was an occasion where I thought *my* notes weren’t showing up… only to realize that I had changed my default notebook and was looking in the wrong place. :D

    • Joren August 9, 2009 at 6:09 pm #

      Ok, I ran some tests. I’m able to export a tab (I never use this since it basically exports the whole web page (in browsing mode) for that particular item, right?). I noticed that the evernote icon in my dock doesn’t bounce any more like it used to when I exported an item. I don’t know why.

      Here’s the strange thing I found out. The export function (for headlines as I always use) works for certain RSS feeds but does not work for other feeds. For example, I’m able to export feeds from “David Allen Company” (again, evernote icon does not bounce) but I’m not able to export feeds from “lifehacker”.

      Also, for David Allen Company I’m able to create new tags but this does not work for lifehacker.

      • Joren August 9, 2009 at 6:10 pm #

        I’m using the latest version of the script found on your site. I also checked my other notebooks :-)

  9. Justin August 9, 2009 at 9:36 pm #

    Joren,

    Your tests and specifics were invaluable in quickly getting to the bottom of what was happening…. Many Thanks!

    When I looked at the Lifehacker item in my debugger (as well as another Gawker Media RSS feed), I saw that the AppleScript element in NNW called (description of selectedHeadline) was empty. In AppleScript terms, this is supposed to be the “Body” of the item and the fact that it was blank is pretty perplexing.

    I quickly wrote an addition to the script that creates the Evernote item with the NNW item’s “summary” data if the description data is blank. Hope that this is at least a decent work-around until we get to the bottom of things! I am going to send Brent at NetNewsWire a “bug report” in case this is related to the beta code….although it could be just the way Gawker Media formats its RSS feeds.

    Download the updated script and let me know if it works for you!

    • joren August 10, 2009 at 3:03 pm #

      Justin, Your updated script appears to work just fine! Many thanks.

  10. Peer November 25, 2009 at 10:44 am #

    Excellent work. But you say that the dialog boxes are optional? How do I turn them off? I would like to run the script without any further input.

    • Justin November 25, 2009 at 11:10 am #

      Hi Peer,

      When we were talking about “optional dialog boxes” in the thread above, it was to say that the notebook selection portion has now been streamlined into an optional feature.

      If you want the script to put items into your default Evernote notebook without any tagging, you could edit out the dialog box portions of the script. If that’s not something you feel comfortable doing, you can commission a custom version from me and I’ll tailor it to your specifications!

  11. Mike January 14, 2010 at 3:01 am #

    Just wanted to say thanks for this. I stopped using Evernote for a while but since switching to OS X I’ve given it another look. Great script you have here, it makes NNW and Evernote a pretty useful combo.

    • Justin January 15, 2010 at 4:20 am #

      Thanks Mike!

  12. kemumaki_kemuzo (Kimihiro OHKUBO) March 19, 2010 at 4:16 pm #

    Twitter Comment


    RSSリーダとしてNetnewswire を使っている人にこれは便利。NNW+Evwenote [link to post]

    Posted using Chat Catcher

Trackbacks/Pingbacks

  1. NetNewsWire to Evernote — The Batch Send Applescript | Veritrope - October 21, 2008

    [...] that end, I cobbled together a script that would let me tag and file my news feed items quickly. That script works like a charm for me to quickly tag-and-file as I read my feed items, but I felt [...]

  2. Evernote Applescript Resources | Veritrope - October 21, 2008

    [...] NetNewsWire to Evernote: Single Headline or Tab (For the quickest way to get an item into Evernote) [...]

  3. appleforapple.com » Copy one/many NetNewsWire items to Evernote - October 24, 2008

    [...] This is the quickest way to get an item into Evernote. You can find the instructions and script in this post on my [...]

  4. Copy one/many NetNewsWire items to Evernote | wizTEQ.com - October 24, 2008

    [...] This is the quickest way to get an item into Evernote. You can find the instructions and script in this post on my [...]

  5. Copy one/many NetNewsWire items to Evernote « Ingo Neumann - February 5, 2009

    [...] This is the quickest way to get an item into Evernote. You can find the instructions and script in this post on my [...]

  6. santahorst (Stefan Frede) - July 31, 2009

    Twitter Comment


    Wer #Evernote und #NetNewsWire nutzt, für den könnte das eine echte Zeitersparnis sein [link to post]

    Posted using Chat Catcher

  7. Save Your Clippings Before Upgrading to NetNewsWire 3.2 Beta | Veritrope - August 3, 2009

    [...] through your clip­pings one at a time (or if you only have a few), you might con­sider using the Net­NewsWire to Ever­note Sin­gle Item Apple­Script instead. When used with a key­board short­cut, it is a fast and easy way to get items from NNW [...]

  8. links for 2009-08-17 | Technovia - August 17, 2009

    [...] NetNewsWire to Evernote — Single Headline or Tab Export Applescript | Veritrope Awesomely useful AppleScript for saving an item from NetNewsWire to Evernote in one click. With tags, and into any notebook you like. (tags: evernote netnewswire applescript) Share this post: [...]

  9. Batch Archive Items from NetNewsWire into Evernote | Veritrope - May 11, 2010

    [...] the year since I cobbled together the “Single Item NetNewsWire / Evernote Exporter”, I’ve revised it several times. It has become my “bread-and-butter script” and I [...]

  10. Save Your Clippings Before Upgrading to NetNewsWire 3.2 Beta | Veritrope - September 10, 2010

    [...] sort through your clippings one at a time (or if you only have a few), you might consider using the NetNewsWire to Evernote Single Item AppleScript instead. When used with a keyboard shortcut, it is a fast and easy way to get items from NNW tagged [...]