20110717

Comprobando los marcadores con wget- Testing your bookmarks with wget

Hoy, ojeando la página man de wget, me he topado con un método para checkear el fichero de marcadores, favoritos o bookmarks según nos guste, sin necesidad de instalar una extensión.
El comando en cuestión es el siguiente:
wget --spider --force-html -i bookmarks.html

Donde bookmarks.html son los marcadores una vez exportados desde nuestro navegador.
Al ejecutarlo, wget se encarga de ir comprobando los enlaces obteniendo una respuesta HTTP, así que todo lo que no sea 200 ok, es que algo no está funcionando como debiera.

Today, reading the man page of wget, I bumped into a way to check our bookmarks file without any extension.
The only thing we have to do is to run the following command:
wget --spider --force-html -i bookmarks.html

Once done that, wget will check every link on the bookmarks.html file and will return a HTTP response. If we get something different to 200 ok is that there is something wrong.

PS. I know, I know. My English is not good enought but, the more you help me, the more I learn.