Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/clearbricks/common/lib.http.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/clearbricks/common/lib.http.php on line 224

Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/public/lib.urlhandlers.php on line 65

Warning: Cannot modify header information - headers already sent by (output started at /home/jdobbels/www/blog/inc/config.php:40) in /home/jdobbels/www/blog/inc/clearbricks/common/lib.http.php on line 247
JDobbelstein.dev() - Tag - dotclear To infinity, and beyond ! 2011-01-10T00:04:33+01:00 Johan urn:md5:98d5e93307cb5ee6e20feba0dc3f35eb Dotclear A port system for DotClear urn:md5:b91b3fa14412095c364a9b3ab867878d 2010-07-26T18:36:00+02:00 Johan network dotclearhighlightmarkdownports4dotclear <!-- vim:spell:spelllang=en: Jekyll-like blog management for DotClear2 ========================================= --> <p style="width:94%; margin:auto; padding:1em; text-align:center;"> <object data="http://www.jdobbelstein.eu/blog/public/13_jekyll/goldberg.svg" type="image/svg+xml"> <p>can't read SVG ? go <a href="http://www.jdobbelstein.eu/blog/post/2010/07/26/www.getfirefox.com">www.getfirefox.com</a></p> </object> <br/> (<a href="http://www.jdobbelstein.eu/blog/public/13_jekyll/goldberg.svg">SVG source</a>) </p> <p>For the ones who favor their command line interface over graphical terminals, here comes <a href="http://github.com/obbele/ports4dotclear">a bundle of Makefiles and scripts</a> to easily publish new entries on a DotClear2 blog with XML-RPC enabled.</p> <p>It is loosely based on *BSD ports and the idea behind static blog generators like <a href="http://github.com/mojombo/jekyll">jekyll</a>, which in fact I've never used so the comparison might be more about what I think they are and what I'd like to use. Nevertheless, the few features I have aimed for are:</p> <ul> <li>automation, otherwise I would not waste whole days on the command line</li> <li>integration with VIM, <em>the</em> text editor</li> <li>pure text files, a very simple and universal way to store data. Moreover ones can manage the whole damned thing with <a href="http://git-scm.com">Git</a>.</li> <li>extensible, as in the Unix philosophy where you combine a myriad of small programs to achieve your task</li> </ul> <p>The project is available on <a href="http://github.com/obbele/ports4dotclear">GitHub</a>.</p> <p>I. Quick demo Computer science is all about speeding things up. This system doesn't escape the rule. Using it for posting a new entry on a DotClear2 blog is as quick as typing: bash:Goldberg $ make new Enter directory name: foobar New directory created: [999_foobar] bash:Goldberg $ cd 999_foobar bash:Goldberg/999_foobar $ make edit... <em><a href="http://www.jdobbelstein.eu/blog/post/2010/07/26/A-port-system-for-DotClear">Read</em> A port system for DotClear</a></p> First attempt with SVG urn:md5:4a04de4b510d19fce9c08e53e237fde8 2010-07-16T19:35:00+02:00 Johan network dotclearsvg <!-- SVGs ==== --> <p style="width:14em; margin:auto; padding:1em; text-align:center;"> <object data="http://www.jdobbelstein.eu/blog/public/Media/SVG.svg" type="image/svg+xml"> <p>can't read SVG ? go <a href="http://www.jdobbelstein.eu/blog/post/2010/07/16/www.getfirefox.com">www.getfirefox.com</a></p> </object> <br/> (<a href="http://www.jdobbelstein.eu/blog/public/Media/SVG.svg">SVG source</a>) </p> <p>SVG diagrams are scalable. They should be a perfect fit for this elastic CSS theme. Let's try.</p> <p>can't read SVG ? go www.getfirefox.com (SVG source) The diagram on the right shows how you can use SVG to display clean and elegant diagrams. This one was created with Inkscape. On Opera™ and Mozilla™ browsers, the schema is displayed with a transparent background. Unfortunately, webkit-based software still... <em><a href="http://www.jdobbelstein.eu/blog/post/2010/07/16/First-attempt-with-SVG">Read</em> First attempt with SVG</a></p> A new version for the "Deep Blue" DotClear theme urn:md5:a74ac83d4bab225d4b59a2fb8f410444 2010-05-02T23:40:00+02:00 Johan network cssdotclearwww <p>After three whole nights and more than 30 cups of tea, my blog is using a new version of my "deep blue" theme. Key new features are:</p> <ul> <li>Elastic CSS, this implies no more bitmap pictures :(</li> <li>Refactoring of DotClear2 template to shift the center of the page to the left. This leaves a small opening for a side image on the right. This is a new proof that my poor CSS skills cannot overcome the xHTML tags and document structure of the original DotClear2 pages.</li> <li>After many thoughts on the <em>right</em> CSS layout, I choose to use a CSS width based on <code>em</code>. Layouts based on page percent width are very tricky when it comes to displaying lines of code because text lines could be wrapped. CSS <code>em</code> attribute should garantee a similar appearance among screens and, let's dream, browsers. New pages width should be almost/at least 80 characters long. This might keep a text layout constant, even if you are zooming in/out, even if you are using different font sizes. Too wide or too big screens will be under-used. I don't care, use the space left to play with tiling window managers. Too small screens will have to go full screen and zoom out. Anyway if you cannot read 80 characters-long-line text, you should use another graphical terminal.<em> (note: in fact, and perhaps due to limitation on the fonts, the length of text lines will never be constant. I've just tried to assure a minimal quality. See the <a href="http://www.jdobbelstein.eu/blog/post/2010/05/01/A-new-version-for-the-Deep-Blue-DotClear-theme#lengthMyth">next section</a> for a concrete example)</em></li> <li>Experimenting the CSS3 property <code>rgba(r,g,b,alpha)</code> to add some eye candy.</li> <li>Experimenting another CSS3 property with the <code>background-size</code> declaration to scale the background image to full page height. Strangely browsers like Opera zoom both text and images, this can lead to unesthetic result.</li> </ul> <p>Fixed line length is a myth The following paragraphs contain a dummy lorem ipsum text for reference and two 80 characters long strings. If you zoom or play with your font family/size you will see that this CSS with cste em block width is far from perfect. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed accumsan sollicitudin... <em><a href="http://www.jdobbelstein.eu/blog/post/2010/05/01/A-new-version-for-the-Deep-Blue-DotClear-theme">Read</em> A new version for the &quot;Deep Blue&quot; DotClear theme</a></p> XML-RPC on DotClear urn:md5:75999dee537207bd484087c294b722d8 2010-01-15T23:52:00+01:00 Johan network dotclearpythonvimXML-RPC <p>XML-RPC is a protocol to remotely control a web application. Here is a short demo of XML-RPC to create, view and edit entry on the DotClear2 blog platform from the command line, using a tiny python script.</p> <p>Your browser does not support either the video element or embedded OGG theora video. What can we do with dotclear.py ? Create post entry. List previous ones. Modify them ... or delete them. Locally, on your computer, using your favorite browser/text editor to preview/edit the blog entry. But why ??? Because I got bored and... <em><a href="http://www.jdobbelstein.eu/blog/post/2010/01/15/XML-RPC-on-DotClear">Read</em> XML-RPC on DotClear</a></p> Sondage dcWave urn:md5:26d2e15848e6156f726321459c46346a 2009-12-20T02:51:00+01:00 Johan network dotclearfrwavewww <p>Petit test pour tester l'usage de cette chose hautement inutile.</p> <p>Bon alors la question est simple : j'ai un p'tit plug-in sous la main qui permet d'inclure plus ou moins sans soucis des Google Waves sous DotClear. Je cherche un logo pour le plug-in (et un occasion de poster sur DotClear / créer une Wave). Petit rappel, les logos de Wave et DotClear sont les suivants : Les propositions sont les suivantes :... <em><a href="http://www.jdobbelstein.eu/blog/post/2009/12/20/Sondage-dcWave">Read</em> Sondage dcWave</a></p> Wave plugin 0.2 urn:md5:99d0e1396a0268aceb477e344a9a587d 2009-12-18T01:01:00+01:00 Johan network dotclearwavewww <p>The GoogleWave plug-in for DotClear 2.x is updated with improvements and bugfixes.</p> <p>Let's start with a pretty summary : jDS@toto ~/dev.dcWave $ git diff --stat --summary v0.1..v0.2.0 _admin.php | 97 +++++++++++++++----- _define.php | 6 +- _install.php | 23 ++++-- _prepend.php | 3 + _public.php | 8 +- inc/class.dcwave.config.php |... <em><a href="http://www.jdobbelstein.eu/blog/post/2009/12/18/Wave-plugin-0.2">Read</em> Wave plugin 0.2</a></p> Wave plugin 0.1 urn:md5:394da198976f82f223877d0ca193eeb2 2009-12-15T01:59:00+01:00 Johan network dotclearwavewww <p>Dotclear is great. Dotclear is simple (until you try to read and understand the code). Dotclear is W3C compliant. But ... there is not yet a plug-in to easily include a Google® Wave. ... so let's try to add a wave smoothly.</p> <p>Edit: move from googleWave 0.1 to dcWave 0.2.0. Old div.waves on this pages do not work any more with my new javascript wrapper. To get the latest news, please go on the next entry No worries, I've looked everywhere on the web to find some clues on how to do it. The first version of the Dotclear plug-in gives the following result : Wave v0.1... <em><a href="http://www.jdobbelstein.eu/blog/post/2009/12/15/Wave-plugin-0.1">Read</em> Wave plugin 0.1</a></p> Welcome to Dotclear! urn:md5:99c7523c99bc9e2d497fc72142fde930 2009-12-08T22:26:00+01:00 JohanD network debiandotclearpostgresql <p>So, following advice from <a href="http://fr.dotclear.org/documentation/2.0/admin/install#assistant-d-installation">here</a> I've installed dotclear2 on my beloved private server. To get start with the software, let's test the entry system with this brief text describing how I configured my Debian with php5 and PostgreSQL.</p> <p>Updating the Debian server aptitude update && aptitude safe-upgrade ... plus some configuration checks, including php5-gd, php5-pgsql, etc. Configuring Apache2 Simply by adding the configuration file cat /etc/apache2/conf.d/dotclear2.conf: Alias /dotclear2 /srv/dotclear2 <Directory /srv/dotclear2/> php_admin_flag safe_mode off php_admin_flag... <em><a href="http://www.jdobbelstein.eu/blog/post/2009/12/08/Welcome-to-Dotclear%21">Read</em> Welcome to Dotclear!</a></p>