Page mise à jour Friday 03 October 2008 à 13:17:25+0200  
Liste des programmes: blog2pdf.sh
html2pdf version unicode

dyndns_update.sh
Mise à jour de dyndns via curl

get_router_ip.sh
Obtention de l'adresse IP du routeur Netgear WGR614v9

hh_nt_cmd.bat
Aide Windows sur les commandes CMD/BAT

htaccess
.htaccess chez Free (PHP5+local)

retry_wget.sh
Relance de wget jusqu'à obtention du fichier

url_modify_en_fr.js
Small javascript to change current URL

html2pdf unicode!


Conversion d'une page html unicode en pdf.
Utilisation de:
Télécharger le fichier blog2pdf.sh
#!/bin/sh

MESSAGE=20080920_Septembre

BASE=/home/www/free/blog
TMP=/tmp

echo $BASE $MESSAGE vers $TMP ${MESSAGE}.ps

echo iconv
iconv -f utf-8 -t iso8859-1//TRANSLIT ${BASE}/${MESSAGE}/index.html > ${TMP}/${MESSAGE}-8859.html 

echo br
sed 's/^$/<br>/g' ${TMP}/${MESSAGE}-8859.html  > ${TMP}/${MESSAGE}-8859-br.html

echo html2ps
html2ps -b file://${BASE}/${MESSAGE}/ ${TMP}/${MESSAGE}-8859-br.html > ${TMP}/${MESSAGE}.ps

echo ps2pdf
ps2pdf ${TMP}/${MESSAGE}.ps ${MESSAGE}.pdf