Wiki Spam on PhpWiki [en]

Call for suggestions for a new wiki engine to run SpiroLattic, victim of too much wiki spam.

Right, I could use some help here, particularly from those of you who are more in touch with the wiki-world than I am at present.

SpiroLattic is a very inactive wiki. However, it does contain some useful pages which are regularly visited, and I’m sick of removing wiki spam from it (the wiki-spam actually succeeded in wiping the Home Page, as the older clean versions of it are not in the database anymore).

I need suggestions for a wiki engine (PHP/MySQL preferred) into which I will be able to import my existing PhpWiki 1.3 alpha something pages, and which is not too vulnerable to wiki spam. I’d like to be able to keep the existing layout, but I don’t think that’s really an issue with today’s wiki engines.

Thanks for your help and suggestions.

Edit 18.12.04: Lazyweb, I invoke thee!

Night Jewellery [en]

An express survey for the readers of this weblog.

[fr] Chers amis lecteurs, retirez-vous votre quincaillerie (comprenez: "vos bijoux si vous en avez") pour dormir?

Do you remove all your jewellery at night, dear readers? (If you wear any daily, that is…)

I personally don’t, and I was talking with a friend yesterday who found that surprising.

Appartement à  louer (Eclépens, 2.5p) [fr]

Ma soeur déménage et cherche à  remettre son appartement. Eclépens (20 min. de Lausanne), 2.5 pièces, joli, 860.- place de parc comprise.

[en] My sister is moving out of her flat. Location: Eclépens, not far from Lausanne. 2.5 rooms, kitchen, bathtub, balcony, calm and light, parking space. 860.- all included.

Ma soeur déménage et cherche à  remettre son appartement (d’après ce que j’ai compris, au plus vite, puisqu’elle peut emménager dans le nouvel appartement dès le 15 septembre).

2.5 pièces (deux grandes chambres, un coin salle à  manger spacieux avec fenêtre, hall d’entrée, cuisine, salle de bains avec baignoire), balcon, 68 mètres carrés, calme, lumineux, beaucoup de fenêtres.

Immeuble situé à  Eclépens (15-20 minutes de Lausanne par l’autoroute, sortie La Sarraz), avec place de parc devant l’immeuble.

Loyer actuel: 860.- par mois, charges et place de parc comprises (780 sans la place de parc).

Laissez-moi un commentaire ou bien envoyez-moi un e-mail (avec “appartement Eclépens” dans le sujet pour que je ne le rate pas), et je vous mets en contact.

Firefox Only For White Anglo-Saxon Males? No! [en]

Browse Happy needs testimonials from happy Firefox users who fall outside the “white high-tech anglo-saxon male” profile.

[fr] Browse Happy, un site qui encourage les gens à  se "convertir" à  Firefox, a besoin de témoignages de personnes qui ne tombent pas dans la catégories "homme anglo-saxon blanc branché technologie"... a bon entendeur!

Browse Happy is a neat site encouraging users to switch to Firefox, by publishing testimonials of happy switchers.

However, it does suffer from a problem: the people featured on the site tend to fit the white high-tech male anglo-saxon profile pretty dramatically. This strikes me as an unhappy coincidence, so maybe we can lend a hand in helping them gather a more respresentative sample of testimonials?

If you don’t fit that profile, and want to help spread the word that Firefox is for everybody… send in your testimonial!

Musings on a Multiblog WordPress [en]

Thinking about a solution to make WordPress MultiBlog. Comments, criticism and other ideas welcome — please join the fun. In particular, I bump into a hairy PHP include problem.

[fr] Je réfléchis à comment on pourrait donner à WordPress la capacité de gérer plusieurs blogs avec une installation. Je me heurte à un problème concernant les includes PHP. Feedback et autres idées bienvenues!

Update June 2007: Try WordPress Multi-User now.

I’ve used Shelley’s instructions using soft links. I tried Rubén’s proof-of-concept, but got stuck somewhere in the middle.

So I started thinking: how can we go about making WordPress MultiBlog-capable? Here is a rough transcript of my thoughts (I’ve removed some of the dead ends and hesitations) in the hope that they might contribute to the general resolution of the problem. I have to point out my position here: somebody with a dedicated server who’s thinking of setting up a “WordPress weblog-farm” (for my pupils, mainly). So I’m aware that I’m not the “standard user” and that my solution is going to be impractical to many. But hey, let’s see where it leads, all the same. Actually, I think I probably reconstructed most of Rubén’s strategy here — but I’m not sure to what extent what I suggest differs from what he has done.

From a system point of view, we want to have a unique installation of WordPress, and duplication of only the files which are different from one blog to another (index.php, wp-config.php, wp-comments.php, wp-layout.css, to name a few obvious ones). The whole point being that when the isntall needs to be upgraded, it only has to be upgraded in one place. When a plugin is downloaded and installed, it only has to be done once for all weblogs — though it can of course be activated individually for each weblog.

