Styles

The appearance of news item descriptions is very customizable. NetNewsWire includes a number of styles, and you can create your own.

Built-in styles

In the bottom right corner of the newsreader window is a styles popup menu. (If you havenÕt changed it, it probably says ÒDefault.Ó) Choose an item from that menu to change how the description pane looks.

The Default style is fairly basic; most of the others are more visually interesting. Most of them were created by NetNewsWire testers.

HereÕs an example using the BeBox style (by Noah Mittman):

HereÕs the same news item using a different style, Ripples Moss (by Bryan Bell):

The styles are most distinct if youÕre using the traditional or widescreen views, since thereÕs less to style in the Combined View.

Installing other styles

If you download a style from the web or other place, you can install it by double-clicking on it.

A window opens in NetNewsWire telling you about the style (who made it, most importantly). If you already have a style with that name, NetNewsWire gives you the choice to overwrite it or not.

Finding more styles

See our Styles page on the web for links to more styles.

How to create your own styles

These styles are defined by Cascading Style Sheets (CSS) files.

The files are stored at ~/Library/Application Support/NetNewsWire/StyleSheets/. You can put your own style sheets in that folder and then choose them from the Style popup menu.

One easy way to get started is to copy one of the existing files and make changes. This will give you an idea of how the HTML in the description pane is structured.

You can get the source of the description pane, too: ctrl-click on it and choose Copy HTML Source from the contextual menu. You can then paste the source into a text document in your favorite editor.

Styles are files that end with the suffix .nnwstyle. These files are actually foldersÑin the Finder, ctrl-click on the file and choose Show Package Contents.

A style should have at least two files inside it:

Here are the keys that should appear in Info.plist:

Styles may also contain graphics that a style sheet might use.

If you distribute your style on the web so that other people may use it, please send email to info@ranchero.com letting us know about it. Thanks!