From 14426a85c7e7371c09b145175b34314bce8bad49 Mon Sep 17 00:00:00 2001 From: Apache Date: Mon, 8 Apr 2013 14:33:15 +0200 Subject: [PATCH 1/4] rm resources/rss.xml --- 0.3/resources/rss.xml | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 0.3/resources/rss.xml diff --git a/0.3/resources/rss.xml b/0.3/resources/rss.xml deleted file mode 100644 index de67e65..0000000 --- a/0.3/resources/rss.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - -http://workspace.hoa.ro/autoblog/Projet-Autoblog/0.3/Projet AutoblogProjet Autoblog - RSS : Ajouts et changements de disponibilité. - From 64fa21f2caf33290da1baa425df5272900f6caeb Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 8 Apr 2013 14:59:12 +0200 Subject: [PATCH 2/4] Remove a / in atom feed --- 0.3/index.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/0.3/index.php b/0.3/index.php index 1e811e0..ff46929 100755 --- a/0.3/index.php +++ b/0.3/index.php @@ -162,17 +162,17 @@ function versionCheck() { /** * RSS Feed **/ +if( !file_exists(RSS_FILE)) { + require_once('class_rssfeed.php'); + $rss = new AutoblogRSS(RSS_FILE); + $rss->create('Projet Autoblog'. ((!empty($head_title)) ? ' | '. $head_title : ''), serverUrl(true),"Projet Autoblog - RSS : Ajouts et changements de disponibilité.", serverUrl(true) . RSS_FILE); +} if (isset($_GET['rss'])) { require_once('class_rssfeed.php'); $rss = new AutoblogRSS(RSS_FILE); $rss->displayXML(); die; } -if( !file_exists(RSS_FILE)) { - require_once('class_rssfeed.php'); - $rss = new AutoblogRSS(RSS_FILE); - $rss->create('Projet Autoblog'. ((!empty($head_title)) ? ' | '. $head_title : ''), serverUrl(true),"Projet Autoblog - RSS : Ajouts et changements de disponibilité.", serverUrl(true) . '/' . RSS_FILE); -} /** * SVG From 564c6a49625a8c42e1e4e219a84510316e66b778 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 8 Apr 2013 16:01:57 +0300 Subject: [PATCH 3/4] Update .gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 653e4ba..a5f9aa4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ 0.3/.versionlock 0.3/.xsaflock -0.3/rss.xml +0.3/resources/rss.xml .project 0.3/resources/user.css 0.3/autoblogs/* From 681a9bd94b51fa55b91a0964241f6126acbb5faa Mon Sep 17 00:00:00 2001 From: Mitsukarenai Date: Mon, 8 Apr 2013 15:08:16 +0200 Subject: [PATCH 4/4] =?UTF-8?q?fix=20lien=20vers=20autoblog=20apr=C3=A8s?= =?UTF-8?q?=20ajout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0.3/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0.3/index.php b/0.3/index.php index ff46929..cb48fff 100755 --- a/0.3/index.php +++ b/0.3/index.php @@ -566,7 +566,7 @@ if( !empty($_POST['generic']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY_L $error = array_merge( $error, createAutoblog('generic', $sitename, $siteurl, $rssurl, $error)); if( empty($error)) - $success[] = 'Autoblog '. $sitename .' crée avec succès.afficher l\'autoblog'; + $success[] = 'Autoblog '. $sitename .' crée avec succès.afficher l\'autoblog'; } else { // checking procedure