Click here to show or hide the menubar.

World outline rivers render in a new way


I didn't like the way rivers look in worldoutlines, so I made them look the way they look when generated by river2.root. Instead of rendering in the template for the world outline, they render in the beautiful river template, exactly.

How to test

On your server, update both beaut.root and worldOutline.root.

View a river node.

Does it work? Does it look like the rivers that are produced by river2.root?

Caveats

If you add attributes to the river nodes called description and opmlUrl, they will appear correctly.

Otherwise they will be blank.

Parts

worldOutlineSuite.data.urls.staticRiverTemplate

worldOutlineSuite.viewRiverCallback

worldOutlineSuite.background.everyMinute

worldOutlineSuite.init

beautSuite.init


Posted on Sunday, November 06, 2011 at 9:12 PM by Dave Winer.