Kit d'installation de WordPress en français [fr]

Quelques liens et instructions très sommaires (un pense-bête, plutôt) pour installer Wordpress en français.

[en] A few links and very brief instructions to install WordPress in French "my way".

Avertissement: WordPress 2.0 sort bientôt, et la suggestion présentée ici sera très certainement caduque à  ce moment-là .

Il vous faut:

Côté réglages:

  • chmod 775 (ou 777, j’ai un doute) sur le répertoire wp-content/plugins ainsi que wp-content/themes
  • uploader un .htaccess vide, chmod 777
  • dans les options, copier-coller l’exemple donné pour les permaliens
  • activer le plugin Markdown (et les autres plugins qu’on a installés)

Handover Swissblogs [fr]

Je passe aujourd’hui officiellement la direction de l’annuaire SwissBlogs à  Matthias Gutfeldt, un vieil ami qui s’occupe du fameux Blog.ch. Je reste cependant encore dans les parages avec un grand fouet 🙂

[en] As of today, Matthias Gutfeldt of Blog.ch fame is taking over operational management of the SwissBlogs directory. As I already experienced with Pompage.net, I'm not so good at keeping things running over time, once the initial launch phase has passed.

Matthias and I have been talking about making Blog.ch and SwissBlogs collaborate more efficiently and share information for some time now. He seemed the right person to ask, and to my pleasure, he accepted immediately. I'm happy to leave my "baby" between the hands of an old-time friend who has already found my official title: "Slave Whipper". (That's in addition to "Founder", which can't be really changed, can it?)

Depuis le temps, vous commencez à  le savoir: j’ai des idées, j’aime bien lancer des projets, mais j’ai un peu de peine à  suivre sur la durée. J’ai remis Pompage.net à  Samuel Latchman il y a environ six mois, et aujourd’hui, je remets à  Matthias Gutfeldt la direction opérationnelle de SwissBlogs.

Je connais Matthias depuis bien longtemps. Si mes souvenirs sont bons, cela remonte à  2001! Lorsqu’il a lancé Blog.ch, Matthias est parti de la liste (alors encore relativement modeste) de blogs dans la base de données de SwissBlogs. En quelque sorte, Blog.ch est un rejeton de SwissBlogs — j’espère que Matthias ne m’en voudra pas de voir les choses comme ça!

Il y a quelques mois, faisant le constat que la liste de blogs à  approuver pour le répertoire augmentait de jour en jour, et que toutes mes idées concernant le développement futur de SwissBlogs étaient restées à  l’état d’idées, j’ai lancé un appel afin de réunir une équipe pour faire tourner SwissBlogs. Un petit groupe de personnes intéressées s’est formé, nous avons ouvert une mailing-list, et peu de temps après, mon ordinateur est tombé en panne, me faisant faux bond pendant six semaines. Mauvais timing?

Toujours est-il qu’à  mon retour dans le monde des vivants branchés, j’ai dû constater que je n’étais clairement plus en mesure de tirer la machine. Me souvenant de l’heureux dénouement de l’aventure Pompage.net, j’ai décidé qu’il était temps pour moi de passer le flambeau — et Matthias me semblait pour cela la personne toute désignée, à  plus forte raison puisque nous parlions depuis assez longtemps d’intégrer plus fortement nos deux sites.

Je reste cependant dans le coin! Matthias m’a d’ores et déjà  trouvé mon nouveau titre: Slave Whipper (Fouetteuse d’esclave). Je me réjouis de voir SwissBlogs sortir de sa léthargie et collaborer plus étroitement avec Blog.ch!

Annonce sur Blog.ch.

PHP Dev Wanted [en]

[fr] Blog.ch (et Swissblogs -- plus de détails suivront) cherche un programmeur PHP.

Want a bit of fame in the Swiss blogosphere? Head over to Matt’s announcement on blog.ch for the details.

Considering the last discussions Matt and I have been having, consider it an announcement for Swissblogs.com too 😉

Technorati One Billion Links [en]

[fr] Quand est-ce que Technorati atteindra 1'000'000'000 de liens indexés? Dans 48 environ 24 heures, d'après moi.

Well, here is my guess (I’ll tell you later how I reached it): roughly two days from now, which means March 31st, 23:36 San Fransisco time.

Update, 09:52 Of course, I messed up in my calculations. Instead of taking two days from my first measurement, I took two days from now — so actually, if I had thought a bit, my entry would have said March 31st, 01:36… Too bad! Will teach me to post in a hurry 😉

WordPress Polyglots [en]

A mailing-list for WordPress language (localization) issues. Join it!

[fr] Si vous êtes un utilisateur multilingue de WordPress, rejoignez la liste des polyglottes!

If you’re a multilingual or polyglot user of WordPress, please join the polyglots mailing-list.

