PJW Blogminder Plugin for WordPress [en]

[fr] J'en rêvais, on m'a prise au mot: un plugin qui vous envoie une alerte si vous n'avez pas publié quoi que ce soit sur votre blog depuis x jours (entre un et sept jours). Histoire d'éviter que la semaine entière passe sans s'en rendre compte!

A few days, ago, I was dreaming out loud on Twitter about a plugin which would let me know when I hadn’t published anything on my blog after a certain number of days. I guess that, once again, I’d reached the end of a week and realised that I had not written a single thing on CTTS.

Well, my wish was heard, and Peter Westwood has just released the PJW Blogminder plugin. The plugin adds a simple option to your profile page, where you can request a reminder if you haven’t published anything in the last few days (set the number of days between one and seven).

Blogminder screenshot

Nice!

(Now I just need to get my server to send mail… ahem.)

New Tumblr iPhone App [en]

[fr] Si vous êtes un utilisateur de Tumblr muni d'un iPhone, il vous faut absolument l'application iPhone pour Tumblr.

I missed the Tumblr application for iPhone when it came out, because I had downloaded an earlier version named Tumblrette — and didn’t spot the name change. I was quite disappointed by Tumblrette, to be honest — but I absolutely love the new Tumblr app.

There is an iPhone-specific dashboard view, you can easily like and reblog posts, follow new Tumblelogs you discover, or create new original posts. Here’s a view of the dashboard (easy insertion of iPhone screenshots by using the WordPress iPhone app to create a draft containing the images — my iPhone is starting to feel almost like a computer):

When you click on the top right arrow in a given post on your dashboard, it changes to this:

To like, just tap “like”, and if you want to reblog, you get a chance to edit (like in the web interface) before posting:

The one thing I’m not wild about, because it really breaks the flow of what you’re doing with the app, is that once you’ve reblogged a post, you end up at the top of the “web-view” dashboard.

The logical place to end up would be back in the “iPhone-view” dashboard, so that you can continue skimming through the posts you were reading before you reblogged:

But in all, it’s really great. If you’re a Tumblr and iPhone user, get Tumblr for your iPhone now!

WordPress on my iPhone [en]

Wow, just checking out the new WordPress iPhone app. It now allows comment moderation management, post and page editing, as well as saving non-local drafts. I’m going to start using it regularly… Though maybe not for writing my usual unending posts for CTTS!

Disqus Plugin Aftermath: Removing Duplicate Comments [en]

[fr] Comment se débarrasser de 5000 commentaires à double dans sa base de données WordPress!

Now that Disqus integrates Friendfeed comments, I could be tempted to give it another try, if I hadn’t spent an hour yesterday cleaning up my database because of an earlier attempt to use Disqus on this blog. After the story, how I did it — in case you’re in the same mess and could use the help.

Back in August, I installed the Disqus plugin for WordPress. Things started off not too badly, though I was a bit concerned that the plugin seemed to have duplicated all the comments in my database. It didn’t seem to show up on the blog though, so I didn’t worry too much.

After a few months, I was a bit frustrated with Disqus and the plugin (which was clearly an older version than the Disqus plugin available now). Moderating comments through the WordPress interface seemed to work erraticly, and some spam just wouldn’t accept to stay in the spambox. I never really tried to identify the exact problems too closely, I have to admit, but things were not really working how I expected them to.

Then a few (unrelated) people told me they had completely failed to comment on my blog with the new system. At some point, I got fed up and uninstalled it. Unfortunately, the duplicate comments which had been hidden from view remained there after uninstalling the plugin, so all the old comments appeared on the blog twice. I let the problem sit for a long time before attempting to fix it — wild hope there might be a ready-made script out there I could just run& in vain.

Here’s how I tackled the problem this week-end and ended up removing the duplicate comments without too much trouble, through PhpMyAdmin (PMA for short).

  • In PMA, I made sure that duplication seemed constant — it was
  • I discovered that the duplicate comments had “DISQUS” in the user-agent field
  • I dug around until I identified the last duplicate comment (when I installed the Disqus plugin, actually; I sorted the database comments table by comment date to do that)
  • I did a search, selecting comments which were younger than the last duplicate comment date AND had “DISQUS” in the user-agent field (the date bit is important, because comments posted while the plugin were active have “DISQUS” in the user-agent field but are not duplicates)
  • Then, I deleted everything that came up in the search — about 5000 comments (it helps to tell PMA to display 3000 lines per page when doing that :-))

Hope this can help somebody, and remember: always back up your database first!

Tumblr ou le proto-blog [fr]

[en] A brief introduction to Tumblr, which is a really great blogging tool. It caters to a completely different need than WordPress, in my opinion: share stuff you've found online, easily. Collect photos, videos, quotes and links in one place, with some nice social features that allow you to re-share stuff others have found -- and them, your stuff.

Je veux vous parler de Tumblr, parce c’est génial. Si WordPress c’est un peu la Rolls des services de blog, Tumblr en est le degré zéro. Pas dans le sens que c’est nul, non, mais dans le sens que c’est basique et pas prise de tête. C’est le retour au blog “bloc-notes”, après le développement du “blog-magazine”. (Hop, filez voir mon Tumblr à moi.)

Tumblr est prévu surtout pour rassembler en un endroit des choses vues ailleurs. Des photos, des citations, des vidéos, des liens& On peut y mettre son propre contenu, bien entendu — même des textes.

