See below for English.
L'ancienne version est disponible ici.
NanoComments est un système de commentaires en Javascript et PHP sans base de données optimisé pour les sites statiques faits avec Jekyll.
php-curl soit installé.comments/ dans la racine du site.index.html.Par défaut, chaque fichier de commentaire est limité à 500 ko. Pour modifier cette limite, allez dans addComment.php dans la fonction is_filesize_correct et changez la valeur multipliée par 1024 (par défaut 500 * 1024 pour 500 ko).
Par défaut, le fichier de log est limité aux 100 dernières entrées. Pour faire varier cette valeur, dans addComment.php allez dans add_comment_to_logfile et changez le nombre dans la condition appropriée.
Pour désactiver le log, commentez ou retirez les deux lignes qui commencent par add_comment_to_logfile... à la fin du mêne fichier.
Pour changer le nombre de caractères max du pseudo, du site ou du contenu, changez les valeurs aux endroits où les variables $name, $website et $content sont créées, aux alentours de la ligne 80. Vous devrez aussi mettre à jour les valeurs dans le formulaire HTML (champs maxlength).
Old version available here.
NanoComments is a flat-file comment system (written in Javascript and PHP) designed for static websites and optimized for Jekyll.
php-curl.comments/ directory in the website root folder.index.html).By default, any comments file is limited to 500 ko. If you want to modify this limit, go to addComment.php in function is_filesize_correct and change the value multiplied by 1024 (by default it's 500 * 1024 for 500 ko).
By default, the logfile is limited to 100 lines. If you want to modify this value, in addComment.php go to add_comment_to_logfile and change the number in the appropriate if.
If you want to disable the logfile, comment or remove the two calls add_comment_to_logfile... at the end of addComment.php.
If you want to modify the maximum length of strings like name, website or comment content, change numbers where $name, $website and $content vars are created (around line 80) and change corresponding values in the HTML form (maxlength fields).