It’s really great to have a mailing list devoted entirely to language issues!

WordPress 1.5 est sorti! [fr]

WordPress 1.5 est sorti! J’aime: les thèmes, de meilleurs plugins, les pages “statiques”, et de façon générale, toutes les petites améliorations par-ci par-là .

[en] WordPress 1.5 is out! Here is why I like it: themes, better plugin architecture (and more powerful plugins), static pages, and general improvements.

Voilà , c’est officiel, vous pouvez tous passer à  WordPress 1.5. Si vous n’utilisez pas encore WordPress, c’est le moment d’essayer.

Quoi de neuf, alors? Je ne vais pas vous faire un détail par le menu, mais voici quelques nouveautés que je trouve bienvenues (j’utilise 1.5 depuis un moment déjà ):

Les thèmes

WordPress 1.5 sépare véritablement le côté “présentation” du blog de la partie “mécanique interne” en introduisant le concept de “thème”. De nombreux thèmes (autrement dit: des mises en page toutes faites) sont à  disposition. Il suffit de les copier dans un répertoire de votre installation WordPress, et vous pouvez ensuite passer de l’un à  l’autre en un clic de souris. (Et bientôt, même plus besoin de copier, on aura un système qui vous présentera une liste de thèmes, et en un clic, hop! vous pourrez en installer un nouveau. N’est-ce pas, neuro?)

Pourquoi c’est si cool? Si vous n’êtes pas designer dans l’âme, cela veut dire que vous avez à  disposition toute une série de magnifiques layouts pour habiller votre weblog. Bien sûr, avec 1.2 vous aviez les fameux “styles” d’Alex King — mais les thèmes vont encore un cran plus loin en permettant facilement la modification de la structure de la page (le HTML).

Si vous êtes du genre à  faire votre propre layout, vous allez aussi aimer les thèmes: faites une copie du thème par défaut, puis lâchez les chiens et modifiez tout ce que vous voulez. En un clic, vous pouvez appliquer votre thème en cours de développement à  votre blog, puis revenir à  l’ancien thème si le nouveau n’est pas encore terminé. Vous pouvez également facilement créer des mises en page un peu différentes pour la première page, les archives, les pages individuelles, ou encore les pages statiques. J’adore.

Les plugins

Les plugins existent depuis longtemps, bien entendu, mais dans 1.5 toute l’architecture permettant de faire intéragir ces extensions avec le coeur de l’application a été étendue. Ca intéresse les geeks qui écrivent des plugins, mais aussi les utilisateurs “normaux”. Eh oui, cela vous permet d’avoir à  disposition une kyrielle de jolis plugins bien plus puissants que ceux que vous aviez jusqu’à  maintenant. En particulier, un plugin peut maintenant avoir son interface d’administration, ou bien modifier les formulaires permettant d’écrire un post.

Pour ceux à  qui le mot “plugin” fait peur, ne vous alarmez point. Un plugin, c’est simplement un “machin” qu’on peut ajouter à  son WordPress pour lui permettre de faire des choses qu’il ne faisait pas encore. Par exemple, ajouter des tags Technorati à  vos billets. Et avec le gestionnaire de plugins, en installer un est aussi simple que le choisir parmi la liste des plugins disponibles!

Pages “statiques”

Voici principalement la raison qui m’a fait passer à  1.5 “avant l’heure”. WordPress 1.5 vous permet d’ajouter à  votre weblog du contenu “non-weblog”. Qu’est-ce que j’entends par là ? Un weblog, c’est avant tout un site web dont le principe d’organisation fondamental est le temps. Certains types de contenu, cependant, se prêtent mal à  cette organisation. Par exemple, la page sur laquelle je tiens une liste des articles pour lesquels j’ai été interviewée, ou bien la page sur les TMS. Clairement, c’est intéressant de savoir quand ces pages ont été écrites, mais ce n’est pas primordial.

Jusqu’à  maintenant, ces pages “annexes” au weblog (mais qui, en ce qui me concerne, l’ont précédé) n’étaient pas gérées par WordPress. Pas de trackback possible, pas de commentaires, elles n’apparaissent pas dans les résultats d’une recherche sur le site. Avec 1.5, je peux profiter de la puissance et de la facilité d’utilisation de WordPress pour gérer également ce type de contenu. Petit à  petit, je suis donc en train d’ajouter ces pages dans WordPress.

Cerise sur le gâteau, chacune de ces pages “statiques” peut avoir son propre layout, et on peut les organiser en hiérarchie.

Moins de bugs, meilleure ergonomie

Bien évidemment, le nouveau WordPress est plus stable, il a moins de bugs, il fonctionne mieux, il est plus facile à  utiliser, bref, il est mieux que 1.2 🙂