From the point of view of the weblogs themselves, they need to appear to be in different domains/subdomains/folders/whatever. What I’m most interested in is different subdomains, so I’ll stick to that in my thinking. (Then somebody can come and tell me that my “solution” doesn’t work for subfolders, and here’s one that works for subfolders and subdomains, and we’ll all be happy, thankyouverymuch.) So, when I’m working with blog1.example.com all the addresses need to refer to that subdomain (blog1.example.com/wp-admin/, etc); ditto for blog2.example.com, blog3.example.com, blogn.example.com (I used to like maths in High School a lot).

As Rubén puts it, the problem with symbolic links (“soft links”) is called “soft link hell”: think of a great number of rubber bands stretched all over your server. Ugh. So let’s try to go in his direction, for a while. First, map all the subdomains to the same folder on the server. Let’s say blog1.example.com, blog2.example.com (etc.) all point to /home/bunny/www/wordpress/. Neat, huh? Not so. They will all use the same wp-config.php file, and hence all be the same weblog.

This is where Rubén’s idea comes in: include a file at the top of wp-config.php which:

  1. identifies which blog we are working with (in my case, by parsing $HTTP_HOST, for example — there might be a more elegant solution)
  2. “replaces” the files in the master installation directory by the files in a special “blog” directory, if they exist

The second point is the tricky one, of course. We’d probably have a subfolder per blog in wordpress/blogs: wordpress/blogs/blog1, wordpress/blogs/blog2, etc. The included file would match the subdomain string with the equivalent folder, check if the page it’s trying to retrieve exists in the folder, and if it does, include that one and stop processing the initial script after that. Another (maybe more elegant) option would be to do some Apache magic (I’m dreaming, no idea if it’s possible) to systematically check if a file is available in the subdirectory matching the subdomain before using the one in the master directory. Anybody know if this is feasible?

The problem I see is with includes. We have (at least) three types of include calls:

  • include (ABSPATH . 'wp-comments.php');
  • require ('./wp-blog-header.php');
  • require_once(dirname(__FILE__).'/' . '/wp-config.php');

As far as I see it, they’ll all break if the calling include is in /home/bunny/www/wordpress/blogs/blog1 and the file to be called is in /home/bunny/www/wordpress. What is wrong with relative includes? Oh, they would break too. Dammit.

We would need some intelligence to determine if the file to be included or called exists in the subdirectory or not, and magically adapt the include call to point to the “right” file. I suspect this could be done, but would require modifying all (at least, a lot of) the include/requires in WordPress.

Maybe another path to explore would be to create a table in the database to keep track of existing blogs, and of the files that need to be “overridden” for each blog. But again, I suspect that would mean recoding all the includes in WordPress.

Another problem would be .htaccess. Apache would be retrieving the same .htaccess for all subdomains, and that happens before PHP comes into play, if I’m not mistaken.

Any bright ideas to get us out of this fix? Alternate solutions? Comments? Things I missed or got wrong? The comments and trackbacks are yours. Thanks for your attention.

Weblogs à  l'école [fr]

Les weblogs à  l’école. Vous êtes parent, enseignant? Vous en connaissez des exemples? Partagez-les ici!

[en] A call to information and opinions on weblogging in schools. In particular, would you post photographs of the weblog owners on the blog, or their full name?

Cette année scolaire (ouille, le rentrée approche) va être pour moi l’occasion de travailler avec des élèves sur un projet de weblogs (un weblog par élève ou petit groupe, a priori).

Avez-vous fait une expérience semblable? Avez-vous des liens sur le sujet? Est-ce que votre école publie sur le web les photos des élèves qui y écrivent et leur nom? Qu’en pensez-vous?

Que vous soyez enseignants ou parents (ou même, autre!), votre avis sur la question m’interesse. Il y a Mario, il y a les élèves de St.-Joseph, il y a SchoolBlogs… mais encore?

Ces blogueurs qui arrêtent… [fr]

Pourquoi les weblogueurs cessent-ils de bloguer? Par manque de lectorat, certes, mais je me demande si une attitude de l’ordre de “que vais-je donc écrire sur mon blog aujourd’hui” ne joue également un rôle dans le risque d’abandon de weblog.

[en] Why do bloggers stop blogging? As Stefan mentioned at BlogTalk, lack of readership and feedback is certainly a factor in weblog abandonment. Remembering a question I answered the day before the conference on a weblog survey, I wonder if a "what am I going to blog today" attitude doesn't increase the risk of weblog abandonment (as opposed to bloggers who just have stuff in their head that needs to get out.) What do you think?

Ça revient régulièrement sur le devant de la scène: le blog-blues. Tel ou tel ferme son weblog, arrête de bloguer, quitte la blogosphère à  grands fracas (pour parfois revenir ensuite) ou s’en va à  pas de souris. Pourquoi les blogueurs arrêtent-ils?

Lors de BlogTalk, Stefan Glänzer s’est posé la question: Does Blogging Suck?

