Customisation of planet to mirror an intranet RSS feed

To be able to provide a RSS feed for Planet Calibre, I had to do a mirroring of a section of my blog which runs on an intranet machine.

I’ve done that with planet, by adapting the provided templates.

The difficulty is that planet was using my local intranet machine’s URLs as permalinks for the articles, thus rendering the articles unavailable if the feed was to be used in other feeds or agregators.

The solution is to add html <a name="<TMPL_VAR date>"</a> like anchor before every item in the html rendered page, and produce the RSS output which would link the items to these <code>index.html#<tmpl_var date></tmpl_var> URLs. By doing this with a date format like date_format = %Y_%m_%d_%H_%M, it seems to be working fairly well.

I then have a web-accessible mirror of my intranet blog with valid permalink URLs for the items.

L’extension Search button pour firefox est bien pratique

J’aime pas du tout le fait que la bote de saisie de recherche de firefox ne soit pas vide aprs une recherche : je fais du copier coller entre le contenu des pages et ce que je veux chercher et chaque fois je suis oblig de commencer par vider le contenu de la zone de recherche. Le comportement de Mozilla tait beaucoup plus ergonomique je trouve, avec une seule zone de recherche.

C’est pourquoi j’apprcie vraiment l’extension Search Button de firefox.

Improved Planet Calibre

I’ve improved the Planet Calibre agregated feed by overiding the issues I had with the fact that I used a static copy mad with planet of a wordpress blog located on my intranet.

The initial planet copy used to transport URLs linking to my intranet machine.

Now, I have reworked the templates so that it no longer links to it but uses local anchors, thus providing reliable permanlinks for the items.

We’re ready for syndication baby 😉