Hello, I’ve noticed that the HTML code produced by Coquelicot is very nice made (except maybe that the code isn’t wrapped at 72th column so it looks better, like HTML-tidy do), but there’s one thing that could be improved: the HTML version. Although XHTML is very good, I think (X)HTML5 (yes it has an XML-complient version) is better: it’s really more semantic, and more simple on some points. For example, that could take away all these ugly “</div>” which have no sense. The “<div id="header">” would become “<header>”, the “<div id="footer">” would become “<footer>”, the “<code>git clone https://%5B%E2%80%A6%5D/coquelicot.git</code>” would become more semantic with the “<kbd>” element, the “<em>Coquelicot</em>” that would become *really* semantically correct with “<cite>” element, the sections would be marked more explicitly with the “<section>” elements around and of course the “<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">” would become simpler with “<!DOCTYPE html>”. Notice that today most of web browser support HTML5 (even *IE*, yes *Microsoft Internet Explorer now supports new HTML5 semantic elements*), and are very urged to implement a lot of new HTML5 standards by great evolution of some new great CSS features (which often make the code cleaner) implemented in more popular browsers and the two most used Web layout engines (seems to be the lasts, after the great death of IE and the abandonment of Presto) are WebKit (Safari, Chrome, GNOME, etc.) and Gecko (Firefox, Greasemonkey, Thunderbird, Iceweasel, Icedove, etc.), which are both interoperable and free! Let’s take that opportunity!
Garreau Alexandre:
Hello, I’ve noticed that the HTML code produced by Coquelicot is very nice made (except maybe that the code isn’t wrapped at 72th column so it looks better, like HTML-tidy do), but there’s one thing that could be improved: the HTML version.
Patches are gladly welcome.
I'd rather spend time working on implementing client-side encryption the next time I have a full week to spend on Coquelicot. :)
Le vendredi 30 août 2013 à 21:49 +0200, Lunar a écrit :
Garreau Alexandre:
Hello, I’ve noticed that the HTML code produced by Coquelicot is very nice made (except maybe that the code isn’t wrapped at 72th column so it looks better, like HTML-tidy do), but there’s one thing that could be improved: the HTML version.
Patches are gladly welcome.
I'd rather spend time working on implementing client-side encryption the next time I have a full week to spend on Coquelicot. :)
Oh! I was going to ask for this feature! ^^ So yeah I understand that. It’s just I don’t know nothing about Ruby (yet) and so I don’t know how is generated HTML by Ruby here ^^ So I think I’ve not the skills to make a such patch. But I will try to guess how to… since most of programming languages are similar in main things…
Garreau Alexandre:
Le vendredi 30 août 2013 à 21:49 +0200, Lunar a écrit :
Garreau Alexandre:
Hello, I’ve noticed that the HTML code produced by Coquelicot is very nice made (except maybe that the code isn’t wrapped at 72th column so it looks better, like HTML-tidy do), but there’s one thing that could be improved: the HTML version.
Patches are gladly welcome.
I'd rather spend time working on implementing client-side encryption the next time I have a full week to spend on Coquelicot. :)
Oh! I was going to ask for this feature! ^^ So yeah I understand that. It’s just I don’t know nothing about Ruby (yet) and so I don’t know how is generated HTML by Ruby here ^^ So I think I’ve not the skills to make a such patch. But I will try to guess how to… since most of programming languages are similar in main things…
No need for Ruby. The views are all in the `views` directory. The format is Haml which is quite easy to write. See haml-lang.org.
Lunar:
No need for Ruby. The views are all in the `views` directory. The format is Haml which is quite easy to write. See haml-lang.org.
Oh great! I just finish to make patch for my problem of nokogiri dependencies (solved), a patch for my italian translation, http-non-secure pages which redirect to https and explain why and I’m going to make that too.