Sur 20six.de, il semblerait que 82% des bloguers abandonnent leur weblog au bout de quelques mois.

Sans lecteurs, on ferme. Epitaphes-type:

  • Y’a quelqu’un?
  • test test test
  • J’ai besoin d’une pause… je reviendrai… à  un moment ou un autre

Je vois cependant souvent des weblogs “bien lus” fermer. C’est en général de ceux-là  qu’on entend parler, inévitablement — les lecteurs se plaignent! La grandeur du lectorat n’est certainement pas le seul facteur, et j’ai ma petite hypothèse sur la question.

En écoutant la conférence de Stefan, j’ai repensé au questionnaire sur les weblogs que j’avais rempli le soir précédant. Une des questions m’a frappée — elle disait à  peu près ceci: “Lesquelles des sources suivantes consultez-vous régulièrement afin d’y trouver des choses à  bloguer?” (suivait une liste de genre de sites susceptibles de servir d’inspiration au bloguer qui en manquerait).

Et là , je me suis retrouvée perplexe. Je ne vais jamais à  la recherche de matière à  bloguer! Je ne me demande jamais de quoi je pourrais bien parler aujourd’hui. Soit il y a quelque chose qui me trotte dans la tête et je l’écris (ou pas), soit il n’y a rien et je n’écris rien. Jamais je ne vais activement chercher un sujet de billet.

Je me demande donc s’il y aurait pas une corrélation entre cette attitude (“chercher quoi bloguer”) et le risque d’abandon du weblog.

Qu’en pensez-vous? En ce qui vous concerne, est-ce que vous cherchez des sujets de billet, ou bien est-ce qu’ils “viennent à  vous”? Vous demandez-vous ce que vous allez bien pouvoir écrire aujourd’hui? Ce que vous avez à  dire à  ce sujet m’intéresse grandement.

Batch Categories 0.9 [en]

Batch Categories for WordPress has been fixed and enhanced. If you have major category jobs to do, it can probably help you. Feedback and testers welcome.

[fr] Batch Categories pour WordPress a été corrigé et fonctionne à  présent. Le compagnon idéal si vous desirez changer les catégories de nombreux billets en même temps.

Batch Categories 0.9 is out! It’s the ideal companion for large-scale post-import messy category work. List all posts belonging to a category or matching a keyword, and edit their categories, easily visible at a glace with a collection of sexy drop-down lists. What’s new since the the first draft?

  • It now works, and does not “eat” categories without a warning. (Pretty nice of it, huh?)
  • It tells you what it did — which categories it added to which posts, and which ones it removed.
  • Add a whole bunch of posts to a category with one click.
  • Remove a whole bunch of posts from a category with one click.
  • Ensures that all the categories for a post are always listed, whatever the setting for the limit number of drop-down lists.
  • This is what it can look like.

You can still access it as a plugin or edit the Edit navigation menu, as described in my post introducing Batch Categories. If you’re in a hurry, just drop the PHP file into your wp-admin directory and send your browser straight on it.

Next steps?

  • Gather feedback from courageous testers (please don’t blame me if you haven’t backed up your post2cat table and things go wrong) for chasing the last bugs, improving interface and functionality.
  • Redo the code which generates the drop-down lists to take advantage of the category cache, and avoid flooding the database with useless queries.
  • Allow more subtle selection of posts: combinations of categories (AND/OR/NOT), categories without their subcategories…
  • Anything else you would want…?

Update 24.07.04: BB made me notice that “All” and “None” didn’t make much sense in the drop-down which allows one to select the categories to display. Replaced them in v. 0.91 by “Any category”.

BlogTalk 2.0, Anyone? [en]

I’ll be in Vienna from 1st-6th of July for BlogTalk 2.0, and I am looking for people to meet before the conference and eventually someone to share a hotel room with. Let me know if you’ll be there!

I’ll be going to Vienna early July for BlogTalk 2.0, a series of conferences on weblogs. I’m planning to go there a few days before, so I’ll be in Vienna from July 1st or 2nd to July 6th evening. Registration for the conference is open until June 21st if you want the cheaper, before-the-conference prices. Otherwise you can always register at the conference.

Is anybody else (apart from Suw) going to be in Vienna before the conference? I could also be interested in sharing a (cheapish) hotel room with somebody. Please leave a message in the comments or update BlogTalkVienna on Joiwiki if you’re going to be there!

Urgent: chambre à  louer à  Lausanne [fr]

Chambre à  louer à  Lausanne, 310.- par mois, urgent.

Ma copine Christine et son colocataire cherchent d’urgence une colocatrice pour occuper la troisième chambre de leur joli appartement. Quartier Montelly, à  côté de la Migros et de la pharmacie, TSOL et poste à  deux minutes, Centre à  15 minutes. Prix: 310.- par mois charges comprises!

Si ça vous intéresse, envoyez-moi un e-mail ou lancez-moi un coup de fil, et je transmettrai.