Archive

Archive for February 18th, 2004

BloggerTool, l’extension Mozilla pour blogguer facile

February 18th, 2004

Je me suis récemment plongé avec joie dans l’étude du dévelopement des extensions Mozilla.

Je dois dire que je suis assez impressionné par la beauté du concept et la qualité de la réalisation.

J’ai commencé par hacker le petit “BlogThis”
pour y voir un peu plus clair et j’ai vite modifié la chose pour que l’url de post appelée ne pointe plus vers blogger.com mais vers… sukria.net ;)

Une fois la chose faite, je me suis dit que c’était tout de même bien dommage de figer l’url de post dans le code de l’extension. On ne fait pas moins modulaire que du code en dur… grat, grat, sukria réfléchi et décide de dévorer le code d’une autre extension, plus robuste celle-là : webdeveloper.

Cette extension a l’avantage d’utiliser les préférences de Mozilla pour stocker des informations. C’est exactement ce qu’il me fallait. Bref, après quelques heures de traficotage me voici enfin avec une version 0.1 de bloggertool fonctionnelle. J’en profite pour mettre à jour mon Apache afin qu’il connaisse le mime-type xpi et tout est prêt.

Si votre curiosité est éveillée et que vous aussi, geek de votre état vous avez un blog perso, je vous invite à venir essayer le nouveau né : bloggertool.

General

BloggerTool, an easy-to-use blogging engine for mozilla

February 18th, 2004

BloggerTool is a Mozilla Extension which allows you to post a quotation on your personal website.

Install

You have to run Mozilla to use BloggerTool.
Download : bloggertool.xpi (release 0.3)

Configure

When installed, you first have to edit the settings to define all the needed stuff of your blog :

  • Post cgi url: which CGI Mozilla has to call when you want to blog (ie: http://www.myblog.org/post.php)
  • Title var name: the name of the var binding the title of the post (ie: title)
  • Content var name: the name of the var binding the content of the post (ie: content)
  • [[optional]] Custom vars: some additional vars needed by your script to allow a valid post (ie: var1=foo&var2=bar)

Use

When surfing on the web, just select the text you want to quote.

Then right-clik on the page and choose Quote with BloggerTool in the context menu.

You will first be prompted the title of the post. Then, if your settings are valid according to your personal web site, you’ll be redirected - in a new window - on your blog form with some predefined field.

The content of the post will be predefined with a XHTML code block like this :

Which will produce - depending on your CSS - a look and feel like that one :

Seen on Mozilla Firefox - The Browser, Reloaded

Firefox is an award winning preview of next generation browsing technology from mozilla.org.

Since the 0.3 release, you can now choose a Blog Type in the list of the extension’s options window :

  • Blogger.com (http://www.blogger.com)
  • Advgato (http://www.advogato.org/)
  • Poseidon (http://wonko.com/poseidon/)

Feel free to send me your blog preferences if you want BloggerTool to
provide them ;)

General

titre

February 18th, 2004

texte

General