diff --git a/ecrire/synchro.php3 b/ecrire/synchro.php3
index 561ba88c0567d9f5d39479530c0b51ef5426d412..b330e33d660f22bc9a3cc7214184fcdc51018fc4 100644
--- a/ecrire/synchro.php3
+++ b/ecrire/synchro.php3
@@ -85,12 +85,12 @@ debut_droite();
 		echo "<div>&nbsp;</div>";
 		
 		echo "<div style='float: left; width: 200px;'>";
-			icone_horizontale (_T("calendrier_synchro_lien"), "$adresse_site/spip_cal.php3?type=public", "calendrier-24.gif");
+			icone_horizontale (_T("calendrier_synchro_lien"), "$adresse_site/ical.php3", "calendrier-24.gif");
 		echo "</div>";
 	
 		echo "<div style='float: right; width: 200px;'>";
 			$webcal = ereg_replace("http.?://", "webcal://", $adresse_site);
-			icone_horizontale (_T("calendrier_synchro_sync"), "$webcal/spip_cal.php3?type=public", "calendrier-24.gif");
+			icone_horizontale (_T("calendrier_synchro_sync"), "$webcal/ical.php3", "calendrier-24.gif");
 		echo "</div>";
 		echo fin_cadre_enfonce();
 
diff --git a/spip_cal.php3 b/spip_cal.php3
index 957726691201100da078cf63b22715dc0bb24558..673e1fffcef18308fc6c646d4f172156f6d841df 100644
--- a/spip_cal.php3
+++ b/spip_cal.php3
@@ -46,49 +46,6 @@ if (verifier_low_sec($id_auteur, $cle, 'ical')) {
 @header ("content-type:text/calendar");
 
 
-if ($type == "public") {
-	ligne ("BEGIN:VCALENDAR");
-	ligne ("CALSCALE:GREGORIAN");
-	ligne ("X-WR-CALNAME;VALUE=TEXT:$nom_site");
-	ligne ("X-WR-RELCALID:$adresse_site");
-
-	// Articles et breves publies
-	$result_articles = spip_query("SELECT id_article, titre, date FROM spip_articles WHERE statut = 'publie'");
-	while($row=spip_fetch_array($result_articles)){
-		$id_article=$row['id_article'];
-		$titre = filtrer_ical($row['titre']." ("._T('info_article_publie').")");
-		$date_heure = $row['date'];
-		ligne ("BEGIN:VEVENT");
-		ligne ("SUMMARY:$titre [$nom_site]");
-		ligne ("UID:article$id_article @ $adresse_site");
-				ligne ("DTSTAMP:".date_ical($date_heure));
-				ligne ("DTSTART:".date_ical($date_heure));
-				ligne ("DTEND:".date_ical($date_heure, 60));
-		ligne ("CATEGORIES:".filtrer_ical(_T('titre_breve_publiee')));
-		ligne("URL:$adresse_site/spip_redirect.php3?id_article=$id_article");
-		ligne("STATUS:CONFIRMED");
-		ligne ("END:VEVENT");
-	}
-	$result_articles = spip_query("SELECT id_breve, titre, date_heure FROM spip_breves WHERE statut = 'publie'");
-	while($row=spip_fetch_array($result_articles)){
-		$id_breve=$row['id_breve'];
-		$titre = filtrer_ical($row['titre']." ("._T('titre_breve_publiee').")");
-		$date_heure = $row['date_heure'];
-		ligne ("BEGIN:VEVENT");
-		ligne ("SUMMARY:$titre [$nom_site]");
-		ligne ("UID:breve$id_breve @ $adresse_site");
-				ligne ("DTSTAMP:".date_ical($date_heure));
-				ligne ("DTSTART:".date_ical($date_heure));
-				ligne ("DTEND:".date_ical($date_heure, 60));
-		ligne ("CATEGORIES:".filtrer_ical(_T('titre_breve_publiee')));
-		ligne("URL:$adresse_site/spip_redirect.php3?id_breve=$id_breve");
-		ligne("STATUS:CONFIRMED");
-		ligne ("END:VEVENT");
-	}
-	ligne ("END:VCALENDAR");
-}
-
-
 
 
 if ($id_utilisateur) {