French site is alive

Vincent Brabant <[email protected]> Tue, 12 Oct 2004 12:05:37 +0200
Newsgroups gmane.comp.java.netbeans.webteam
Message-ID <[email protected]>
The french site is now really alive.
Look at http://fr.netbeans.org/

But I did somes modification that I would like to share with you.

a)

    I modified the left_nav.inc by adding a call to a javascript file.

    It permits to have a left menu, where contents change depending of
    the directory where the current page is located.

    See attach for more details.


b)

    I also added some tags in the html page, permitting to have a
    navigation bar with somes browser like Mozilla. Please look at
    http://fr.netbeans.org/edi/40/articles/tutoriels/freeform-config.html
    with browser like Mozilla, and a navigation bar will appears
    with Top, Up, Last, Next, ...
    Goal is to facilitate the navigation through documents with those
    browser (that is not working with IE).


c) I also added a new meta tag
<meta name="Links" 
content="http://www.netbeans.org/kb/articles/tutorial-webapps-40.html" 
title="English">

attribute title indicate the language of the content given in the 
content attribute.

A Javascript is reading that meta tags (you can have more than one meta 
tag having as name Links: One per language) and add a link therefore.
You can look for result at 
http://fr.netbeans.org/edi/40/articles/tutoriels/webapps.html

But I think I will modify it, to have the link to original and other 
translation appearing in the left navigation bar or on the right corner 
like for http://www.netbeans.org


d) I had problems of characters with the news. It seems that when I 
create a new, encoding is not UTF-8. But the page where news are 
displayed is well in UTF-8 encoding. And that cause problems. Look at 
http://www.netbeans.org/community/index.html. I see question marks in 
place of é (&eacute;)


-- 
Vincent Brabant
----------------
http://fr.netbeans.org/
inc.js (application/x-javascript, 506 B) - not displayed
left_nav.inc (text/html, 571 B)
<div class="moduletitle"><a href="/">Fr</a></div>

<SCRIPT LANGUAGE="javascript" SRC="inc.js"></SCRIPT>

<div class="leftmenug">
<div class="leftmenuitem"><a href="/servlets/ProjectEdit">Admin</a></div>
</div>

<div class="leftmenug">
<div class="leftmenuitem"><a href="/servlets/ProjectMailingListList">Liste de Distribution</a></div>
</div>
<div class="leftmenug">
<div class="leftmenuitem"><a href="/servlets/ProjectMemberList">Membres</a></div>
</div>

<div class="leftmenug">
<div class="leftmenuitem"><a href="/servlets/ProjectNewsList">Nouvelles</a></div>
</div>