Debian Start! (beta)

September 1, 2009 – 3:58 am by AbsintheSyringe

First of all, thank you for all your comments/feedback on previous Start! entries.

What kept me busy for last ~25hrs (literally) was making Start! to be properly rendered in all of the browsers and resolutions except IE of course. In the end, I ended up writing the whole thing from scratch, 709 lines which also passed W3 Validator, pretty sweet Smile

Whole thing is a combination of html + css + php + javascript; it’ll work fine even if you have JavaScript disabled, but for “full experience” I recommend you got it enabled. It works/renders properly in pretty much every browser (links, Iceweasel/Firefox, Epiphany, Konqueror, Opera, Chrome) except IE (surprisingly 4.15% of Start! users use IE).

Either way, now that we have the “rendering” problem solved, what you can expect from next version is “options” dialog, with hopefully interesting options Smile After that, possible multilingual support (if required) and that should round up to the final v1.0 Smile

Comments of any kind as always are welcome Grin

start.debian.net


  1. 44 Responses to “Debian Start! (beta)”

  2. Great job Adnan! Looks really good. I’m glad you’re doing this. You should provide a way to uncheck “Debian only” such as by using a check box instead of a radio button.

    If you’re trying to make it fully standards-compliant, try fixing the CSS errors:

    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fstart.debian.net%2F

    Already it’s much more compliant than almost every site on the Internet! Smile I think there’s also an ECMAScript (== standard JavaScript) validator in existence, but only so much of this is worth your time unless you find it important.

    Browser - Firefox 3.5 Firefox 3.5 | OS - Windows 7 Windows 7

    By Jimmy Kaplowitz on Sep 1, 2009

  3. Oops, busted about the OS! Rest assured Debian is still my primary OS. Smile

    Browser - Firefox 3.5 Firefox 3.5 | OS - Windows 7 Windows 7

    By Jimmy Kaplowitz on Sep 1, 2009

  4. Great look, Adnan, very clean and spare.

    My complaints:

    1. The tail of the Debian logo falls behind the last nav-menu item and obscures it. The text is rather low contrast against the background, and the bright logo totally washes it out. If I didn’t know it said “Mailing Lists” I’d have a hard time making it out.

    2. Once the “Debian Only” checkbox is checked, I couldn’t uncheck it. Had to do a Shift-Reload to reset it. Was that intentional?

    3. Given the small number of elements on the page, what the heck do you need JavaScript for?! This is more a matter of taste, I guess, not really a complaint, but it does seem a bit like overkill.

    Otherwise, I think it’s a worthy start page for the distro. Good work!

    Browser - Debian IceWeasel 3.0.1 Debian IceWeasel 3.0.1 | OS - Debian GNU/Linux Debian GNU/Linux

    By Chip Richards on Sep 1, 2009

  5. Seems perfect. Yes, the radio button can be a checkbox. Would be useful. Smile

    And how about more radio buttons, for searching mailing lists, planets, etc. which are related to debian. Using Google Custom Search?

    Browser - Firefox 3.5.2 Firefox 3.5.2 | OS - GNU/Linux GNU/Linux

    By Aamod on Sep 1, 2009

  6. Jimmy, Haha, that really made me laugh Grin

    Either way, yea, taking care of css validition was going to be my next step Smile

    Chip Richards,

    1. Yea I gotta take care of that already … will do

    2. Reason I put “radio” instead of “checkbox” is because checkbox doesn’t render so good in Opera, but I put it back to checkbox Smile

    3. Overkill, well kinda, since css took care of all of it really, but will see what makes out of it in future Smile

    Aamod, “returned” the checkbox Smile

    No custom search here, but I’ll see about that in future versions where I’m planning to extend some options so will keep an eye on that Wink

    Browser - Debian IceWeasel 3.5.2 Debian IceWeasel 3.5.2 | OS - Debian GNU/Linux Debian GNU/Linux

    By AbsintheSyringe on Sep 1, 2009

  7. The forum link has gone. I think it is very important as the web forums are more (new) user friendly than those other links.

    Browser - Shiretoko 3.5.4pre Shiretoko 3.5.4pre | OS - GNU/Linux GNU/Linux

    By Petteri on Sep 1, 2009

  8. Please do not abuse the text field and put “Google search…” in there when it’s not being used. This makes the page less accessible and is annoying when JavaScript is turned off. Use a tag, and if you want it to look similar to what’s currently happening, you may be able to position the label and hide/show it with the :focus property and other magic. I think having the text box just be blank is enough.

    I’d personally like to see other search engines offered, and the preference kept with e.g. a cookie.

    Finally, please note that the Debian forums are not official in any way.

    It looks very nice, even though I have suggestions! Wink

    Browser - Debian IceWeasel 3.0.12 Debian IceWeasel 3.0.12 | OS - Debian GNU/Linux Debian GNU/Linux

    By martin f. krafft on Sep 1, 2009

  9. Continuing on from Martin’s point. For accessibility, insert the “Google Search…” text with JS, so that it doesn’t hurt non JS viewers.

    Browser - Firefox 3.0.13 Firefox 3.0.13 | OS - Mac OS Mac OS

    By sime on Sep 1, 2009

  10. I think the online version of this (start.debian.net) could be used to get some revenue for the debian project through google adwords or the like…

    Browser - Firefox 3.5.2 Firefox 3.5.2 | OS - Windows 7 Windows 7

    By drcursor on Sep 1, 2009

  11. We do not advertise, except for direct sponsors.

    Browser - Debian IceWeasel 3.0.12 Debian IceWeasel 3.0.12 | OS - Debian GNU/Linux Debian GNU/Linux

    By martin f. krafft on Sep 1, 2009

  12. You really, really, really should be adding a link to the main Debian website there. Sure, it could use some updating, but the fact that it’s “ugly” doesn’t mean it’s not useful.

    Browser - Debian IceWeasel 3.0.12 Debian IceWeasel 3.0.12 | OS - Debian GNU/Linux Debian GNU/Linux

    By wouter verhelst on Sep 1, 2009

  13. PHP, why? Any reason at all that this couldn’t be a static page (so it can properly be used as default page for browsers in Debian)?

    Browser - Firefox 3.5.2 Firefox 3.5.2 | OS - Windows Vista Windows Vista

    By Jonas on Sep 1, 2009

  14. Because of the MySQL backend. Wink

    Browser - Debian IceWeasel 3.0.12 Debian IceWeasel 3.0.12 | OS - Debian GNU/Linux Debian GNU/Linux

    By martin f. krafft on Sep 1, 2009

  15. What benefits does the link to google analytics give?

    Browser - Epiphany 2.22 Epiphany 2.22 | OS - Debian GNU/Linux Debian GNU/Linux

    By Jörgen on Sep 1, 2009

  16. martin, sime, text field, I actually put that up there to make it “nicer” for links users … either way it’s been taken care of, there Smile

    drcursor, there are actually couple of ways Start! could generate profits, but this is the last task on my todo for now Smile

    wouter, debian website … problem is that everybody keeps suggest links, that in the end I just might end up “handing out” a poll which links to put up there.

    jonas, why php? well all in its time Wink

    Jörgen, to generate statistics which can later on help me in future development of this site, from which browser/os with what resolution user uses to possibly rely on this data if “how to generate profits” idea comes along Wink So far it helped me.

    Browser - Debian IceWeasel 3.5.2 Debian IceWeasel 3.5.2 | OS - Debian GNU/Linux Debian GNU/Linux

    By AbsintheSyringe on Sep 1, 2009

  17. “nice” is very subjective. Wink

    But yes, thank you, it’s better now.

    Browser - Debian IceWeasel 3.0.12 Debian IceWeasel 3.0.12 | OS - Debian GNU/Linux Debian GNU/Linux

    By martin f. krafft on Sep 1, 2009

  18. I don’t like how it’s using XHTML. Consider using HTML5.
    http://validator.nu/?doc=http%3A%2F%2Fstart.debian.net%2F

    It also uses inline CSS, that should be external. Check caching with redbot.org

    It also has a crap load of Javascript. A lot of it is Google tracking. There is no real need for that tracking crap if you access to the server logs.

    I’d rather you not log my search at all thanks very much.

    Are you working for Google? All this seems to be is a Debian sanctioned Google portal. LAME really.

    Browser - Firefox 2.0 Firefox 2.0 | OS - Debian GNU/Linux Debian GNU/Linux

    By Kai Hendry on Sep 1, 2009

  19. Looks really good!

    As others have suggested, ditch the label within the text field. Instead, focus the text field by default, so people just have to type and hit enter. Most other search pages do this: Google, Firefox Start, and Ubuntu’s start page all do.

    Ditching the label will also ditch a lot of unnecessary JavaScript from the page, including a browser detection script; set a good example by not doing that kind of thing. Smile Note that I don’t think you need to remove all JavaScript from the page (for instance, focusing the text field requires some); you should try to keep it minimal, though.

    Also, ditch the Google Analytics. Know your audience. In particular, know that your audience doesn’t want you to know your audience. Smile

    Your CSS has some oddities in it, such as the rules for * (generally not something you want), squelching the visited link color to the same as non-visited, and referencing specific non-free fonts rather than just the generic alternatives like “sans-serif”.

    Please, rename your external CSS file. Wink

    Since you already have an external CSS file, merge the rest of the page’s CSS into it.

    Please put a label like “News: ” in front of the news at the bottom; sometimes the headline doesn’t immediately look like a news item.

    The autocomplete mechanism seems quite interesting; it seems to focus on FOSS terms specifically. While cool, I don’t think that fits the purpose of the page very well. Most people using Debian Start won’t necessarily have a FOSS-specific search in mind; they’ll just want to search the web.

    Regarding the “Debian only” checkbox, your mention of a radio button reminded me that most sites express this more verbosely by having *two* radio buttons: “Search the Web” and “Search $FOO”. That might prove clearer.

    Please do add the link to the Debian homepage.

    Finally, you should put a FOSS license on the page/style/etc, both to set a good example and to allow packages to include a local version of the page.

    Browser - Debian IceWeasel 3.5.1 Debian IceWeasel 3.5.1 | OS - Debian GNU/Linux Debian GNU/Linux

    By Josh Triplett on Sep 1, 2009

  20. martin, Wink

    Kai, there’s another external css.

    I’m not working for Google, nor does this have to do anything with Google. Since this is not first complaint against “Analytics” I just removed them completely.

    Josh, Thank you, this was one constructive commentary Smile

    I did ditch the label, it all works fine, “tab” and there you’re ready to search, both with/without JavaScript.

    Analytics, gone

    CSS, I still have to take care of it, so it can pass w3 css validator. Once I take care of that, I’ll merge both css’s into one “general” one (external).

    Heh, I have renamed external css file, I couldn’t resist that name initially Grin

    Will take care of the “News: ” in front and “Debian” frontpage link.

    Regarding the radio’s, I’m good with checkbox for now, in case I do decide to move to radio’s I’ll definitely do what you suggested.

    Search keywords are really new “feature” to search itself, time will have to pass until I got “right” keywords users want to see.

    Regarding FOSS license and packaging, I still have to take care of some things, then create project on alioth, and definitely release everything public under FOSS licences!

    Browser - Debian IceWeasel 3.5.2 Debian IceWeasel 3.5.2 | OS - Debian GNU/Linux Debian GNU/Linux

    By AbsintheSyringe on Sep 1, 2009

  21. Looks awesome Smile

    Anyway, wanted to tell you there were like 5 errors when i validated your document.

    Errors found while checking this document as XHTML 1.0 Transitional!

    Keep it up man!

    Browser - Shiretoko 3.5.4pre Shiretoko 3.5.4pre | OS - Ubuntu Ubuntu

    By Martin Weinelt on Sep 1, 2009

  22. There are no reason for any of your DIVs.

    Make the links an inline list. Random a paragraph with the id random.

    Does it really need Javascript?

    No need for description meta tag. Everything ignores it.

    And use HTML5. XHTML is for losers. Wink

    Browser - Firefox 2.0 Firefox 2.0 | OS - Debian GNU/Linux Debian GNU/Linux

    By Kai Hendry on Sep 1, 2009

  23. Martin, >_< I fixed it Smile

    Kai, yup, I’ll definitely look into it, just give it time Wink

    Browser - Debian IceWeasel 3.5.2 Debian IceWeasel 3.5.2 | OS - Debian GNU/Linux Debian GNU/Linux

    By AbsintheSyringe on Sep 1, 2009

  24. nit:
    on a nokia n810 the start page is ~4 mm to high in default resolution/zoom so that the vertical scrollbar activates.

    Browser - Firefox 3.0a1 Firefox 3.0a1 | OS - GNU/Linux GNU/Linux

    By Jörgen on Sep 2, 2009

  25. It wouldbe good not to spawn new tabs/windows when clicking on the links.

    Browser - Firefox 3.0.13 Firefox 3.0.13 | OS - Ubuntu Ubuntu

    By Robert Collins on Sep 2, 2009

  26. @Robert: I’d rather not have that. You can tell your browser when clicking if this is what you want, but it’s a pain if it’s enforced. It’s been kicked out of XHTML and HTML5 for good reason and now requires JavaScript to implement the functionality.

    Browser - Debian IceWeasel 3.0.12 Debian IceWeasel 3.0.12 | OS - Debian GNU/Linux Debian GNU/Linux

    By martin f. krafft on Sep 2, 2009

  27. Jörgen, please check on http://start.debian.net/testing if that’s it? Also mind to provide me with screenshot or some other visual aid?

    Robert, same goes for you ^. If this goes well, I’ll put it into /

    Even though I agree with Martin, on this topic lets give it a try Smile

    Browser - Debian IceWeasel 3.5.2 Debian IceWeasel 3.5.2 | OS - Debian GNU/Linux Debian GNU/Linux

    By AbsintheSyringe on Sep 2, 2009

  28. http://start.debian.net/testing improved, now there’s ~2 mm on the vert scrollbar. The ~4 mm I remarked on earlier was really more like 6 or 8.
    Sorry, couldn’t find any dump program to help you with a screen shot.

    Browser - Epiphany 2.22 Epiphany 2.22 | OS - Debian GNU/Linux Debian GNU/Linux

    By Jörgen on Sep 2, 2009

  29. Jörgen, testing should be fine for you now. Please confirm tho.

    Kai, also testing is HTML5 valid

    Browser - Debian IceWeasel 3.5.2 Debian IceWeasel 3.5.2 | OS - Debian GNU/Linux Debian GNU/Linux

    By AbsintheSyringe on Sep 2, 2009

  30. confirmed, looking good

    Browser - Firefox 3.0a1 Firefox 3.0a1 | OS - GNU/Linux GNU/Linux

    By Jörgen on Sep 2, 2009

  31. Just one more question: Why does the search-field (Google search …Wink turn into (really ugly) green, while I’m clicking on it?
    Guess, It didn’t to that before.

    Peter

    Browser - Debian IceWeasel 3.0.6 Debian IceWeasel 3.0.6 | OS - Debian GNU/Linux Debian GNU/Linux

    By p.f. on Sep 3, 2009

  32. Do you have start.debian.net under source control?

    I think your changes could help people learn how to write better Web applications. You seem to be making all the familiar mistakes all beginners do.

    http://static.natalian.org/2009-09-03/start/

    Browser - Firefox 2.0 Firefox 2.0 | OS - Debian GNU/Linux Debian GNU/Linux

    By Kai Hendry on Sep 3, 2009

  33. Kai, do you have all your comments to this post (and the other ones you make in similar style) available in source control somewhere? I think your contributions could help people learn by counter-example how not to be discouraging.

    Of course the goal should be to be “Designing With Web Standards” (there’s a book suggestion in that), but 100% compliance is not necessary and can only be described as zealotry. Furthermore, suggesting HTML5 over XHTML at this stage is just idiotic — it’s still a draft, after all.

    It’s cool that Adnan does this, but please consider that his motivation may neither be to become proficient in web standards, nor to let people learn from his mistakes.

    The page you suggest at http://static.natalian.org/2009-09-03/start/ looks spartanic, but it’s probably 100% compliant. Maybe instead of duplicating the efforts by working your way up from the standard to something that will appeal to the *user*, you could ask Adnan for the source code in a less demoralising and condescending way, and provide proper patches?

    There is also nothing from keeping you from creating a web site dedicated to save all the beginners from these “familiar mistakes”, but to assume that beginners will learn from source control is quite removed from reality, IMHO.

    Browser - Debian IceWeasel 3.0.12 Debian IceWeasel 3.0.12 | OS - Debian GNU/Linux Debian GNU/Linux

    By martin f. krafft on Sep 3, 2009

  34. Sorry, I might have come across as discouraging.

    HTML5 may be a draft but it’s ready IMO for use now.

    A patch? I quickly put together http://static.natalian.org/2009-09-03/start/ as a lazy path than providing diffs.

    I do not want to ridicule people who write Web applications that could be better. I really want to help guide people better to write Web applications with less cruft.

    I do believe there is some sort of evolution Web developers go through and I do want to blog about those stages, because I have been through them myself.

    Apologies again for any offence caused.

    Browser - Firefox 2.0 Firefox 2.0 | OS - Debian GNU/Linux Debian GNU/Linux

    By Kai Hendry on Sep 3, 2009

  35. I see no images on the site. I used to, but not anymore. I only have the input field with a button. Not the blue background image, in all browsers here.

    Browser - Epiphany 2.22 Epiphany 2.22 | OS - Debian GNU/Linux Debian GNU/Linux

    By aion on Sep 3, 2009

  36. martin, thank you for the “side kick” Smile

    aion, try clearing your cache, because it all works perfectly fine.

    Browser - Debian IceWeasel 3.5.2 Debian IceWeasel 3.5.2 | OS - Debian GNU/Linux Debian GNU/Linux

    By AbsintheSyringe on Sep 4, 2009

  37. working good for me Smile (side note back on debian suse got on my nerves)

    Browser - Epiphany 2.22 Epiphany 2.22 | OS - GNU/Linux GNU/Linux

    By Rolyin on Sep 4, 2009

  38. Great job, I really like it.And I like those links opening in new tab, then using backspace when you want to check out other links is not necessary. Yeah, I know there is middle button for stuff like that, but I it just my opinion..

    Browser - Opera 9.80 Opera 9.80 | OS - GNU/Linux GNU/Linux

    By Dado on Sep 6, 2009

  39. The search-field still turns green. Are you going to change this?

    Browser - Debian IceWeasel 3.0.6 Debian IceWeasel 3.0.6 | OS - Debian GNU/Linux Debian GNU/Linux

    By p.f. on Sep 10, 2009

  40. @p.f, patience please, also do you have a better/nicer color suggestion?

    Browser - Debian IceWeasel 3.5.2 Debian IceWeasel 3.5.2 | OS - Debian GNU/Linux Debian GNU/Linux

    By AbsintheSyringe on Sep 10, 2009

  41. …don’t hurry. why not use blue/ white (clicked) as default?

    peter

    Browser - Firefox 3.0.14 Firefox 3.0.14 | OS - Windows XP Windows XP

    By p.f. on Sep 11, 2009

  42. New stuff has been uploaded

    p.f – Hope you’re happy now Smile

    Browser - Debian IceWeasel 3.5.3 Debian IceWeasel 3.5.3 | OS - Debian GNU/Linux Debian GNU/Linux

    By AbsintheSyringe on Sep 26, 2009

  43. yeah … me happy ..-)
    respects p.

    Browser - Debian IceWeasel 3.0.6 Debian IceWeasel 3.0.6 | OS - Debian GNU/Linux Debian GNU/Linux

    By p.f. on Sep 28, 2009

  1. 2 Trackback(s)

  2. Sep 1, 2009: Debian mit eigener Startseite | Linux|Lounge.net
  3. Sep 6, 2009: Altertux-Blog » Pagina iniziale per il vostro browser

Post a Comment