Archive of UserLand's first discussion group, started October 5, 1998.

News.UserLand.Com

Author:Dave Winer
Posted:7/4/1999; 5:32:24 AM
Topic:News.UserLand.Com
Msg #:8149
Prev/Next:8148 / 8150

If this works, this will be the place where I edit the Scripting News home page. It also contains the main UserLand.Com discussion group.

Here's a list of the steps I did to make this work:

  1. I copied the calendar structure for June and July 1999 into the discuss branch of news.root. It worked. I copied the calendar structures for 1997 and 1998.

  2. It renders DG-stored scriptingNews outlines reasonably if they are stored in the DG, but mangles them if they are stored in the older format. This was solved by providing a custom outline renderer in discuss.["#tools"].snRenderer. It handles the old outlines. Works fine. Here's an example.

  3. I added a callback in manilaSuite.renderNewsPage that allows a site to customize the rendering. This was a bit of a blind alley, it turns out I didn't need it, but I left it in. I may use it later to provide a more beautiful rendering of the archived text, but I'm really liking the clean and simple presentation. (The new home page will look a lot like the Buck's home page.)

  4. The callback turned out to be useful. I use it to set the title of the archive page, it now says the date, that's the right thing to say. Works goood.

To discuss.userland.com readers

I'm working on the very top level of UserLand.Com today. I didn't realize when I started this list that it would show up in the main DG, but of course now that I see it there, I fully understand why it is, and it's the right place for it to be, believe it or not.

I guess I'm now committed to the sweeping changes I thought I was just trying out. Real-time Internet development without a staging server is really interesting! Pedal to the metal.




This page was archived on 6/13/2001; 4:51:14 PM.

© Copyright 1998-2001 UserLand Software, Inc.