Home >  Archive >  2010 >  July >  5

Previous / Next

Christmas Tree
This site contributes to the scripting.com community river.
About the author

A picture named daveTiny.jpgDave Winer, 56, is a visiting scholar at NYU's Arthur L. Carter Journalism Institute and editor of the Scripting News weblog. He pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in New York City.

"The protoblogger." - NY Times.

"The father of modern-day content distribution." - PC World.

"Dave was in a hurry. He had big ideas." -- Harvard.

"Dave Winer is one of the most important figures in the evolution of online media." -- Nieman Journalism Lab.

10 inventors of Internet technologies you may not have heard of. -- Royal Pingdom.

One of BusinessWeek's 25 Most Influential People on the Web.

"Helped popularize blogging, podcasting and RSS." - Time.

"The father of blogging and RSS." - BBC.

"RSS was born in 1997 out of the confluence of Dave Winer's 'Really Simple Syndication' technology, used to push out blog updates, and Netscape's 'Rich Site Summary', which allowed users to create custom Netscape home pages with regularly updated data flows." - Tim O'Reilly.

8/2/11: Who I Am.

Contact me

scriptingnews1mail at gmail dot com.




My sites
Recent stories

Recent links

My 40 most-recent links, ranked by number of clicks.

My bike

People are always asking about my bike.

A picture named bikesmall.jpg

Here's a picture.


July 2010

Jun   Aug


A picture named warning.gif

FYI: You're soaking in it. :-)

A picture named xmlMini.gif
Dave Winer's weblog, started in April 1997, bootstrapped the blogging revolution.

Need help with CSS-based outlines Permalink.

Update: First, thanks for all the help -- but it's getting too late, and I'm not converging on anything, and this is a production site, and the software now has other users. So I had to punt on making this work for now. I think Jeremy Felt's advice is the best, and I don't think I'm going to get this to work until I put a few days in front of me to do the usual wrestling with CSS stuff.

Back in May and June when I was working on the rendering code in Scripting2, I'd frequently post questions here about CSS and got phenomenal support from members of the community. I've gone quiet lately as I've been working in other areas, but now I'm swinging back to rendering, and could use some help.

I have code that renders two-level outlines, but now I want to generalize it so I can go N-levels and have a nice indented display that you can expand and collapse.

I've implemented the recursion, as you can imagine, it's pretty simple, but now I'm hung up on how to get the indenting to work. Here's an example.


Everything works as it should except the indentation.

What am I doing wrong? (Heh don't you love it when users say that.)

How about this: I want to get it right! <img src=">

When it's working it should look something like this. (Never mind the wedges, look at the indentation.)

Any help would be appreciated.

The joy of a new computer Permalink.

A picture named imac.jpgI bought myself a new top-of-the-line iMac.

The old one was getting really old. Lots of things were breaking that would cost a lot of money to fix when you add them all up. The computer still works, but the peripherals weren't.

Anyway, I decided I deserved a computer that really worked, so I went for the best iMac they sell, and it came within 24 hours, and I've been using it for 24 hours. All I can say is WOW.

First, the display is beautiful. The colors are true. White really is white. It's white the way the headlights on my BMW are white. Like a crisp new white shirt or a brand-new T-shirt. White-white.

And man this thing is fast.

I don't remember getting this kind of performance boost since the days when the PC was going through its upgrades in the 1980s. Macs never seem to get that kind of a lift, until now.

This thing flies.

Just to prove it, running the Intel version of the OPML Editor, I wrote a script that's just a tight loop, adding N to an accumulator. It ran a million loops in two seconds. That's interpreted code!

Here's a picture of the two computers side-by-side.

Just want to say -- it's a wonderful thing to be able to use a little money to buy some happiness.

More Scripting2 work today Permalink.

A picture named robot.gifJust did a major shakeup on the back-end.

Now when I save a post it's rebuilding the OPML source before it saves it. This puts it through a cleanup step before other apps could depend on it. It also might break any apps that have been written that depend on it being built a certain way.

I suppose this is a bit of a warning. Use a real XML parser to handle my XML, not string processing. I play by XML rules, which means order of attributes isn't important.

I probably should write a simple bookmarklet that depends on OPML "auto-discovery" so I can easily tell when I've broken something.

Anyway, if you want to see where I'm headed with all this, watch the To-Do list on the Changes page. <img src=">

© Copyright 1997-2011 Dave Winer. Last build: 12/12/2011; 1:42:17 PM. "It's even worse than it appears."

RSS feed for Scripting News

Previous / Next