I have commands in the Links menu on Scripting News that turn images on and off.

You may want to add these commands to the menu of your website, so users can have the option to have images on. It's also useful for debugging.

Here's an OPML file with the two commands. Open the file in Fargo, copy the commands and paste them into the menu you want to add them to.

05/20/14; 02:12:54 PM

Stream 2

With this release there's a second version of the stream template, and the CMS generates a slightly different structure for streams. The JavaScript code in the stream template has been changed accordingly.

A quieter stream

I did an experiment over the weekend, adding a command to Scripting News that turned off background images. I tried it, and immediately wanted to keep them off. The text is much easier to read. And that matters a lot. I wanted to get some experience with images in the background, and I did get that experience. It'll show up again in another context. And you can still have the images now, if you want them. So that's good. Nothing went away, the defaults changed.

Demo

Scripting News is the demo.

If you want the old version

Add #streamVersion "1" in your cmsPrefs.opml file. You should get the same behavior as before v1.59.

If you want the new version, you shouldn't have to do a thing.

A list of changes

Here's a list of technical changes that were made. If you don't care you can skip this part.

We don't generate the .divStreamTopSpacer element.

Copied fonts into fargo.io/code. Faster loading, not relying on Google servers, avoid possible breakage issue.

Section heads are bold, Ubuntu.

Increase density of foreground text. It's opacity goes from .9 to .98. Also background color changes from white to whitesmoke. Border color goes a little darker to gainsboro.

divStreamDay needs styles for background image

  • added these styles:

    • -webkit-background-size: cover;

    • -moz-background-size: cover;

    • -o-background-size: cover;

    • background-size: cover;

    • background-position: center;

    • background-repeat: no-repeat;

divStreamDayImage goes away

  • in first version, if there was a backgroundImage att on the day, we'd generate a divStreamDayImage element with the background image as its background.

  • in the new version, we don't do this. the backgroundImage data is on the day div, and we can add the image at render-time

05/20/14; 12:20:24 PM

Last built: Thu, Jun 5, 2014 at 6:11 PM

By Dave Winer, Tuesday, May 20, 2014 at 12:20 PM.