Vous pouvez utiliser les fichiers de langue en français de la version 1.2, en attendant que la traduction de 1.5 soit prête. Il manquera juste certains morceaux de traduction.

Tentés? Téléchargez!

Plugin Idea: Weighted Tags by Category [en]

Another plugin added to my wishlist: one which would display a weighted list of “related” tags on each category page.

[fr] Encore une idée pour un plugin WordPress, qui permettrait d'afficher sur chaque page de "catégorie" une liste des tags courants utilisés pour étiqueter les billets de cette catégorie. Il y a des volontaires?

I’ve been doing some cleaning up around here — mainly the sidebar, which now tries to provide links which make sense depending on which page we are looking at. I’ve also added navigation between monthly archive pages, and I’m working on my archive index a little.

I thought Weighted Categories looked like a nice plugin, particularly as I have (too) many categories. You can now see it in action for Climb to the Stars.

These last weeks, I’ve been getting into quite a few conversations about tags and categories (and keywords). “Will tags replace categories?” seems to be the big question. I don’t think they will. They do not serve the same purpose. I’m less sure about keywords: since I’ve been tagging all my posts, I’ve stopped choosing keywords for them too. But I’m clearly aware that I do not choose my tags in the same way as I chose my keywords — so it would probably make sense to keep them both (if keywords are actually useful, and I keep getting contradictory information about that).

So, to my plugin idea: for each category page, I’d love to be able to display a list of “tags used for posts in this category”. This list could be weighted, or not. It would be pretty simple to retrieve from the database. Off the top of my head and probably with syntax errors, something like: select * from post_meta where key=’tags’ and post_id in (select post_id from table_categories where cat_id = ‘our current category’). Whee, that must be the ugliest wannabe-SQL ever written — but you get the idea, don’t you? Then, the list of tags would be parsed and weighted as are categories in this plugin.

Anybody want to take up the challenge? Actually, this might be best as an extra feature for Bunny’s Technorati Tags, as it wouldn’t be much use without tags. Let me know if you’d like to do it (credit, of course, will be given) — otherwise I’ll probably end up doing it myself at some point.

Thanks for listening to me think out loud, and my apologies to my non-techie readers — I know my weblog hasn’t been very interesting for you to read lately!

Basic Bilingual Plugin [en]

This is a simple plugin which wraps together my bilingual hacks to make day-to-day posting less of a hassle.

[fr] Ce plugin pour WordPress regroupe les hacks que j'utilise depuis un moment déjà pour gérer le bilinguisme de mon weblog. Il permet d'afficher un sommaire de chaque billet dans "l'autre langue" et d'appliquer un formattage par langue via l'attribut lang.

Plus de détails sur la page officielle du plugin.

Update 01.02.2007: This plugin broke badly with WordPress 2.1, but has now been (hopefully) updated. The wiki page on wp-plugins.org is frozen and may not be up-to-date anymore. Download here.

This post is the test run for my Basic Bilingual plugin.

It doesn’t add much functionality to what I already have through my hacks, but it’s cleaner from a code point of view, and it’s portable — you can use it too if you wish.

Be patient if the wiki page isn’t exactly up-to-date. It will be shortly — and the plugin will be available through the Plugin Manager as soon as I’ve made sure it’s functional enough (ie, when I press publish and hell doesn’t break loose).

This plugin basically allows you to do what you can see on this weblog: add lang attributes to your posts, excerpts in “the other language”, and localize the date. It also creates permanent fields in the admin pages for entering the language and “other language excerpt” easier.

I’d like to emphasize that this plugin is very simple. It is in no way a replacement of any sort for the larger-scale multilingual efforts going on these days. I wanted to get my code cleaned up and my hacks back in the admin interface (I lost them when I upgraded WP), and I’m making the result public.

Simple Technorati Tags Plugin for WordPress [en]

A simple plugin for WordPress which lets you display tags (or keywords) in your posts. Tags are stored in a Custom Field (no database modification required).

[fr] Un plugin simple pour WordPress qui vous permet de garnir vos billets de 'tags' (étiquettes) qui seront compris et interprétés par Technorati. Ce plugin ne modifie pas la base de données, et permet l'affichage de tags stockés dans un Custom Field nommé "tags", sous forme de liste de mots séparés par des espaces. Il est aussi possible d'afficher ainsi des mots-clés se trouvant dans un Custom Field nommé "keywords".

Update 31.01.07: The wp-plugins.org wiki isn’t allowing edits anymore. The plugin has been updated to version 0.6, compatible with WordPress 2.1, by Sudar. Get Bunny Tags.

Update 21.01.05: Please see Bunny’s Technorati Tags on the wp-plugins.org wiki for information about this plugin!

As wp-plugins.org isn’t letting me in yet, here is a little post to announce my first real live plugin for WordPress (one can’t exactly say that Batch Categories is a proper plugin).

