diff --git a/LICENSE.md b/LICENSE.md index 700f763..a91b07e 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -7,3 +7,28 @@ LICENSE =============== - public domain + +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to diff --git a/README.md b/README.md index e0844b9..5b7ce67 100755 --- a/README.md +++ b/README.md @@ -1,13 +1,23 @@ + + Projet Autoblog =============== -Création, gestion et échange de blogs automatiques contre la censure ([plus d'info sur le projet](http://sebsauvage.net/streisand.me/fr/)). +> This project is historically in French. See [our english README](https://github.com/mitsukarenai/Projet-Autoblog/wiki/Autoblog-Project). + +Réplication automatique de contenu à partir de flux RSS/Atom, avec partage des ajouts entre les fermes d'Autoblog. + +L'objectif premier du projet Autoblog est de lutter contre la censure et toute autre forme de pression allant à l'encontre de la liberté d'expression en favorisant l'[effet Streisand](http://fr.wikipedia.org/wiki/Effet_Streisand). + +Le projet a été initialement lancé par Sébastien Sauvage : [plus d'info par ici](http://sebsauvage.net/streisand.me/fr/). + +Démo : [autoblog.suumitsu.eu](http://autoblog.suumitsu.eu/) + Serie 0.3 par [Mitsu](https://github.com/mitsukarenai/), [Oros](https://github.com/Oros42), [Arthur Hoaro](https://github.com/ArthurHoaro). -"bleeding edge" demo: [autoblog.suumitsu.eu](http://autoblog.suumitsu.eu/) - -Nouveautés majeures +![logo](http://streisand.hoa.ro/resources/icon-logo.svg) +Fonctionnalités majeures =================== - Ferme d'autoblogs avec ajout facile par différents formulaires (générique, microblogging, OPML, marque-pages). @@ -34,6 +44,13 @@ Pré-requis techniques - PHP 5.3 ou supérieur - Support SQLite 3 pour PHP +Documentation +===================== + +La documentation du projet est sur le [Wiki du repo](https://github.com/mitsukarenai/Projet-Autoblog/wiki). + +Accès hors ligne : `git clone https://github.com/mitsukarenai/Projet-Autoblog.wiki.git` + Licence ===================== diff --git a/functions.php b/functions.php index 2d94169..6a6859c 100755 --- a/functions.php +++ b/functions.php @@ -246,6 +246,7 @@ $json[] = array( 'status'=>$status, 'response_code'=>$response_code ); +$json = array_slice($json, -50, 50); if(file_put_contents(RESOURCES_FOLDER.'rss.json', json_encode($json), LOCK_EX) === FALSE) { return FALSE; } else { return TRUE; } @@ -263,6 +264,7 @@ function displayXMLstatus($status, $response_code, $autoblog_url, $autoblog_titl case 'remote_error': return 'Autoblog "'.$autoblog_title.'" : site distant a problème serveur (code '.$response_code.')
Autoblog : '.$autoblog_title.'
Site : '. $autoblog_sourceurl .'
RSS : '.$autoblog_sourcefeed.''; case 'available': + return 'Autoblog "'.$autoblog_title.'" : site distant à nouveau accessible (code '.$response_code.')
Autoblog : '.$autoblog_title.'
Site : '. $autoblog_sourceurl .'
RSS : '.$autoblog_sourcefeed.''; case 'new_autoblog_added': return 'Autoblog "'.$autoblog_title.'" ajouté.
Autoblog : '.$autoblog_title.'
Site : '. $autoblog_sourceurl .'
RSS : '.$autoblog_sourcefeed.''; } diff --git a/version b/version index 4cb2afc..0d91a54 100755 --- a/version +++ b/version @@ -1 +1 @@ -0.3.0-DEV Build 1 \ No newline at end of file +0.3.0