/srv/irclogs.ubuntu.com/2008/09/05/#ubuntu-website.txt

VolansI have to go now... good night00:10
qensehello13:41
VolansHi all, newz2000 I have a question on the start page for you13:47
newz2000hey Volans, what's up?14:47
Volansnewz2000: if you open http://start.ubuntu.com/8.04/ and inspect it with firebug or similar14:48
Volansthere is a tabbed menu <div id="tabs" class="column span-19"> that have an <ul> that have display:none14:48
newz2000yes, axed from the final version14:49
newz2000but it was a, "I don't think we want those" so I did the display:none to avoid having to re-add them in case "I think" changed14:49
Volanshtml2po recognize also the relative li for the translation... you plan to "publish" it for intrepid or not?14:49
newz2000I think its safe to remove, its in version control if we need it back14:49
Volansok, thanks, that's all atm :)14:50
newz2000keep the easy questions coming14:50
newz2000I love the easy ones14:50
VolansLOL14:51
mpt"The following page has been changed by https://login.launchpad.net/+id/r3xMw7Y:"15:08
mpt... that's not particularly useful :-/15:08
newz2000mpt: where do you see that?15:08
mpta wiki.ubuntu.com e-mail notification15:08
newz2000mpt: I'd suggest filing an RT for that15:09
mptok15:09
Volansnewz2000: another quick question... in the header div there is a  <h1 class="column span-1">Ubuntu</h1> but the text is not shown, it has a text-indent:-800px;15:34
Volanswhy?15:34
newz2000it does, I use image replacement technique15:35
newz2000that's basically the alt tag for the ubuntu logo15:35
newz2000the text is replaced by the image of the logo15:35
Volanswhat logo? the header have already a background image: http://start.ubuntu.com/8.04/images/header.png15:37
newz2000right, that's the logo15:38
Volanssorry I don't understand... that logo is show only with simple css backgound statement, I don't see any replacement of the <h1> content15:40
Volansif I remove the text-indent I see the "Ubuntu" text15:40
newz2000right15:42
newz2000it's called header iamge replacment15:42
newz2000its a CSS technique that removes header text and replaces it with an image15:42
newz2000in this case, the image is the ubuntu logo on the brown background15:42
Volansbut in the CSS the background:#AF6234 url(images/header.png) no-repeat scroll center top; is in the #header class... not referred to the h1 class="column span-1"15:44
Volansor I miss something?15:44
newz2000http://www.sitepoint.com/article/header-images-css-xhtml/15:45
newz2000in a nutshell,15:46
newz2000semantic html expresses content15:46
newz2000if the image is content then it should be an <img> tag with alt attribute15:46
newz2000but in this case, the header image isn't content, its just something to make the page look pretty15:46
newz2000but it does contain one bit of important information, the ubuntu logo15:46
newz2000so I use the header replacement technique to leave the important content in there (the name of the product, Ubuntu) but without using an img tag.15:47
emunkkihello newz200015:47
newz2000hey emunkki15:48
emunkkimy mouth is burning15:48
newz2000go ahead, spit it out. :-)15:48
emunkkinaah, canät spit, ate chili15:48
emunkki*can't15:48
newz2000oh, I thought burning because you wanted to chime in on header image replacement15:48
emunkkihehe nope actually15:49
emunkkihmm15:49
emunkkithis chili peels my lips15:49
Volansnewz2000: so is only for indiciazation and/or usability for those that use a screen reader?15:49
emunkkinice one15:49
VolansHi emunkki15:49
emunkkihi Volans15:50
newz2000Volans: I think its more of a technique that makes a page's content more meaninful if you turn off css and javascript (like a search engine sees a page for example)15:50
Volansok, then for search engine indicization15:51
newz2000not really, it's a movement called "semantic html"15:51
newz2000but it does benefit search engine ranking if done right, but the benefits are far wider (in theory)15:52
Volanssure, the bottom <img alt="" src="images/cap-bottom.png"/> is not made with the same technique ;) is the only images with the Heron that I see without css and js15:53
emunkkilol, semantic html movement15:53
newz2000Volans: yeah, no one cares about what's at the bottom of the page. :-)15:54
emunkkilol, code spiders do ;)15:54
Volansnewz2000: is only for coherence for the rest of the page ;)15:54
newz2000yeah, I should have been consistent, but I failed15:54
emunkkiepic fail :(15:55
Volansif you want I can fix that... is a very little change15:55
newz2000s/epic/insignificant/15:55
emunkkibah ;)15:55
newz2000if you like15:55
emunkkihaving rest of the page coded semantically / correct and then having one illogicalness in the end of the page is epic fail16:14
Volansnewz2000: the css http://start.ubuntu.com/8.04/style.css is actually published in some launchpad branch?17:24
newz2000Volans: hmm... let me remember. I do have the site in a bzr branch, where did I publish it?17:25
* newz2000 checks17:25
Volansok, thanks :)17:25
newz2000Volans: https://code.edge.launchpad.net/~newz/ubuntu-website/start-page17:25
Volansnewz2000: in order to siplify the strings in the po files I have to use ' instead of " in some html tags attribute. In this case you prefer I change only those that are necessary or for coherence replace all the " with ' ?18:11
Volanss/siplify/simplify/18:11
newz2000Volans: what ever is simpler18:48
newz2000I'm not picky about the quoting used18:48
Volansit's the same for me, just to know if you prefer coherence (all with single quote) or even mixed where single quotes are not needed by html2po18:49
VolansI have to go now... but all seems work welll19:08
Volansbye19:09

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!