Merge branch 'master' of github.com:mitsukarenai/Projet-Autoblog
This commit is contained in:
commit
ad96017ecd
4 changed files with 49 additions and 5 deletions
25
LICENSE.md
25
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 <http://unlicense.org/>
|
||||
|
|
25
README.md
25
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
|
||||
=====================
|
||||
|
||||
|
|
|
@ -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.')<br>Autoblog : <a href="'. serverUrl(true).$autoblog_url.'">'.$autoblog_title.'</a><br>Site : <a href="'. $autoblog_sourceurl .'">'. $autoblog_sourceurl .'</a><br>RSS : <a href="'.$autoblog_sourcefeed.'">'.$autoblog_sourcefeed.'</a>';
|
||||
case 'available':
|
||||
return 'Autoblog "'.$autoblog_title.'" : site distant à nouveau accessible (code '.$response_code.')<br>Autoblog : <a href="'. serverUrl(true).$autoblog_url.'">'.$autoblog_title.'</a><br>Site : <a href="'. $autoblog_sourceurl .'">'. $autoblog_sourceurl .'</a><br>RSS : <a href="'.$autoblog_sourcefeed.'">'.$autoblog_sourcefeed.'</a>';
|
||||
case 'new_autoblog_added':
|
||||
return 'Autoblog "'.$autoblog_title.'" ajouté.<br>Autoblog : <a href="'. serverUrl(true).$autoblog_url.'">'.$autoblog_title.'</a><br>Site : <a href="'. $autoblog_sourceurl .'">'. $autoblog_sourceurl .'</a><br>RSS : <a href="'.$autoblog_sourcefeed.'">'.$autoblog_sourcefeed.'</a>';
|
||||
}
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
0.3.0-DEV Build 1
|
||||
0.3.0
|
||||
|
|
Loading…
Reference in a new issue