Bunny’s Technorati Tags (zip, phps) provides you with a template function that you can use to easily display Technorati tags for your posts. The tags are stored in a Custom Field, so this plugin does not require any modifications of the database structure. The plugin has not been thoroughly tested on different versions, though it works fine on my recent 1.5 nightly. As it is really very basic, I don’t believe you’ll run into any major compatibility issues on other versions (do keep me informed, though).

Once you’ve installed and activated the plugin (manually or with the Plugin Manager, enter a space-separated list of tags in a Custom Field named “tags”, and place the following code in your template where you want the list of tags to appear:

<php the_bunny_tags(); ?>

If you’re like me and you’ve been painfully entering comma-separated keywords for your posts using a Custom Field of same name, you can use the following line to use these existing keywords as tags:

<php the_bunny_keyword_tags(); ?>

Update 21.01.05: by setting $bunny_strict to false (see SETTINGS at the top of the plugin code) you will display keywords as tags for posts which do not have tags.

This might not be the greatest idea, as I believe tagging and choosing keywords is a different process, but it makes me happy for the moment, so I thought I’d share this possibility with you too.

Future development of the plugin includes adding a text input to the “Create New Post” form for easy tagging. (Coming as soon as I can figure out how to do it.)Done!

Plugin available on wp-plugins.net and wp-plugins.org.

Update 21:40 Who’dathunkit? Version 0.2 is out already, with a nice little “Tags” field in the post editing form. the_bunny_keyword_tags() has been revised to display keywords only when no tags are present. All the tagging pleasure is yours to take!

Update 21.01.05 Version 0.3 is out. Upgrade strongly recommended, or your tags won’t be indexed correctly by Technorati.

Call to WordPress Plugin Developers [en]

Call for help to WordPress plugin developers. I have a bunch of hacks and modifications I’d like to turn into plugins, but I am unfortunately as plugin-challenged as ever.

[fr] Un descriptif des plugins que j'écrirais pour WordPress si je ne faisais pas un vilain blocage sur le sujet. Ne vous gênez pas si vous voulez contribuer!

If I was fluent in WordPress plugin coding, here are the plugins I’d write. If you feel like coding one of them yourself, or helping me get it done, you’re most welcome. Carthik has already pointed me to Plunge into Plugins, which I will have a close look at once I’ve finished writing this post.

Of course, if you know of a plugin which does precisely what I’m describing here, leave a link to it in the comments!

Keywords plugin

This would be a pretty straightforward one:

  • add a “keywords” text input to post.php
  • save the value of that text input to a custom field called “keywords”
  • add those keywords as an HTML meta tag on the individual post pages.
Excerpt plugin

This one would also be pretty straightforward, as all it would do is add the “excerpt” field to the “simple” post.php layout.

Customize post.php plugin

This would be more complex, but allow for more flexibility than the previous plugin. I don’t yet have a clear idea of how to make it work, but the basic principle would be to allow the user to select which fields should appear on the post.php page. Instead of having “simple” and “advanced” controls, this would add the option to have “custom” controls and define them.

TopicExchange plugin

As far as functionality is concerned, this plugin would do what my TopicExchange hack did:

  • add a “trackback TopicExchange channels” text input to post.php
  • store the space-separated list of keywords in a meta value named (e.g.) ite_topic (one record for each value)
  • for each value, trackback the appropriate TopicExchange channel
  • display the trackbacked channels (with link) on each post.
Bilingual plugin

This would be a clean version of my language hacks:

  • add a small “language” text input to post.php (with a default value)
  • add an “other language excerpt” textarea, which posts to the corresponding custom value
  • display the “other language excerpt” at the top of each post
  • provide a function to return the post language, and the other-excerpt language (so it can be declared in a lang attribute, allowing the use of language-dependant CSS formatting, in addition to being semantically correct)
  • if this is not already possible with the date function in the WordPress core, provide an alternative date function which will format the date correctly corresponding on the language of the post
  • optional: figure out a way to adapt text like “comments”, “categories” etc. to the post language; make the plugin usable with more than two languages.
Smart Linkroll plugin

I love the way ViaBloga manages blogrolls and would love to see a plugin for WordPress that does the same thing. In ViaBloga, you simply enter the URL of the site you want to add to your links. ViaBloga then retrieves the title, description, RSS feed address, and even (yes!) a screenshot for the site. No need to fill in fields manually anymore…

Wiki-Keywords plugin

I haven’t through this through yet completely, but it seems to me that a plugin which would add wiki-like capability to WordPress, like ViaBloga does with keywords, could be an interesting idea to explore.

Technorati plugin

This is really a simple one: add a function which will allow easy display of the Technorati cosmos of each post, like I have done manually for this weblog.

On the subject of multilingual blogging, Kevin Marks has some interesting markup suggestions I need to look at more closely.