Nov22

Simple Sharing Extensions for NetNewsWire

I created a Simple Sharing Extensions exporter for NetNewsWire followed links as a proof of concept. The OPML SSE exporter is written in AppleScript. It iterates through each subscription feed and its items, outputting every feed and the descriptive data about the items you have opened in a browser.

If you are a Mac user with NetNewsWire installed you can download the AppleScript or view some of the outputted OPML.

Example output


<outline type="feed" text="Greg Reinacker" htmlUrl="http://www.rassoc.com/gregr/weblog"
  description="Greg Reinacker: Greg Reinacker's Weblog"
  xmlUrl="http://www.rassoc.com/gregr/weblog/rss.aspx">
  <outline type="item" text="NewsGator acquires NetNewsWire" 
  htmlUrl="http://www.rassoc.com/gregr/weblog/archive.aspx?post=783"
  created="Tue, 4 Oct 2005 01:27:16 GMT" />
  <sx:sync id="http://www.rassoc.com/gregr/weblog/archive.aspx?post=783" version="1">
    <sx:history when="Tue, 4 Oct 2005 01:34:52 GMT" by="NetNewsWire" />
  </sx:sync>
</outline>

The uncompressed AppleScript should be placed in Library --> Application Support --> NetNewsWire --> Scripts. Restart NetNewsWire and you can access "sse" from the AppleScript menu.

I only have access to the most recent copy of the item through AppleScript. I am sure there is a lot more work to be done but I want to get some aggregator-specific code out in the wild.

Known bugs:

  • Dates are not formatted as RFC 822. I am still figuring out date format manipulation in AppleScript

Tags: ,

3 Comments

Commentary on "Simple Sharing Extensions for NetNewsWire":

Subscribe to new comments

  1. Bruce Walker on November 23, 2005 at 6:36 AM wrote: #

    Tried to view the o/p in OmniOutliner (3.5 RC1) ...
    2005-11-23 09:30:22.780 OmniOutliner[7554] -[OODocument loadFileWrapperRepresentation:ofType:]: 
    Exception raised while loading document: The document "test.opml" does not appear to be a valid OPML
    (Outline Processor Markup Language) file. Please check its contents. If you believe this file to be valid,
    please file a bug.
    
    I haven't tried to debug the OPML yet.
  2. ? Niall Kennedy on November 23, 2005 at 7:49 AM wrote: #

    Thanks Bruce, The OPML Validator continues to be non-functional so I have not had a chance to valiadate.
  3. Matt Terenzio on November 27, 2005 at 5:04 PM wrote: #

    I see in the example output that a permalink/Guid is being used as the id attribute. In the linked example output amore complex id is used which looks like it might conform to the RFC 2141.

    I haven't exactly wrapped my head around that RFC yet and was wondering if you might want to comment on it. : ) please

Add a comment

Some comments may be placed in a moderation queue to ensure topical relevancy. You may contact author Niall Kennedy directly if you prefer to comment privately.


(not published)



Niall Kennedy Niall Kennedy is a web technologist in San Francisco, California in the United States. I am very interested in the world of... MORE »

Search this weblog:

Subscribe:

Recently Popular

Archives: Popular Categories