Slashdot Mirror


Retooling Slashdot with Web Standards

Joe Clark writes "Nearly a year after an interview with this correspondent highlighted a few problems with Slashdot's HTML, Daniel M. Frommelt and his posse have recoded a prototype of Slashdot that uses valid, semantic HTML and stylesheets. Frommelt projects four-figure bandwidth savings in the candidate redesign, were it adopted, not to mention better appearance in a wide range of browsers and improved accessibility. Next he needs volunteers to retool the Slashdot engine. And yes, he did it all with CmdrTaco's blessing." Slashdot has kept its HTML 3.2 design for a long time ("because it works"), but perhaps this effort will be a catalyst for change...

136 of 764 comments (clear)

  1. CTRL-R by mrpuffypants · · Score: 4, Funny

    I'm all for it. If it makes /. load faster when I hit CTRL-R 10 times per half hour then I'd be very happy!

    On second thought, that could mean more time working. Scratch the idea.

    1. Re:CTRL-R by krisp · · Score: 4, Funny

      though, if you read the article, you'd know that the design is exactly the same, except the old HTML 3.2 was replaced with standards-compliant CSS.

      Then again, this is slashdot, and we don't read articles.

    2. Re:CTRL-R by the_other_one · · Score: 3, Funny

      What's an article?

      --
      134340: I am not a number. I am a free planet!
    3. Re:CTRL-R by ergo98 · · Score: 2, Funny

      And "an"?

    4. Re:CTRL-R by JebuZ · · Score: 2, Informative

      We don't read articles? Well it's apparent that you don't.

      If you had read the page you would notice that the redesigned page has a bandwidth savings of 2-9k, depending if the CSS file is cached. That may not be much, but it could be faster on very slow connections. Also, it's noted that the reduced load could result in a $3000+/year savings in bandwidth costs.

    5. Re:CTRL-R by Anonymous Coward · · Score: 2, Funny

      I agree. Slashdot needs to promote more of its resources to helping the children of this community.

  2. *looks down* by Xerithane · · Score: 5, Funny

    Hell just froze over.

    Brr.

    --
    Dacels Jewelers can't be trusted.
    1. Re:*looks down* by gad_zuki! · · Score: 2, Funny

      Slashdot on IIS.

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.0
      X-Powered-By: ASP.NET
      Date: Sat, 22 Nov 2003 07:09:02 GMT
      Content-Type: text/html
      Accept-Ranges: bytes
      Last-Modified: Thu, 20 Nov 2003 20:38:43 GMT
      ETag: "8036d049a6afc31:9a2"
      Content-Length: 33923

      Well, I never!

    2. Re:*looks down* by Jugalator · · Score: 2, Funny

      *looks down*

      Hell just froze over.

      Brr.


      Please, this isn't the proper thread to mention when you've got an erection. :-) But I'm glad it has finally happened for you too. I think the next step will be to go out to meet a girl. ;-)

      --
      Beware: In C++, your friends can see your privates!
  3. Just another example of the Slashdot monopoly... by CSharpMinor · · Score: 5, Funny

    They're actually proud of this? That they went so many years without complying to HTML standards? It is obvious that Slashdot was just planning to break the HTML standard to force everyone to use Slashdot's "integrated" browser, Mozilla.

    This isn't the first time this has happened. Remember when BBS's became popular, and Slashdot "integrated" one into their site to kill any competition? Or all the times that Slashdot has brought down "competing" sites by linking to them, thereby safeguarding their website monopoly?

    It's a shame that the DoJ let them off for this....

    --

    Whatever it is I'm complaining about, I'm sure the Republicans did it. This is /., after all.
  4. While you're at it by GoldMace · · Score: 5, Insightful

    Could you please make page 2 of comments actually be page 2 of the comments. I might be incredibly naive, but it seems something more like page 1.5. I don't know about the rest of you, but I always just read the odd numbered pages of comments, because like way too much stuff if repeated from the previous page on the even numbered ones.

    1. Re:While you're at it by GoldMace · · Score: 2, Informative

      No, it's like that even when reading some article from a couple days ago, that likely no one is posting to.

      I've seen quite a few message boards and none of them behave anything like this. Granted, most of them don't have the volume that this one does, but still the most overlap I've ever seen on any other message board is 2-3 messages.

    2. Re:While you're at it by spektr · · Score: 2, Interesting

      Could you please make page 2 of comments actually be page 2 of the comments. I might be incredibly naive, but it seems something more like page 1.5.

      I can confirm this. There was a case were I tried to view an 8 pages thread, and all the 8 pages came up as the same first page. Only as I changed from the threaded view to the flat view I was able to see some of the later postings. There are definitely bugs in the paging code.

    3. Re:While you're at it by Dr.+Sp0ng · · Score: 2, Informative

      Could you please make page 2 of comments actually be page 2 of the comments. I might be incredibly naive, but it seems something more like page 1.5.

      It shows the last thread of the previous page. No idea why it does this, but that's what it's doing.

    4. Re:While you're at it by Anonymous Coward · · Score: 4, Interesting
      No,

      If page 1 has: thread A with 14 subcomments, thread B with 22 subcomments, and thread C which has 17 subcomments, but...

      there's only room (based on the max page length) to show A, B, and 13 of C's comments...

      Page 2 will start over with the first comment of thread C. So you get to reread the first 13 of C's comments.

      All hell breaks loose if thread C has more comments than can be shown in a single page...

      Each page wants to start at the top of thread C again.

      The problem is slash won't start page N in the middle of a comment thread. Any comment thread that was only partially displayed in the previous page is reshown in its entirety.

      very annoying.

    5. Re:While you're at it by canajin56 · · Score: 2, Informative

      Yes. For readibility, it displays the whole thread at once. However, if a thread has more posts than your posts-per-page setting, every single page will ONLY be this one thread.

      --
      ASCII stupid question, get a stupid ANSI
    6. Re:While you're at it by Reteo+Varala · · Score: 3, Informative

      The primary problem, as I can see it, is that pages begin on a base response, and will go back as far as necessary to display that base response, rather than the nested replies to it.

      It can be annoying, so I will agree on that argument; at least include an option to do pages beginning in a response nest.

      My own method of cutting down on nesting-thread page repetititition is to set the display to 100 posts/page. (Which also cuts down on my need to click on the page numbers! Nifty!)

    7. Re:While you're at it by DF5JT · · Score: 3, Interesting

      " Could you please make page 2 of comments actually be page 2 of the comments."

      Easy: Leave the main page as it is and pipe the comments to NNTP.

      Is it really just the advertisements that prevent this? Why not create alt.fan.slashdot and have the discussions a lot easier to read with your favorite newsreader?

    8. Re:While you're at it by pacman+on+prozac · · Score: 2, Insightful

      Thats not the only problem, if it was just a single comment thread rolling over the page it would be easy enough to scroll past it....

      Its not...using nested mode, go to any article with 400 or more posts, the 2nd page will be almost identical to the first except for the last 1/4 or so, and that last 1/4 will be on page 3.

      I had assumed that nested mode didn't work well with whatever code calculates the offset from the limit on each page.

    9. Re:While you're at it by Doug+Neal · · Score: 2, Interesting

      Having the WAP site back would be nice as well. No one seemed to know about it but it was there, you went to slashdot.org on your phone and got the text of the articles. When they upgraded to slashcode 2.0 it disappeared without a trace. It's nice to be able to get slashdot on the move!

    10. Re:While you're at it by Anonymous Coward · · Score: 3, Informative

      I've already moderated on this story, so this is AC to keep my moderations intact. I hope somebody gets to see it :)

      Basically when the site is redisgned with valid XHTML and CSS your WAP device will just dump the CSS file and you'll have your bare, structural (X)HTML which your WAP device will love. It's just one of the reasons why web stanards are so great.

  5. well by revmoo · · Score: 4, Insightful

    but perhaps this effort will be a catalyst for change...

    How about a new look altogether?

    I had a look at the new site, and while it does fix many problems and should certainly be used to replace the existing setup, why not go a little farther and retool the look of the site as well?

    The look of slashdot has barely changed since the late 90's, and while the look certainly brings part of it's character, it's beginning to look dated. Perhaps it can be redesigned with a more effecient and cohesive interface while still retaining some of it's previous character?

    Or is it just a pipe-dream...

    --
    I would expect such blatant racism on Fark, but on Slashdot? Mods please ban this asshole.
    1. Re:well by Xerithane · · Score: 4, Insightful

      The beauty of CSS is that it can look different just by linking to a different stylesheet. If you read the full article, you would note he did make an alternate layout. It was sort of a mix between games and the traditional green, and wasn't exactly pretty. I don't think the idea was for it to be pretty, just to be "different."

      --
      Dacels Jewelers can't be trusted.
    2. Re:well by shaitand · · Score: 4, Insightful

      Not by this guy, he did a great job recreating the existing site, but did you look at his alternative skin? Dear god no...

    3. Re:well by trenton · · Score: 4, Informative

      For an excellent example of this, check out css Zen Garden. I was astonished by the different renderings of the same content with stylesheets changes only. I never fully understood the hoopla about CSS until playing around with this site.

      --
      Too big to fail? Does that make me to small to succeed?
  6. universal access by kurosawdust · · Score: 5, Funny

    will this work for browsers for those with disabilities? I think its only fair, considering I clicked on slashdot Games article and am now freakin' blind.

    1. Re:universal access by Phroggy · · Score: 2, Interesting

      Actually you can define CSS rules for specific media types, including braille and aural. Whether your browser supports them is another issue - I wouldn't know.

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  7. Re:Not ANOTHER non-standard page... by The+Unabageler · · Score: 5, Insightful
    did you not read the article?

    the code was converted to XHTML 1.0 Transitional, and validated


    that's almost as standard as you can get.
    --
    perl -e '$_="\007/4`\cp%2,".chr(127);s/./"\"\\c$&\""/gees; print'
  8. safari compliant by ack154 · · Score: 2, Informative

    I like it! Looks just fine in Safari 1.1.1 on Panther.

    I love the option of giving the users a choice too! Using the CSS import option would be great. Just create 3 or 4 color schemes and give people a choice (at least for the "main" part of it).

  9. The prototype is slowing already by Amiga+Lover · · Score: 5, Funny

    The prototype is slowing already. You bastards! you slashdotted slashdot!

    1. Re:The prototype is slowing already by Maserati · · Score: 5, Funny

      It's worse than that, we've slashdotted future Slashdot. The implications for the time-space continuum are dire.

      --
      Veteran, Bermuda Triangle Expeditionary Force, 1992-1951
  10. Hallelujah! by EchoMirage · · Score: 5, Insightful

    This is long long long long long overdue. Just because HTML 3.2 "worked" didn't make it good, or right. A proper application of [X]HTML and CSS can be a huge bandwidth saver. It looks like Google also updated their design yesterday or today - no doubt to subtly cut down on the huge amounts of bandwidth they serve out. More importantly for Slashdot, however, is that writing their code in an open and updated fashion really opens up the market for the kinds of people that can access the site, and that's never a bad thing. So congratulations on starting this project, and I hope it gets underway soon!

    Now maybe I'll finally be able to change my .sig!

    1. Re:Hallelujah! by Zoop · · Score: 4, Interesting

      I like bandwidth savings but I am really curious: are any blind people (let's face it; we're not talking about "accessible" for paraplegics or the deaf) read Slashdot?

      And do you do it with a reader that doesn't interface directly with IE's rendering engine rather than reading the HTML directly?

      Despite running some very information-centric sites, I have yet to see a confirmed assistive technology surfing my site in the logs--yes, I know all about spoofing, which is why I ask...you'd think that some of them, given the Biblical proclamations about standards liberating the handicapped that come from ALA, would just be a HTML-slurpers that give a unique identifier to logs and simply break on IE-only sites.

      So, any of you out there? Is the site unusable on JAWS or some such? I want real blind people who use it every day rather than somebody who once listened to JAWS read it in a lab or academic setting.

    2. Re:Hallelujah! by Anonymous Coward · · Score: 5, Informative

      I'm a blind /. user and I use either JAWS interfacing with IE (yes, I know, windows sucks but Gnopernicus is not there yet) or command-line browsers such as lynx and links. For the most slashdot works alright, and I'd say CSS and XHTML only affect people using more semantic tools, like those who use Emacs to browse.

  11. Agent sensing by Trillan · · Score: 2, Insightful

    When the time comes, please add some code to switch to a light design when browsing with a PDA. I know right now you can select light mode, but it affects all browsers used from an account which isn't at all what I want...

    1. Re:Agent sensing by ubernostrum · · Score: 2, Informative

      Selecting based on user-agent is a Bad Thing. The preferred method to provide "light" style to a PDA is the @media rule in CSS, which would allow PDAs to get their style via an "@media handheld" rule in the stylesheet, or from a simple link like this:

      <link rel="stylesheet" href="pda.css" media="handheld">

      The author of the ALA article used the same technique to provide "printer-friendly" layout via CSS, and it can work for a variety of other media as well.

  12. Wow, slashdot is ugly... by anthony_dipierro · · Score: 5, Funny

    So I looked at final example and I was just about to complain about how messed up it was. The words in the boxes on the right were all scrunched against the left edge. There were these stupid little dots in front of the links. It was just plain ugly. Then I went to the real site and realized it had always been that way, I just haven't paid attention to it.

  13. F5 by ergo98 · · Score: 2, Informative

    I've always been partial to F5 myself.

    In any case, I've looked at the final example (the "optimized" page), and while it's nice to see someone pushing for the adoption of `cutting edge' (as of 1999) CSS, how about eliminating all of the completely wasteful, bandwidth and processor consuming, whitespace? Unless this is python at whitespace affects scope (which it isn't), I don't see why so many sites have such a fetish with tabbed and spaced HTML when the browser discards it as garbage bytes, actually wasting time (albeit a tiny amount, but nonetheless) parsing through it.

    1. Re:F5 by ergo98 · · Score: 5, Insightful

      This is the classic response to that comment (about wasteful whitespace), yet I don't buy it.

      a) Totally guessing, but about 99.9999% of the pages served up are interpreted by "no one" other than the browser. It's more "readable" by the browser minus the whitespace.

      b) Most pages, like this, is "mechanically generated" - What you see in the final results was rendered: It isn't the "source-code". As such there is absolutely no code maintenance issues.

      What you're left with is the prospect that maybe one out of every million page hits is going to a Slashdot developer who's debugging that the rendered properly, though if it's XHTML transitional then a XML editor would be a great choice and would again make it irrelevant if it's clogged full of waste whitespace.

    2. Re:F5 by dvdeug · · Score: 2, Insightful

      I don't see why so many sites have such a fetish with tabbed and spaced HTML when the browser discards it as garbage bytes,

      Whitespace isn't going to be your biggest bandwidth waster. So why not leave human readable.

      actually wasting time (albeit a tiny amount, but nonetheless) parsing through it.

      Why don't you measure it and compare it to other optimizations before you recommend that people spend their time changing it? "Premature optimization is the root of all evil", or something like that?

    3. Re:F5 by NeXTer · · Score: 2

      If you uses standards compliant XHTML and CSS, you're much more likely to end up with a site that is readable in Lynx/Links than if you used oldschool HTML. This is because you can arrange things in a much more logical fashion in the markup since it doesn't contain the actual layout, which is imported from the CSS file.

    4. Re:F5 by ergo98 · · Score: 2, Insightful

      Whitespace isn't going to be your biggest bandwidth waster

      True enough, but you don't always have to take on the biggest foe first - whitespace is one of those things that was actually intentionally added (it was more work to cleanly whitespace), so it would actually be less work to have skipped it.

      Why don't you measure it and compare it to other optimizations before you recommend that people spend their time changing it?

      Slashdot serves up millions of pages a day. One useless tab is several MB of Slashdot's bandwidth for absolutely no, or little, gain. I don't need to measure it (and, quite simply, I don't care enough too, though if someone wants to they can grab the tidy utility from the W3C, which strips out whitespace) to see that there is considerable waste in there. In the grand scheme of things it really isn't that much of a hit, but given that it was work to add it...

    5. Re:F5 by Mr.+Slippery · · Score: 2, Insightful
      whitespace is one of those things that was actually intentionally added (it was more work to cleanly whitespace), so it would actually be less work to have skipped it.

      During development, people have to look at the generated HTML. To preserve their sanity, they use whitespace. Removing whitespace would be extra work (and it would end up being put back in by the next fellow who had to work on that code).

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    6. Re:F5 by zsmooth · · Score: 4, Informative

      http://www.press.uchicago.edu/Misc/Chicago/cmosfaq /cmosfaq.OneSpaceorTwo.html
      http://www.greece.k12.ny.us/taylor/topics/doublesp ace.htm
      http://desktoppub.about.com/cs/typespacing/a/onetw ospaces.htm
      http://www.webword.com/reports/period.html
      http://www.getitwriteonline.com/archive/011803.htm

      Both the MLA and Chicago Manual of Style suggest one space after punctuation while using a compensatory font (ie, not-monospaced). Two spaces after a period is very out of style. Yeah I know - shocked the hell out of me when I learned it a couple years ago too.

  14. About the author... by Lank · · Score: 5, Funny

    Daniel M. Frommelt is the University World Wide Web Coordinator at the University of Wisconsin - Platteville, an executive committee member of the Campus Web Council of Wisconsin, and a web standards advocate. Daniel spends his free time brewing beer.

    I like the guy already.

    --
    Gotta get me one of these!
  15. Teeny Bug by Audity · · Score: 5, Interesting

    That's all well and good, but you don't want to break the old page. I read slashdot often with my "text zoom" on mozilla 1.0.1 at 120 or 150%.

    Right now slashdot looks normal at any text zoom setting, but the version proposed in the article hides parts of words when I turn up my zoom to 200%. I don't often read with text that large, but I've done it before, and I'm sure there's users out there who do it regularily.

    1. Re:Teeny Bug by alphaseven · · Score: 4, Informative

      Looking at the css file, it looks like the centre column is set at 96 pixels from the left, no matter how big the text in the left hand column is. So if the text in the left column is wider than 96 pixels it will bleed over the middle column.

      I'm not really up on my css, but I would guess a solution would be to have the centre column floating next to the left column, or to define the distance from the left hand side in em units instead of pixels.

    2. Re:Teeny Bug by InfoCynic · · Score: 2, Interesting

      I tested this in Moz 1.5 and it works fine up to 150 (I didn't try 175 or anything >150 and <200). Above that the left column text gets too big to fit in its current fixed-width box.

      The solution to this is not to keep using table cells which can dynamically resize themselves, but to either use overflow: hidden, overflow: auto, or write an entirely new style sheet for those individuals with vision disabilities or those who simply prefer to read their text at a larger size for whatever reason.

      It could incorporate high-constrast color schemes and add more spacing between sections to make it easier on the eye for those who might already be having trouble seeing. It could also get rid of the italics, which are hideous to read en masse, although okay now and then for emphasis, like the em tag suggests.

      It would be easy to let users select their preferred style sheet and view the page using that, just storing the info alongside the 15,000 /. preferences in another cookie. You could even let users specify an absolutely-qualified URL or local filepath (but this wouldn't migrate well) for their own custom stylesheet.

      Maybe we could have a "design a /. style sheet" contest (give away some silly prize like a subscription)... the winners could become the set of "official" stylesheets available for users to choose from. Of course, the default can still be the simple green & white we all know and... well, let's not go too far. :)

      --

      "Recta non toleranda futuaris nisi irrisus ridebis"

    3. Re:Teeny Bug by ubernostrum · · Score: 4, Insightful

      I'm not really up on my css, but I would guess a solution would be to have the centre column floating next to the left column, or to define the distance from the left hand side in em units instead of pixels.

      Or the CSS property overflow , which could be used in a variety of ways to make the text visible when it gets too large for the column.

  16. Custom Colors by VirtuaKnight · · Score: 2, Insightful

    Perhaps you could add a section to preferences that lets users choose which color schemes to use on all of the Slashdot sections. If they don't want to set the same color for all sections, let them choose a default (individual settings for each section would probably eat up a lot of space).

  17. The problem is the CVS by ericdano · · Score: 4, Insightful
    One of the problems is the constant twiddling that happens on the CVS of slash. If you run a slash site, which I do, and keep up to date, you need to usually update every template on the site. Little things change, etc, etc. It's a pain in the ass. And look at when the Slashcode site was updated. Like months ago.

    It would be GREAT to see them finally, 3 or 4 years later, dump the old theme and streamline it with CSS and stuff. Is it going to happen anytime soon. Probably not.....

    --
    It's either on the beat or off the beat, it's that easy.
    I moderate therefore I rule!
    --
  18. What about the graphic design by drpentode · · Score: 4, Insightful

    Now that you've made slashdot standards compliant, why not make it look good? CSS has powerful leading, word spacing and font tools (all of them with relative measurements to look good across most browsers). If a browser doesn't like a text attribute, it won't display it, so you won't have to worry about the same unpredictability as you would with layers and div boxes. The one thing that sucks the most on slashdot is its typesetting. Type is the one thing web designers forget about, but doing it right drastically improves the appearance and readability of a site.

  19. Re: Changing the look by PotatoHead · · Score: 3, Insightful

    is a bad idea. Personally, I like it. Reducing the necessary bandwidth to use the site is a good thing though for everyone involved. Why spend money you don't have to in a down economy.

    Things do look a bit dated, but maybe that is a good thing. The popularity of /. is not an issue so what's to prove by changing the look? Gain new users? Have more impact?

    Anyone that matters knows the site already. The content is the reason they return, not the pretty icons. Getting more impact through a more compelling rendering might matter to a few folks, but will the expense be worth it?

    Maybe this is the wrong comparison... Take an established publication like the Times or WSJ. Do they make big changes often? No. The formula works and is a big part of their identity.

    I think they keep things the way they are because they know change works against the needs of their readers; namely, access to relevant content easily.

    Unless I am missing something, major changes to /. would prove to be a mistake.

  20. It's been done before (unofficially) by cioxx · · Score: 4, Informative

    There is a project called CSSZenGarden. It's a collection of different stylesheets which modify the same content according to contributor's tastes and design abilities. There are few dozens of examples, and amongst them there is the Slashdot interface, albeit not a perfect copy as shows in the article.

    You can view all the available CSS designs here. Same content, different stylesheet. Just shows off all the wonderful things that's possible with CSS standards-based page creation.

    "HTML is dead." - Friedrich Nietzsche

    1. Re:It's been done before (unofficially) by salzbrot · · Score: 2, Funny
      <html>
      Nietzsche is dead
      </html>
  21. What does it pay? by DAldredge · · Score: 2, Interesting

    /. makes money off ads and subscriptions. Why should we work for free? After all, the editors will not even edit their site nor will the check for dups. And some of the bandwidth cost savings could go to those that do the work.

  22. Not complying with any HTML standard by LiamQ · · Score: 5, Informative

    Actually, they have been complying with HTML standards, just the old version 3.2.

    That's not true.

  23. I'm just happy it rendered properly in Firebird.. by B747SP · · Score: 4, Interesting
    Actually, my mousewheel scrolling works fine on those demo pages. Though strictly speaking, I'm not using a scroll-wheel. I'm using middle-button on one of those 3M Renaissance mouse things...

    The bit that impresses me more is that the page rendered properly with Mozilla Firebird 0.7 on Win32. The real slashdot doesn't render particularly well at all with Firebird for me.

    --
    I find your ideas intriguing and I wish to subscribe to your newsletter.
  24. Re:Explains some stuff by BJH · · Score: 5, Informative

    IE's character code handling is heuristic if no character code is specified in the HTTP header or the HTML head block.
    It scans through the page and tries to match the character frequency against average character frequencies for various languages. If you're seeing Slashdot as Big5, then that means IE thought that the character frequency matched Big5 most closely.

  25. Editor Queue enhancements? by Speare · · Score: 5, Insightful

    Not a flame.

    If you're thinking of retooling the slash engine itself, I hope you consider some of the oft-complained areas for the most improvement. Things get mixed up in any random-access submission "queue" engine, but slash seems to suffer from these things often. Even editors have grumbled about not seeing other editors' status on various stories.

    • detect multiple/overlapping story submissions by their URLs, and make it easier for editors to find the earliest and to find the best (longest, most links, no broken links) examples of a breaking story
    • automatically give submitters a reason for their rejections: "rejected; another poster broke the story earlier and/or better."
    • capitalize stories according to title rules (not just every word)
    • fix or highlight the top fifty most common grammatical mistakes in submissions automatically (s/\bmore then\b/more than/g)
    • automatically mirror (and provide as separate link) a front-page snapshot of featured stories for the first hour of a story going public
    • searcher should be aware of common three-letter acronyms, and index them better
    • allow meta-moderation of "overrated" and "underrated"
    --
    [ .sig file not found ]
    1. Re:Editor Queue enhancements? by frozenray · · Score: 2, Insightful

      Good points.

      > allow meta-moderation of "overrated" and "underrated"

      *rrated is abused far too often in my opinion.
      Here's an explanation from another /.er on why *rrated is not M2ed. I guess this would be easy to fix if the metamoderators could see the score of the comment at the time it was moderated (e.g. "Overrated at +3 Insightful" or something like that).

      Also, it should not be possible to moderate *rrated on a post with no previous moderation. This would prevent troll moderators from immediately lower the score of a post from 1 to 0 or -1 and thereby putting it below the threshold used by most readers without being caught in M2.

      Alternatively, we could rethink the whole M2 system, here are some ideas.

      --
      "There are already a million monkeys on a million typewriters, and Usenet is NOTHING like Shakespeare." - Blair Houghton
  26. Re:Sounds good by LFS.Morpheus · · Score: 4, Informative

    Slashdot doesn't use "Times New Roman." It uses absolutely no font at all. This means that your browser renders it using its default proportional font. Proportional usually maps to one of "sans-serif" or "serif," and then you can change your default sans-serif or serif font.

    I'm not sure if this is settable in IE, but Mozilla, Safari, etc etc have these settings.

    Personally, I use serif, and then my serif font is Georgia. It looks great to me. But feel free to use sans-serif and Comic Sans if it suits you.

    --
    The space unintentionally left unblank.
  27. Article by yerricde · · Score: 5, Funny

    Many languages have two articles, which correspond to English "an" and "the". Many of those languages have multiple forms, called "allomorphs," for each article, determined by context; in English, "an" becomes "a" before a consonant and "some" before a mass or plural noun. Russian has no articles, their function having been replaced by sticking nouns before the verb (to imply "the"-itude) or after the verb (to imply "a"-ness).

    Another meaning of "article" is any of the interesting pages linked to in the story at the top of a Slashdot article.pl page. In this case, Slashdot users would call this page "the article".

    --
    Will I retire or break 10K?
    1. Re:Article by Krach42 · · Score: 3, Informative

      Swedish (and perhaps others of the Scandanavian languages) also has an interesting article usage, where the ended "-et" or "-en" is suffixed to the noun to indicate the definate article. The choice in which, is determined by the gender of the noun.

      --

      I am unamerican, and proud of it!
    2. Re:Article by mindriot · · Score: 2, Funny
      Another meaning of "article" is any of the interesting pages linked to in the story at the top of a Slashdot article.pl page. In this case, Slashdot users would call this page "the article".

      Hmmmm... well, normal people would call it "the article". Slashdot users would probably call it "a DoS target".

    3. Re:Article by Krach42 · · Score: 2, Informative

      No, Finnish is not a "Scandanavian" language. It's a part of Scandanavia but the Scandanavian languages are a set of Indo-European languages, which share a number of similarities that were they not seperate countries, would define them as a single language with a number of dialects.

      The only Scandanavian languages I know to exist are Swedish, Norwegian, Danish, and Icelandic.

      Finnish is not Indo-European and is Uralic, like Estonian, and has a large number of cases ( >5, 5 being the limit on Indo-European cases) Thus, it can't be strictly included in the Scandanavian languages, even though Finland is in Scandanavia.

      --

      I am unamerican, and proud of it!
  28. Re:Agent sensing - That's the point by polyhue · · Score: 2, Insightful

    Well that's one of the key reasons to convert it - an alternate stylesheet can be provided for PDAs, though I don't know if any actually use it -- but more importantly it will lay out in clean text and respect the semantic structure, showing headlines (H tags), paragraphs, lists, etc., so all the freaks here could check it on their phones and such constantly and it should be good and readable.

  29. Slashdot CSS Suggestions by scoobysnack · · Score: 5, Insightful

    Good article, just a couple of suggestions...

    In general, it's usually better to avoid giving layout-suggestive names to your div tags. In the example, the author calls the Login/Sections/Help div leftcolumn. It would probably be better to name it something that is more suggestive of it's content rather than it's location - this way, if in the future a new skin was added that moved the content to the right-side, or even bottom of the page, the div name wouldn't contradict it's location.

    Another suggestion would be to disable all images in the print.css file. The author already went ahead and disabled the advertisement, the left and right columns, but he left those pesky story icons. I know that when I print an article, usually all I care about is the text. It's a simple way to make a page a little more printer friendly.

    My last suggestion would be to move the content div tag, up near the top of the page. This way, as your browser downloads the information from the server, it will download the story information (important) before downloading the left/righthand content panes (unimportant). If someone stops loading their browser before the page download has been completed, at least the browser can attempt to render the story data. And with css, the layout will be preserved.

    1. Re:Slashdot CSS Suggestions by Micah · · Score: 4, Insightful

      Speaking of div tag names, I noticed they had one called "advertisement". Man, wouldn't that make ad blockers easy! Just overlay a custom CSS file with something like:

      #advertisement { display: none; } :-)

  30. haha by VAXGeek · · Score: 2, Funny

    i just went to the new slashdot code, and it looks horrible in konqueror.
    the actual /. code renders fine though.

    --
    this sig limit is too small to put anything good h
  31. Re:Cool! by pinkboi · · Score: 2, Informative

    um, Slashdot already has an RSS stream that you can parse.

    --
    "The absurd is clear reasoning recognizing its limits"
    -Albert Camus
  32. This article is intended to be read by humans by yerricde · · Score: 5, Insightful

    how about eliminating all of the completely wasteful, bandwidth and processor consuming, whitespace?

    As you point out, XML, CSS, and ECMAScript, unlike Python, are not very sensitive to whitespace. Slashdot can mitigate whitespace's contribution to bandwidth in two ways: 1. mod_gzip (which Slashdot already uses), and 2. caching proxies that strip excess whitespace. But this article itself is intended to be read by developers, and clarity counts.

    --
    Will I retire or break 10K?
  33. What about PNGs? by Yosho · · Score: 5, Insightful

    Come on, Slashdot still hasn't converted its GIFs to PNGs. That alone would save a good amount of bandwidth, not to mention that Slashdot is supposedly pro-open source and all that.

    The only argument I've seen against them is for compatibility's sake -- honestly, I would be surprised if even as much as 1% of Slashdot's readership was using an image-based browser that did not support PNGs. There are probably plugins available for the ones that don't. So, why not?

    --
    Karma: Terrifying (mostly affected by atrocities you've committed)
    1. Re:What about PNGs? by ericdano · · Score: 2, Informative

      Ouch. VERY true.

      --
      It's either on the beat or off the beat, it's that easy.
      I moderate therefore I rule!
      --
    2. Re:What about PNGs? by Slime-dogg · · Score: 2, Informative

      That's typically attributed to the number of colors present in the image, and the addition of the alpha channel. If you have a PNG image with 256 colors compared to the same GIF image, the PNG will be smaller.

      The very fact that you can have 16 million colors + alpha in a PNG is well worth the sacrifice you make in file size. The difference is typically on the order of 4-5 KB anyways.

      --
      You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
    3. Re:What about PNGs? by jsebrech · · Score: 2, Informative

      If you want photoshop to be better at creating png's, download superpng.

    4. Re:What about PNGs? by skookum · · Score: 2, Informative

      The LZW patent expired in the United States on 20 June 2003, but it's still enforceable in the following countries:

      Canada (expires 7 July 2004)
      the United Kingdom, France, Germany and Italy (expires 18 June 2004)
      Japan (expires 20 June 2004)

      So you're not free to use the LZW routines if you live in one of those countries. Please stop spreading misinformation.

  34. Re:Not ANOTHER non-standard page... by typhoonius · · Score: 2, Interesting

    The final example uses XHTML 1.0 Strict, even. The logical next step, I think, would be replacing the GIFs with PNGs.

  35. Re: Changing the look by ericdano · · Score: 2, Insightful

    Fast page loads would be one thing. Do a view page sometime and see all the CRAP that is in there. If you could reduce it then you could be speeding up your web viewing (slashdot reading) experience, and unclogging/freeing up Slashdot's bandwidth. Sounds like a win/win to me.

    --
    It's either on the beat or off the beat, it's that easy.
    I moderate therefore I rule!
    --
  36. Four simple feature requests by brrrrrrt · · Score: 4, Interesting

    If Slashdot is going to be recoded, I would like to ask for four features that are easy to implement, and that would be very nice to have.

    1. When you click on your username, you see all of your comments, and next to your comments, you see the number of replies to your comments.
    It would be really nice if this number would be clickable, so you could immediately read the replies to your comments. (It's quite complicated to get to the replies now, especially when you've put a high comment threshold in place)

    2. Can story submissions be placed (more logically & more conveniently) on people's slashdot-homepages, instead of on the page that you get when you click on "submit story"?

    3. It would be nice if you could see your own story submissions (not just the subject, but also the body & other details) when you click on them. Just to see them back.

    4. Could the default comment-submission mode be changed to "plain old text" instead of "html-formatted"?
    It is confusing that you have to write your own html in a text area on slashdot to get something as basic as newlines, where there is no other site that I can think of - not even a geeky one - that requires you to manually enter the BRs.
    It's just not useful, not intuitive and not nice this way.

  37. Sweet creepin' jesus! by mikeswi · · Score: 3, Funny

    14 gigs PER DAY savings ????

    I do ~90-100 gigs per MONTH and freak out at that.

    I will never bitch about my bandwidth use again.
    I will never bitch about my bandwidth use again.
    I will never bitch about my bandwidth use again.
    I will never bitch about my bandwidth use again.
    I will never bitch about my bandwidth use again.
    I will never bitch about my bandwidth use again.

  38. Search Function by General+Sherman · · Score: 3, Interesting

    While you're updating the (X)HTML to be compliant, why don't you make the search engine actually search? As it is now it's almost completely random as to what you get when you click "search", no matter what you put in the box. I've gotten completely different results just by hitting reload.

    --
    - Sherman
  39. RTFB by useosx · · Score: 2, Interesting
    though, if you read the article, you'd know that the design is exactly the same, except the old HTML 3.2 was replaced with standards-compliant CSS.

    Then again, this is slashdot, and we don't read articles.

    Though if you read the blurb you'd notice:

    four-figure bandwidth savings in the candidate redesign

    Though I personally think Slashdot should look something like this All you aesthetic-less, function-over-form folks who are screaming right now might enjoy the the "LITE" link... though the site is very standards/accessibility friendly and with a pretty face!
    1. Re:RTFB by Slack3r78 · · Score: 2, Informative

      I'm sure that looks very snazzy on the person who developed it's screen, but on my monitor at 1600x1200, that design leads to 2/3 of the screen being wasted with blank gray space. I'll pass, thank you very much.

    2. Re:RTFB by sydb · · Score: 2, Funny

      Try "I'm sure that looks very snazzy on the screen of the person who developed it, [...]"

      --
      Yours Sincerely, Michael.
    3. Re:RTFB by Eight+01 · · Score: 2, Informative

      Sounds like you need a better browser. The new design looks great on my super-advanced IE brand browser from our friendly pals at Microsoft running full screen on a 1600 x 1200 display. Well, at least it looks just like the old design.

      Also, the new design still allows the user to change the font size. Thank god for that. So many sites now use absolute pixel sizing in their stylesheets to apply their 12 pt. Times font.

    4. Re:RTFB by fader · · Score: 2, Interesting

      on my monitor at 1600x1200, that design leads to 2/3 of the screen being wasted with blank gray space

      Lucky. On my iBook (which only goes to 1024x768) I get horizontal scrollbars unless I browse in fullscreen mode. I saw them and left the site immediately :)

      --
      - fader
  40. ALA is ok but CSS is broken by metalhed77 · · Score: 4, Interesting

    Ok, I like ALA, I'm a bit of standards guy even, my whole website is XHTML 1.0 strict. Unfortuanately slashdot has a table based layout, which, to put it simply, CSS cannot handle. I've spent days researching correct CSS tables in the past and it is an impossibility. The problem? Font overlapping. Try a text zoom to as little as 200% (yes, doubling the text size is not that extreme) and most CSS table based designs instantly break. Much like this one. My site works fine with it as everything is position ed such that font size only breaks at absurdly high magnification, but if it were any more complex I'd HAVE to use tables. I don't know if this si a browser issue, or a problem with the CSS spec, but text overflow is a serious issue, one which breaks nearly every CSS page with complex layout in existance. There needs to be a way to style tables in CSS without having to use a table tag. In short, CSS boxes are just that, boxes, they don't link together to correctly handle font sizes. The new slashdot is more broken than the current slashdot in a functional sense.

    --
    Photos.
    1. Re:ALA is ok but CSS is broken by Skapare · · Score: 2, Interesting

      Certain when web designs think inside the box (that they learned back in graphical arts school when the medium was 8.5x11 inch company catalogs), they too often do use pixel measurements and don't allow elements to float in size (as they are supposed to on the web). I tried pushing the limits on your page [link, jpeg, gif]. The left menu didn't expand even when I resized to full screen. But at least the text wrapped around correctly, which did not happen on the ALA/Slashdot [link, jpeg, gif] example (in that case, the text spilled out of the box and overlapped). There is a problem with text overlapping vertically, but I think that is a browser bug (Firebird 0.7).

      --
      now we need to go OSS in diesel cars
    2. Re:ALA is ok but CSS is broken by ubernostrum · · Score: 3, Insightful

      I don't know if this si a browser issue, or a problem with the CSS spec, but text overflow is a serious issue, one which breaks nearly every CSS page with complex layout in existance.

      Yeah, you'd think somebody would come up with an " overflow " property and put it in the CSS spec to fix that, wouldn't you?

      Snarky comments aside, most problems with layouts being broken by text magnification can be fixed with careful design. Yeah, it takes some work, but generally no more than what you'd put in nesting 800 tables...

    3. Re:ALA is ok but CSS is broken by skti · · Score: 2, Interesting

      If you use em's instead of px's to size things, then everything will be resized if the user changes the font.

      --
      "When I despair, I remember that all through history the way of truth and love has always won..." ~ Mohandas K. Gandhi
    4. Re:ALA is ok but CSS is broken by DarkSarin · · Score: 2, Insightful

      Having read some of the other posts in this thread, there is a solution--DON'T use TABLES!!! I personally think that tables are a bad idea, and should be avoided at all possible.

      In most cases, one can replace tables with division tags, which work much better in general. The only caveat is that IE tends to break CSS based DIV tags if you use the wrong type of positioning. To be specific, if you use position: fixed; IE will NOT position this correctly, and really has trouble with multiple elements being fixed position. Mozilla actually fixes this position relative to your screen, not the rest of the page, allowing things like floating menu bars without crazy javascript solutions.

      It would be possible, (not necessarily convenient or easy) to migrate to a non-table based layout that would LOOK just about identical for most people, and solve the problems you mention.

      --
      "We don't know what we are doing, but we are doing it very carefully,..." Wherry, R.J. Personnel Psychology (1995)
  41. Re:XML? by POds · · Score: 2, Informative

    Basicly let me explain what you can do with XSLT. Say you have a table, with 20 plus cells.. This each cell is verticaly listed, has a title and a paragraph. In XSLT all that is required is to have a generic cell and map this to each peice of data in the XML Tree. This cuts down the HTML that has to be transmitted. Sure this was a simple example and a lot of the gains would have been reduced due to the size of XML but in more complex examples XSLT is fantastic for reducing the size of your site. Plus i also believe XML helps for future upgrades because of its flexibility and modular design in comparison to HTML (content and data in the one document).

    Also, lets not forget about the advantages of chache. Lets say that each slashdot sections, such as apple, main, apache, books etc use the same XSLT sheet for layout. The XSLT style sheet does not have to be redownloaded for each section. You'd prolly have a seperate CSS document for each section but again, these are very small.

    If reduced bandwidth is what you want. You can look past XML+XSLT+CSS!

    --


    Giving IE users a taste of their own medicine since 2005 - http://pods.-is-a-geek.net/
  42. Re:Not ANOTHER non-standard page... by MuckSavage · · Score: 2, Funny

    Are you serious? Cause if so, you should be modded up funny.

  43. Did anyone else notice? by Anonymous Coward · · Score: 3, Informative

    The example page does look pretty much exactly like the existing Slashdot layout, to which I say job well done. The only problem I see with it is that, at least in IE6, when the window isn't maximized, the category images all crowd up in the visible window and overlap things they aren't supposed to instead of trailing off the visible screen to the right. I don't know anything about advanced HTML, so I don't know whether that's a bug or a limitation of the technique, but it's definitely a big issue, I'd think.

  44. some shortcomings by locus_standi · · Score: 3, Interesting

    the italic words on slashdot are rendered in bold on konqueror 3.1.4 no matter what font i use. also, the font for comments seem to depend on the general font of X and konqueror. i would prefer if slashdot specified a standard typeface for comments and other aspects of the website. while slashdot loads pretty quick here, i would welcome a fresh look to the website. a better way to view comments would be nice too. the threaded system is cumbersome when there are too many comments. just my $0.02

  45. XHTML or HTML 4.,01 Strict? by kuzb · · Score: 5, Informative

    If XHTML, there are some things to consider:

    It's important to note that using XHTML 1.1 requires you to send your documents as XML. This means the document should have an XML declaration above the doctype, and needs to be sent with an XML mime-type, ideally application/xhtml+xml. This has a significant drawback; IE can't see it.

    A fairly well established workaround is to use mod_rewrite and munge the mime-type of a document based on what a user agent sends in its Accept header (To date, Mozilla is the only browser to include application/xhtml+xml in its Accept header). However, some would argue that this too has drawbacks. Since only Mozilla understands application/xhtml+xml, your documents will be sent as text/html, and XHTML does not validate as HTML.

    The arguments around this issue have been summarized in the widely linked "Sending XHTML as text/html Considered Harmful"

    --
    BeauHD. Worst editor since kdawson.
  46. Re:Blech... by setmajer · · Score: 2, Informative
    I don't feel like writing a my own stylesheet just because some webgoon wants to hardcode a bunch of pixel sizes.

    Apparently you don't feel like looking at the style rules before you criticize them either, as they text sizes are set with keywords and ems, not pixels.

    Regardless, you don't have to write an entire stylesheet to get your favorite face and size. Just a simple style rule:

    p, li, h3, h4, h5, h6 { font: 24/28 'Comic Sans'; }

    If even that's too much trouble, the link in my previous post also tells you how to set your preferences to override whatever the site specifies for face and size. A couple of mouse clicks and you can have whatever font size and weight you want.

    --

  47. Re:Just another example of the Slashdot monopoly.. by drinkypoo · · Score: 3, Insightful

    However, someone sufficiently motivated can rip it out and slap in something new. Sometimes people end up rewriting amazing portions of software when it's big enough. I'm not sure slashdot really does enough to warrant that kind of manhandling, it might be better to start entirely over.

    But then, I've never looked into slashcode, because while slashdot is a fine site, I would never want to run it. I'll learn a lot more if I write my own code, and I don't have lofty goals for my website.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  48. Works much better... by Polo · · Score: 2, Informative

    I tried it on my phone, and the display is lots more readable.

    The original version had lots of italics and the text flow wasn't great.

    The updated version looked much better (except that the header of the first story was separated from the body by the section nav and poll and stuff)

    Handspring Treo 600, blazer browser.

    Now there's no reason to fix http://slashdot.org/palm (which doesn't seem to work) to be as good as http://www.wired.com/news_drop/palm looks on a handheld.

    Maybe even make it automatic.

  49. Re:Not ANOTHER non-standard page... by Skapare · · Score: 2, Informative

    And what do you do when the User-agent header is not sent, as would be the case for a proxy cache trying to maximize the number of hits, since it is required that cache hits must match the User-agent exactly if it is sent. Unfortunately, I've seen a few sites where the site code crashes when the User-agent is missing, and in a couple cases, actually gave me crash dump information I'm sure the webmaster would not have wanted anyone to see (e.g. a database access password).

    --
    now we need to go OSS in diesel cars
  50. Re:XML?-Bag-pipes. by POds · · Score: 2, Informative

    You can do the transformations on the client side. Maybe two setups could be developed, one for those who have XML support on the client side, such as Mozilla based browsers and internet explorer and those who dont for older brwosers...

    Simple, XML covers everything! But the idea i like is that if i want i could define my own XSL file for slashdot. Say take the XML code from the web site and format it on my machine so i can read it how i want. Also, this is great for little side bars that just want to summerise the news for the day or the major headings.

    So many applications. If slashdot DOES plan to do anything. XML is a must!

    --


    Giving IE users a taste of their own medicine since 2005 - http://pods.-is-a-geek.net/
  51. Sweet. i've been working on the same thing by legLess · · Score: 5, Informative

    This is an elegantly-designed page, and a nice recode of the original.

    For the last several months I've been working on the same project from a slightly different perspective. We have a working Slash-based site, currently in live beta, at http://www.news4neighbors.net.

    The site doesn't validate, but it's all structural XHTML with CSS for layout and style. This is much rougher than the beautiful markup presented here, but the difference is that nearly our entire site is running this template system. My work is based on the Openflows strict theme, released early this year at http://strict.openflows.org. But not much of that theme is left, as their project and mine had very different goals. I've changed all of the 120-something templates, and much of the code that sends them data.

    The site needs a lot of work, no doubt. But we're developing it rapidly, and have made much progress.

    The biggest challenge is that Slash itself doesn't separate content from presentation from business logic. To change one set of tags you may have to rewrite a template, change a database variable, write some Perl, or a combination. This isn't a knock on Slash -- it's very powerful and I enjoy using it -- it's just that the presentation layer hasn't been their focus.

    The end-goal for this project, Slash-wise, is to have a fully XHTML/CSS compliant theme that people can easily use on their sites.

    If you want more information about it, send me email at randall -at- sonofhans.net

    [ FYI, I also posted this in the ALA discussion ].

    --
    This isn't as much "normalization" as it is "don't take so many drugs when you're designing tables."
  52. The one reason I can't give /. urls to friends by devphil · · Score: 3, Interesting


    is that the default comment view (i.e., when you don't have an account) is non-threaded, oldest first. Which is just stupid. People visiting are treated to pages of whatever the current first-post troll is these days.

    Switch the default to threaded, highest scores first, and then if a visitor wants a more chaotic view, they can deliberately ask for it.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
    1. Re:The one reason I can't give /. urls to friends by efflux · · Score: 2, Informative
      And what, this url is easier?

      http://developers.slashdot.org/article.pl?sid=03 /11/21/2223256

      . NO. I don't think so. I think you'll send them a link. And *then*,you can add the appropriate parameter.

      Say:

      http://developers.slashdot.org/article.pl?sid=03/1 1/21/2223256&mode=thread .

      OMG. So incredibly difficult.

      --
      Do I contradict myself? Very well, then I contradict myself, I am large, I contain multitudes. -- Walt Whitman
  53. Re:XML?-Bag-pipes. by Micah · · Score: 2

    > You can do the transformations on the client side. Maybe two setups could be developed, one for those who have XML support on the client side, such as Mozilla based browsers and internet explorer and those who dont for older brwosers...

    This is something I *really* want to know more about. I've searched for info on client side XSLT transforms, and haven't really found a lot. I've seen something on mozilla.org, and a tutorial for IE.

    Is it possible to just send an XML doc to the client, along with a link to an XSLT, and have it work in IE and Mozilla? Would it be easy for the user to select different XSLT engines? (Preferrably without building it in programatically.)

    What's the best source of info on this stuff?

    Thanks!

  54. Re:Explains some stuff by identity0 · · Score: 4, Funny

    If you're seeing Slashdot as Big5, then that means IE thought that the character frequency matched Big5 most closely.

    A sad testament to how bad Slashdot grammar is... Next time someone asks you how bad the writing is on Slashdot, you can tell them "It's so bad my browser thinks it's Chinese!"

  55. Re:um... by Micah · · Score: 2, Interesting

    That's a good point. I used to host Slashcode based sites. The default home page was around 50k normally, but with mod_gzip it got down to around 6k per page. HUGE savings!

    Certainly, caching CSS files locally would save a little in this scenario, but not nearly as much as they say.

  56. Re:Blech... by setmajer · · Score: 5, Insightful
    The designer hardcoded a fontface because CSS doesn't automatically resize columns like tables do.

    Er, 'fontface'? WTF is a 'fontface'?

    As for CSS resizing automagically, resize in relation to what, pray tell? A box with width: 30%; resizes in relation to the viewport, a box with width: 15em; resizes in relation to font size, as of CSS 2.1 a box with float: left or float: right and no width resizes in relation to content (most browsers--including IE/Win--do this anyway) and table-layout will get you table-style layout with whatever tags you like. MS just didn't feel the need to support it in IE 5/Win or IE/Mac so people don't use it much. That's Microsoft's fault, not the W3C's

    Because CSS was designed by doofus eggheads and not experts in solving real world web design problems.

    Ian Hickson edited the CSS2.1 spec, and he's been 'solving real world web design problems' since at least 1998 when I worked with him at the Web Stanards Project. Hakon Wium Lie edited CSS 1, 2 and 2.1 and has been working on Opera since 1999, earned an MS in Visual Studies from MIT and wrote his thesis on electronic display of newspapers. TantekCelik is responsible for the widely-lauded Tasman rendering engine used in IE 5.x/Mac. These people do use this stuff in the real world, and if you don't like the directions they're taking your'e free to join the www-style discussion list and let them know.

    Which then forces me to do a bunch of work

    One line of CSS is 'a bunch of work'? I suppose you find tying your own shoes a pretty onerous task as well?

    or accept undesirable browser settings

    Let me get this straight: you're hacked because the site doesn't use your settings for font size and face, but setting your browser to override the site's settings with your choices is 'undesirable'? Huh?

    --

  57. A reply to your complaints... by Slur · · Score: 3, Informative

    Following your identical post on ALA the following reply from Marshall Roch

    Everything mentioned in these comments are fixable, including Andrew's "CSS tables."

    Have a look at http://projects.exclupen.com/slashdot/ (does not work well in IE, but that is fixable if there is interest)

    • Italics are back (using cite) so you can tell what is contributed and what is editorial remarks.
    • I have "jump to" links to the content, navigation, and right-side boxes.
    • Labels are used on the forms.
    • The content column comes first
    • Padding is fixed so some text isn't touching the edges of the boxes (maybe it's just a personal pet peeve, but that really bugs me)
    • I'm sure there's more stuff I did, but this was a month ago and I forgot already. :)

    I'm also willing to help get /. up to speed. Where's the best place for interested parties to discuss this further? Please post replies on the ALA forum.

    --
    -- thinkyhead software and media
  58. Re:Not ANOTHER non-standard page... by BladeMelbourne · · Score: 3, Informative

    You can have 100% W3C compliant pages, but it is very possible that they will be rendered slightly differently in different browsers (even standards compliant browsers).

    For example, I can create a validated XHTML page with one paragraph inside it, and it will look different in Mozilla than what it does in MSIE. Even though Mozilla and MSIE support the standards used to render this one paragraph.

    When I create a site, I use font sizes like xx-small, x-small, small, medium, large, x-large, xx-large. (Browsers can dynamically resize these with text size settings, to cater for older people or the visually impaired.)

    However the fonts appears bigger in MSIE (or smaller in Mozilla if the glass is half full). The solution is to have another style sheet. If the reported HTTP_USER_AGENT contains MSIE, this style sheet is served after the first, and it makes the fonts in MSIE smaller. For example if the forementioned paragraph was x-small and Arial, the MSIE style sheet would need to specify xx-small - to make the font sizes as close as possible in different browsers.

    I'm all for web standards, but a web developer who takes his/her work seriously will seek perfection: identical appearance and functionality in different browsers, using W3C standards.

    Nobody was suggesting making /. MSIE only.

  59. Konqueror, Opera by Phantasmo · · Score: 2, Informative

    I believe that Konqueror DOES include application/xhtml+xml in its Accept header, but it processes the document using the HTML parser rather than a proper XML parser.

    Also, I seem to remember reading application/xhtml+xml pages just fine in Opera.

    I used to serve all pages on my site as pure XHTML 1.1, with the correct MIME type and everything, until I realized that I'm one of three people I know who uses a non-IE browser. :(

    You can't really hate Microsoft until you've gotten serious about standards. Then their arrogance shines through.

    --

    The US Army: promoting democracy through unquestioned obedience
  60. Tidying posts by KjetilK · · Score: 4, Insightful
    Amen!

    I hope they implement ASAP.

    But there is another challenge, and that's the posts people write. Anybody care about their code? For example, quoting, to do it properly, one should write: <blockquote><p>blah, blah</p></blockquote>. That's an awful lot of typing.

    A page is not going to validate unless the posts are correct.

    The way I have planned to do this on one of my sites, is to make sure that every time somebody clicks "Preview" or "Submit", the post is handled to Tidy for sanity checks and conversion. By using preview, you can correct you're code, but you can never submit something that isn't well-formed.

    I'm using Perl too, not Slashcode, but AxKit. Nevertheless, a good Perl implementation of Tidy is still lacking. There is a HTML::Tidy project page on Sourceforge, but it hasn't really gotten off the ground.

    Does anybody else want to work on this, or do you have other ideas for cleaning up posts?

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid
    1. Re:Tidying posts by Spy+Hunter · · Score: 2, Informative

      Slashcode already does quite a bit of munging on the html you give it. It disallows some (most) tags and tag attributes, implements the special tag that isn't a real HTML tag, and closes all of your open tags. It probably wouldn't be too hard to fix it up to correct nesting issues. If Slashdot was serious about moving to XHTML, this would probably be the least of their worries.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
    2. Re:Tidying posts by scrytch · · Score: 2, Insightful
      But there is another challenge, and that's the posts people write. Anybody care about their code? For example, quoting, to do it properly, one should write:

      blah, blah

      . That's an awful lot of typing.

      A page is not going to validate unless the posts are correct.

      The balance problem is trivally corrected by actually parsing the HTML in the post, then inserting the proper closing tags at the end. No, the page will still not validate -- but no one is asking for slash pages+posts to validate, merely asking that the templates themselves manage to validate.

      Demanding people submit validated HTML is simply going to chase a lot of people away from posting at all. A blog's job is not to make posting difficult.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    3. Re:Tidying posts by KjetilK · · Score: 2, Insightful

      The balance problem is trivally corrected by actually parsing the HTML in the post, then inserting the proper closing tags at the end.

      Yes, that's true! But it is not simply the balance problem I'm addressing. People may for example use the BLOCKQUOTE element, but don't realize that it should be a P element within it. There are quite a lot of small things like that.

      but no one is asking for slash pages+posts to validate,

      I do... :-)

      The point is, tidy should be able to do that job easily, unless I've misunderstood something. Except in rather rare cases, tidy will ensure that the XHTML is well-formed, rewrite the stuff that doesn't, that it does not contain elements that are not in the spec, and that should be sufficient to ensure that the whole document validates, given that the template is good.

      Demanding people submit validated HTML is simply going to chase a lot of people away from posting at all. A blog's job is not to make posting difficult.

      This is a very important point. Indeed, if this is the result, it would be wrong. However, I'm quite sure this would not be the result, Tidy would be transparent to the user and a help.

      --
      Employee of Inrupt, Project Release Manager and Community Manager for Solid
  61. seconded! by eddy · · Score: 3, Informative

    Actually, you'll have to go back to stuff like Internet Explorer 1.5 and the like to find a browser that doesn't support the basics.

    And for the record, PNGs are always smaller, except in a few very special cases which doesn't matter because the absolute size difference is next to nothing in those.

    And yes, the PNG-writer in Adobe products is fucking broken last time I checked, and to top it off, many "webdesigners" doesn't understand that PNG supports truecolor, so they'll happily compare their paletted GIF and their GIF saved RGBA and explain the size difference not with "I'm an idiot" but "PNG sucks".

    And as for animation.. that's a feature! Personally, I have animated GIFs disabled -- always -- but if you really want to animate pictures you'll use MNG which is animations made out of PNG-images

    --
    Belief is the currency of delusion.
  62. Re:Not ANOTHER non-standard page... by Professor+Bluebird · · Score: 2, Informative

    That should not be too necessary now, since the patent on GIFs has expired (in the US).

  63. Re:Sweet. i've been working on the same thing by Peter+Winnberg · · Score: 2, Informative

    And if you want more information about the Openflows Strict theme, send me email at peter -at- openflows.org :)

  64. Re:Not ANOTHER non-standard page... by Magus424 · · Score: 2, Funny

    IE breaks the standards of the future.

    Fixed that for you.

    --
    -- Gone Crazy, Back Later
  65. Handheld-friendly by ralphclark · · Score: 2, Insightful

    The article suggests as a consequence of the CSS-based implementation that printer-friendly and handheld-friendly views would be available. Now that's surely going to be the killer argument for many of us. How much time would I save if I could read slashdot comfortably on the way to and from work? I'd get my life back finally after five years of being glued to my desk every evening...

    1. Re:Handheld-friendly by ralphclark · · Score: 2, Interesting

      Sure, but that demo page isn't the PDA-friendly version. He's saying that all you'd need is a separate set of static, PDA-friendly style sheets to present the same content in PDA-friendly fashion. In mozilla you can select alternate style sheets from the menu. In other browsers you just go to a different URL - kind of like the BBC news website where you have e.g.

      http://news.bbc.co.uk/1/hi/technology/default.st m

      for broadband users and

      http://news.bbc.co.uk/1/low/technology/default.s tm

      for modem users in a hurry. I think Slashdot does have a "low graphics" version buried away somewhere, but Cascading Style Sheets allows you to maintain as many different views as you like with very little effort.

      Plus the code *looks* better... ;o)

  66. Actually, I like /. like it is by theolein · · Score: 2, Interesting

    Slashdot has never been a pretty site (pun not intended), but a site that has been about content, the whole content and nothing but the content. While huge numbers of tables have a way of eating bandwdth, the html 3.2 works on everything on the planet with the possible exception of Mr. Ozimba's Netscape 1. 419 browser in Nigeria, and it renders damn fast as well, and seems to be pretty much indestructible.

    There are bound to be issues with the multitude of browsers available, each rendering even CSS 1.0 in their own inimitable style (pun intended), because what Mac IE5 considers as a box, and what Windows IE5 consider as decent box or text attribute sometimes tend to be entirely different things.

    If it works don't break it, I think. Rather fix the search engine.

  67. Current /. is rubbish on a phone by gjh · · Score: 2, Interesting

    One of the best reasons for change to this is the layout of the page on small screens. Use of lists and divs and real titles and so on gives products like the Nokia Access Mobilizer (ex Eizel) a much better chance to guess what is going on and reformat the page intelligently.

    1. Re:Current /. is rubbish on a phone by TeknoHog · · Score: 2, Insightful

      Don't forget the 'light mode' in your /. preferences. Makes this site a lot more palatable even on full graphical browsers.

      --
      Escher was the first MC and Giger invented the HR department.
  68. Re:Just another example of the Slashdot monopoly.. by timothyf · · Score: 2, Informative

    The worst part is, in Mozilla 1.5, even with Proxomitron turned off, Slashdot renders with a number of noticible and mildly annoying bugs, specifically the center column with the news stories tends to get shifted left by 5-10 pixels, and sometimes the stories with comments display a complete mess.

  69. XML declaration NOT required by davydd · · Score: 2, Informative

    From the linked page in the parent post on XHTML 1.1 document conformance:

    Note that in this example, the XML declaration is included. An XML declaration like the one above is not required in all XML documents. XHTML document authors are strongly encouraged to use XML declarations in all their documents. Such a declaration is required when the character encoding of the document is other than the default UTF-8 or UTF-16. [http://www.w3.org/TR/xhtml11/conformance.html; emphasis added]

    Recommended: yes. Required: not in all situations. The W3C specs are filled with compromises on implementation limitations; they don't often demand that developers fly in the face of established browsers to validate their code. And given that the vast majority of the browser population is the vastly broken IE, it seems an acceptable compromise to send UTF-8 encoded XHTML without an XML declaration.

    I know this is Slashdot, so there's no requirement to read an article before posting, but I thought people might at least read their references before posting....

  70. PHP and Smarty by justMichael · · Score: 2, Insightful

    I use this all the time with Smarty output filters.

    In development the filters are disabled, when it goes to production they strip white space and single line comments.

    Combine that with Smarty caching and phpa and you get dynamic PHP pages that perform like static ones.

  71. YES by Apreche · · Score: 3, Informative

    YES, Slashdot should definitely be perfectly XHTML compliant. This has the following benefits

    1) looks better
    2) allows people to easily make custom ./ css
    3) slashdot can have multiple css to choose from, especially for those of us blinded by games.slashdot.org. Also in Firebird users can switch between the different stylesheets with east
    4) people can easily write XSLT stuffs to take slashdot and mix it up.
    5) Maybe we can make an RSS that's a little bit better and more customizeable. Doesn't exactly have to do with it, but it's related somewhat.

    Yes ./ become compliant.

    --
    The GeekNights podcast is going strong. Listen!
  72. If you understood.... by metalhed77 · · Score: 3, Informative

    Overflow either chops off the text, lets it overflow, or makes it scrollable. It does not change area size.

    --
    Photos.
  73. Re:XML?-Bag-pipes. by jfanning · · Score: 2, Informative

    Of course you can do that. You just include the XSLT (usually .xsl) in your XML file as a processing instruction. For example:

    <?xml-stylesheet type="text/xsl" href="test.xsl"?>

    The browser then does the transformations for you. I have been messing around with this at work for the last week and I got slightly different results with IE 5.5 and Moz 1.5. Nothing significant though and a bit of messing around sorted it out. You can even get your XSLT tranformation to XHTML to link to a CSS file in the transformation and it works all in one go.

  74. for the love of pete... by cygnus · · Score: 2, Interesting
    Daniel M. Frommelt and his posse have recoded a prototype of Slashdot that uses valid, semantic HTML and stylesheets.

    HTML is not a semantic web technology! here's the W3C Semantic Web page. Notice how (X)HTML isn't mentioned?

    i don't know who to blame for the propagation of this usage of the word 'semantic,' but i think it might be Jeffrey Zeldman. i like the dude, but this has to stop...

    --
    Just raise the taxes on crack.
  75. Digital typography / spacing by Anonymous+Brave+Guy · · Score: 3, Informative
    I have been putting two spaces after periods (full stops) for so many years that I can't count them. I see no difference between typing on a typewriter or a keyboard on this issue.

    In most well-designed typefaces, there is a certain amount of built-in space around punctuation glyphs, with the amounts chosen to match the other design characteristics of the characters to maximise reading ease. This gives you, amongst other things, a slightly wider space after a '.' (full stop/period) at the end of a sentence, which in turn gives a natural break while reading without being overly distracting. Note that in most typefaces, two full space characters after a full stop would give an excessively wide space, breaking the reading flow more than necessary, particularly where full justification is in use.

    For the same reason, serious typography uses separate characters to represent full stops and (English) decimal place separators, and has another character for ellipses ('...'). If you used the normal full stop character singly as a decimal separator or thrice for ellipses, the spacing would be awkward.

    Alas, this sort of detail is the bane of the typographer's life: they spend their days designing typefaces that are easy for you to read, without distracting artifacts, but most people will never appreciate the artistry involved, and only ever notice when they get it wrong.

    Obviously, this can't apply when using a monospaced ("typewriter") typeface, because the designer doesn't have the luxury of fine-tuning the widths of characters. This partly explains why reading large blocks of text in a monospaced typeface is difficult for most people, and was also the reasoning behind using two full spaces in that context, although it's unnecessary with good proportionally spaced fonts.

    If you'd like more information, you might try Microsoft's excellent Typography web site, or Donald Knuth's works on digital typography if you're really hardcore. There are excellent examples in each case of things that good typography will take into account to make for better readability, and of the distracting effects that can happen if you don't account for them. And as a bonus, once you've read Knuth, you'll know exactly how to typeset "e.g.," using TeX with perfect spacing. =:-)

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  76. Blockquotes by Anonymous+Brave+Guy · · Score: 2, Interesting
    For example, quoting, to do it properly, one should write: <blockquote><p>blah, blah</p></blockquote>. That's an awful lot of typing.

    I typically enclose quotations in both <blockquote> and <i> as seen above. Are the <p> tags strictly necessary there? I always thought a block quote was free-standing, though it's possible that either I've just always been wrong or the behaviour's been changed by the more formal specs for later (X)HTML revisions...

    (I don't find the extra typing slows me down much when posting, BTW.)

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  77. Parent post is incorrect by Micah · · Score: 2, Informative

    Slashcode does indeed use templates, based on the Template Toolkit Perl module. It's actually quite slick.

    There's a web-based interface to edit the templates which, IMHO, is a bit less slick, but it works.

    (I commercially hosted Slashcode sites for a couple years.)

    And indeed, I did exactly that once for a site -- changed a few templates and the resulting site was reasonably standards compliant. Wasn't hard at all. Why Taco hasn't done it here yet is way beyond my comprehension.

  78. Re:ECODE by Spy+Hunter · · Score: 2, Informative

    is intended to be used for posting code fragments. It uses a monospace font, indents the code fragment automatically, and tries to preserve indentation and whitespace as much as possible. Except that I tried it just now and it appears to be broken, and doesn't preserve indentation at all. Oh well. See the Slashdot FAQ entry on posting modes.

    --
    main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}