Slashdot Mirror


Slashdot HTML 4.01 and CSS

After 8 years of my nasty, crufty, hodge podged together HTML, last night we finally switched over to clean HTML 4.01 with a full complement of CSS. While there are a handful of bugs and some lesser used functionality isn't quite done yet, the transition has gone very smoothly. You can use our sourceforge project page to submit bugs and we'd really appreciate the feedback. Thanks to Tim Vroom for putting the HTML in place, Wes Moran for writing the HTML in the first place, and Pudge for writing the code to convert 900k users, 60k stories, and 13 million comments to comply. And for the brave, download the stylesheet and start experimenting with new themes and designs for Slashdot: some sort of official contest to re-design Slashdot is coming soon, so you can get a head start now.

Response to some reader notes in the forum:

  • There are a handful of validation errors. Some will be fixed in the next day or so. Others are external HTML that is out of our hands. We may never toally validate with zero errors. yes we're comfortable with that.
  • We're not going to XHTML for the same reasons as above- we control almost all of our HTML, but some of it (like the ads, and imports from other sites) just isn't ours to muck about with. We could go to XHTML, and someday we might, but today we're happy to just get to HTML 4.01 and CSS.
  • Light Mode will be back in some form or another. The problem is that light mode served two purposes: Low Bandwidth, and Simplified Design. The later will probably be handled with a CSS theme (we have a handheld theme already). Low Bandwidth is a little trickier, but we will resolve that soon.
  • All of our code is beta tested on www.slashcode.com and use.perl.org. Unfortunately there's always a few issues from those tiny tiny sites and the giant bohemoth that is Slashdot itself.

