NetNewsWire Help | Contents | WhatÕs New | Q&A | Tips

Script Subscriptions

You can write scriptsÑin AppleScript, Python, Perl, and so onÑthat generate Atom or RSS feeds. NetNewsWire runs the scripts and then displays the results the same way it does with any other feed.

Note: this is an advanced topic. If youÕre not interested in scripting, or donÕt have a good use for this feature, itÕs okay to skip this.

About scripts

Adding a script subscription

Once youÕve written a script, you can subscribe to it:

  1. Choose File > New Special Subscriptions > ScriptÉ.
  2. A standard file dialog box prompts you to locate the script on disk. Choose your script.
  3. NetNewsWire selects your script in the subscriptions list and opens the Info window. Expand the Script Settings pane if itÕs not already expanded.
  4. In the Type popup menu, tell NetNewsWire whether your script is an AppleScript script or a Perl/Python/shell/etc. script.
  5. If your script takes any parameters, type them in the Args field.
  6. When youÕre ready to test your script, click the Run Script button. The script should execute and the feed it generates should display in NetNewsWire.
  7. If it doesnÕt work, choose Window > Show Errors to see what went wrong.