C’est le blog sans histoires, sans prétention, et sans fioritures. Tumblr intègre une dimension communautaire, donc c’est aussi le blog “ooh, vous avez vu ce truc cool que j’ai trouvé? et le poème sympa qu’a écrit Juliette?”

Je vous explique :-)

  • c’est gratuit, donc filez direct ouvrir un compte, qu’on puisse continuer
  • filez sur la page “goodies“, et faites glisser le bookmarklet dans votre barre de liens favoris
  • quand vous êtes sur une page intéressante, cliquez sur le bookmarklet — un clic de confirmation, et hop, c’est dans votre Tumblr!

Bookmarklet?

Quand vous êtes sur quelque chose d’intéressant que vous avez envie de mettre dans votre Tumblr, cliquez sur le bookmarklet. Le bookmarklet fait apparaître une petite fenêtre pop-up et il essaie de deviner quel genre de contenu vous désirez publier:

Share on Tumblr

Si vous êtes simplement sur une page web, Tumblr va partir du principe que vous voulez partager un lien sur votre blog. Si vous avez sélectionné du texte, il va vous proposer de publier une citation. J’avoue que j’utilise énormément cette fonctionnalité:

Ajouter une citation à son Tumblr

Si Tumblr devine mal, vous pouvez simplement changer le type de publication. Il va sans dire que vous pouvez faire des modifications au contenu avant de le publier. Et si vous avez envie d’écrire une petite bafouille, utilisez le mode “texte”!

Communauté?

Tumblr, comme toute bonne plateforme de blogs qui se respecte, est un réseau social (à la facebook, si vous voulez, puisque c’est le plus connu ces temps). Vous voyez un blog Tumblr qui vous plaît? Cliquez sur “follow” en haut à gauche (ça rappelle Twitter, non? lire mon article pour plus d’infos). Allez, ajoutez mon Tumblr et celui de Michelle, au hasard, pour commencer.

Comme votre page d’accueil Twitter ou Facebook, celle de Tumblr vous montre une liste des dernières publications des personnes que vous suivez. Vous aimez quelque chose? cliquez sur le petit coeur en haut à droite de l’article. Vous voulez republier quelque chose dans votre blog? cliquez sur “reblog”:

Tumblr tableau de bord

Il va sans dire que Tumblr ajoute automatiquement un lien vers la source originale, tant lorsque l’on reblogue quelque chose de Tumblr que lorsque l’on ajoute un lien, un citation, une photo ou une vidéo.

Règles avancées?

Pour ceux qui aiment bricoler, on peut:

  • choisir le layout de son Tumblr, voire créer le sien
  • permettre à ses lecteurs de laisser des commentaires
  • utiliser votre propre nom de domaine (je planche sur la question pour mon propre tumblelog)

Moralité?

Tumblr est idéal pour un blog dans l’esprit “collection de choses un peu en vrac que j’ai glanées ici et ailleurs”. C’est très facile à utiliser. Ça va à l’essentiel. C’est sans prétention, ce n’est pas intimidant.

Laissez l’adresse de votre Tumblr dans les commentaires (qu’ils soit nouveau-né ou déjà bien rôdé), et je vous suivrai!

Linking Flickr Images in Thesis' Multimedia Box [en]

[fr] Instructions pour faire en sorte que les photos de la boîte multimédia du thème WordPress Thesis renvoient vers leur page Flickr.

I haven’t had Thesis on my blog for 24 hours that I’m already messing with it. Oh well. So, one thing I’ve done and will explain in some detail is added tons of photos from my Flickr account to the Thesis multimedia box up right, with links to the original Flickr pages.

  1. I have shell access to my server, which makes life so much simpler. Once inside the rotator folder, all I have to do is grab the URL of the middle-sized photograph I want (All sizes > Medium) and wget it. For example: wget http://farm4.static.flickr.com/3252/2725414522_4a9b2887df.jpg
  2. On the Thesis Options page, I insert the Flickr photo page URL in the “alt” field for that photo. It’s pretty easy to deduce it from the filename. For example: 2725414522_4a9b2887df.jpg => http://flickr.com/photos/bunny/2725414522/.
  3. Following these instructions, I replaced one line in the multimedia_box_functions.php file so that the images would actually link to their Flickr page.

Voilà!

Redirections in WordPress [en]

When I moved the Going Solo site away from WordPress.com (which did its job well, btw) so that I could jiggle it around and make the Lausanne and Leeds events into separate sites, I ended up with a whole bunch of URLs like http://going-solo.net/programme which actually referred to the Lausanne event, and needed to point to http://lausanne08.going-solo.net/programme.

If you’ve been reading me for a while, you probably know that I’m not shy to go and fiddle around with my .htaccess file, but I’m also getting increasingly lazy as the years go by. So, here are two WordPress plugins (well, one isn’t strictly a plugin, but let’s not get tangled up in semantics) which can come in handy:

  • Redirection plugin: use this when you just need a 301/302 (prefer the latter) redirect/move — if you head to http://going-solo.net/programme, you’ll see it at work. It has a handy interface to let you manage all your redirects, and also does 404 logging for you. I’ve discovered (and fixed) quite a few broken links since I installed it.
  • “Redirect to” page template (thanks, Mark): this is actually a page template which does nothing but redirect somewhere else. I use it on the main Going Solo site to create navigation tabs to Lausanne and Leeds which redirect to the other sites. Create a page with the right title, select “Redirect” as the page template, and add a custom field named “redirect” with the destination URL as value.

Have fun!