20 of 748 comments (clear)

  1. Let me be the first to say ... by YankeeInExile · · Score: 5, Funny

    I for one, welcome our new Standards Compliant Overlords.

    --
    How does the Slashdot Effect happen given that no slashdotters ever RTFA?
    1. Re:Let me be the first to say ... by suwain_2 · · Score: 5, Funny

      Standards Compliant Overloads?

      S.C.O.?

      *shudders*

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
    2. Re:Let me be the first to say ... by Gleng · · Score: 5, Funny

      Well, this year, Slashdot updates it's code, Debian Sarge is released, and Apple switches to x86.

      If DNF comes out as well...

      Let's just say that that would be the fourth horseman.

      --
      "Proudly Posting Without Reading The Article"
  2. Re:Kudos on a great upgrade! by mfh · · Score: 5, Informative

    I was wondering if there was going to be a story on this.

    Me too... I blogged this earlier today, and briefly (first impression) journal'd it too, and would love to comment now on some more technical aspects of the page now that I've had time to examine it more thoroughly. Kudos to all involved on a very positive step in the right direction!

    The CSS is really clean and impressive. I don't have a problem with it at all at this point, but CSS was never really my strong suit so you may want to get a second (thousand) opinion on that.

    I have to admit, it's nice to see the page load faster, with fewer visual errors in Firefox. The links and text seems quite a bit nicer. Now I can modify the CSS of the site to make it look however I want on my own system too, so that is certainly a benefit.

    I'm sure many will point out that there are lots of errors in the HTML.

    You can see for yourself, here. That part isn't that important, because once you begin the road to enlightenment, that zen of CSS, it's a journey that has no return.

    I'm actually quite proud of Slashdot today, even though I merely post here.

    I will be far more proud when the new moderation systems come online. Not sure how many of you submitted ideas and had discussions with CmdrTaco on that subject but I had a thread going with him for quite some time last year. Much of what was said was repetitive, geared towards filtering out what he already had considered or someone else had suggested, but he genuinely listened to some of the suggestions that were unique. I wonder what the timeline is on the moderation changes... Taco?

    --
    The dangers of knowledge trigger emotional distress in human beings.
  3. Re:Testing process by AKAImBatman · · Score: 5, Informative

    Why don't you guys have a formal testing process in place for slashcode?

    They do. Beta code gets tested here before it's put on Slashdot. Now the upgrade process often generates quite a few 503s (since Slashdot is actually down during that time), but it's just a temporary problem.

    If you're still getting 500s and 503s, try deleting all your cookies that point to "slashdot.org". Sometimes the upgrades have problems with old cookies.

  4. Re: Just looking at the source by MexicanMenace · · Score: 5, Funny

    "Just looking at the source doesn't give me a headache anymore though, which is a massive improvement."

    Yeah, all I see now is blonde, brunette, redhead.

    Wait a minute, that's not /.!

  5. Re:Kudos on a great upgrade! by muszek · · Score: 5, Funny

    "Sorry, links to Bugzilla from Slashdot are disabled."

    chickens

  6. Re:Wrong date?! by Anonymous Coward · · Score: 5, Funny

    I didn't notice nothing differnt about slashdot this morning. It still looks the same. They haven't done anything like DHTML or menus at the top with drop down effect. They're also still using Perl instead of PHP. The shuold be moving to PHP since that's what all other sites are doing now. THey also havn't changed their icons in like forever. And the green Slashdot logo needs to go. There's also no background graphic to give the site a more polished magazine like feel. If they knew anything about design, they'd be following the lead of sites like Wired.com and Playboy.com. After all Slashdot is really just an online magazine at this point. You guys should also consider a print version of Slashdot. I think if you combine the look of Wired, Playboy and MacOS X you'd have a winning UI. You should also force user's browsers to open a new window devoid of any browser menus/widgets/buttons. That way you could then create a true UI for Slashdot and make it like a magazine application. A navigation bar at the top with Aqua-esque buttons would be grand. There should also be application sounds. Clicking on buttons should play different sounds. Like if you click on the link for apple.slashdot.org, you should hear the Mac startup sound. Or if you click on yro.slashdot.org, you should hear a gavel pounding on a desk. Or if you click on bsd.slashdot.org, you should hear a death rattle. There should also be a live Slashdot cam that shows us what you guys are up to at any time of the day. Kind of like Jennicam used to be, only like heavily censored so we don't see private stuff. Maybe the cameras could have moderation so that the highest modded images go on the front page in the upper left corner. Another thing. There is this program/standard file format called Flash. It can really spice up a site and make it feel more like an application. You could also embed some Java apps too, but Flash is the way of the future for all web sites. It's the tool most creatives prefer. So can anywone tell me what is actually different about Slashdot today than it has been since like the 1980s when it was called Usenet?

  7. Re:Kudos on a great upgrade! by Anonymous Coward · · Score: 5, Funny
    Me too... I blogged this earlier today, and briefly (first impression) journal'd it too, and would love to comment now on some more technical aspects

    Wow, what an exciting life you live.

  8. Re:So that is why by nacturation · · Score: 5, Funny

    ... slashdot does not work with Netscape 4 when I try it today.

    It sucks in Mosaic 1.0 as well.

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  9. Re:Light version wishlist? by CmdrTaco · · Score: 5, Informative
    This is exactly the plan. Historically "Light Mode" addressed 2 meanings of "Light"... (A) Low Bandwidth and (B) Simplified Design.

    The plan right now is to have a few large chunks of the site drop in and out for a less bandwidth intensive version. Essentially we strip the site down to what must be here: Less menu items, less boxes on the right. Basically, "Title" "Advertisement" "Stories" "Some Menus And Links". VERY minimal. Get the page down to as few bytes as possible. This We'll probably have a stylesheet too, but mainly this page will just have far fewer bytes of stuff.

    Design-wise we can create themes for modern handhelds. A generic theme is already available but it's a real quickee job. But now we can create thinned down look and feel customized for any individual handheld. Of course we don't really have any of these fancy devices ourselves, so hopefully readers will help by designing CSS that does just that.

    --
    Pants are still optional, but recommended for you.
  10. Re:Wrong date?! by Seraph · · Score: 5, Funny

    edit my ass.

    Sorry. There's no substitute for diet and exercise.

  11. Re:Kudos on a great upgrade! by mattgarnsey · · Score: 5, Funny

    Show some repect, coward! That's a 2-digit UID you're talking to!

  12. Re:HTML 4.01?! by pudge · · Score: 5, Informative

    We already forced HTML 4.01 strict compliance on comments six months ago. Almost no one noticed.

    We already converted 13M comments to valid HTML 4.01 strict. A couple of months ago. No one noticed.

    It would be relatively trivial to force XHTML 1.0 strict compliance. I'd flip a switch to force compliance on new content, then rerun the converter for old content. The code's been tested to work for both HTML 4.01 strict and XHTML 1.0 strict (since we allow only a relatively small subset of HTML tags and attributes, this isn't that hard for comments, or even stories, which allows a lot more variety in tags, but everything still fits in the intersection of the two, so it's just a matter of changing a very few number of things, that the code already knows about).

  13. Re:Kudos on a great upgrade! by jaiyen · · Score: 5, Interesting
  14. Re:Kudos on a great upgrade! by SoloFlyer2 · · Score: 5, Interesting
    The First 20 Slashdot (85645) users:
    CmdrTaco (1)
    Hemos (2)
    drendite (3)
    CowboyNeal (4)
    samzenpus (5)
    jgoldsch (6)
    CLorox (7)
    Emmett Plant (8)
    keith (9)
    ximenes (10)
    velkro (11)
    RAD Kade 1 (12)
    TechNoir (13)
    Christopher Bibbs (14)
    DeadBeef (15)
    Tom Rothamel (16)
    Rolf W. Rasmussen (17)
    davidu (18)
    steffenz (19)
    Robogoatgruff (20)
    and some other intersting user numbers :)
    Bill Gates (156)
    Microsoft (9967)
    Windows (452268)

    Linus Torvalds (128589)
    Linux (40410)
    Debian (27049)
    --
    "I reject your reality, and substitute my own" - Adam Savage
  15. MFH's Law by mfh · · Score: 5, Funny
    What's more lame is parent saved a really old comment URL that I made, just so he could be petty and vindictive. That he saved that trivia in his puny mind, where the answer to tomorrow's lottery numbers could be stored instead -- that he wasted the time of every reader on Slashdot just to point out the trivia is confounding and inappropriate.

    It's turning into a morph of Godwin's Law.

    Because it's my law, I will call it MFH's Law:

    The likelihood that someone will mention MFH(56)'s Slashdot account being purchased on Ebay approaches 100% as the moderation of MFH(56)'s comments increase.
    --
    The dangers of knowledge trigger emotional distress in human beings.
  16. Re:Redundant UL and LI in menus by Bitsy+Boffin · · Score: 5, Insightful

    Err, except the way it is now is semantically correct - it's a list of links. Your way it's just a bunch of links all mooshed togethor with no semantics at all.

    There is a lot of "div-itis" though, but I'm guessing that was to provide flexability for user defined stylesheets in the future, so can be forgiven i guess.

    --
    NZ Electronics Enthusiasts: Check out my Trade Me Listings
  17. Re:I disagree by ki4iib · · Score: 5, Funny

    +4 Funny for "Hahahahahaha :)"?!!! Hell, I can beat that. Check it:

    "BWWWWWWWWWAAAAAAAHAHAHAHAHAHAHA!!"

    oh and :D