Correzioni sitemap
This commit is contained in:
+5
-5
@@ -17,7 +17,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>'."\n".
|
||||
|
||||
// URL della home page
|
||||
echo "<url>";
|
||||
echo "<loc>$baseurl/index.php"."</loc>";
|
||||
echo "<loc>{$baseurl}index.php"."</loc>";
|
||||
echo "<changefreq>hourly</changefreq>";
|
||||
echo "<priority>1</priority>";
|
||||
echo "</url>";
|
||||
@@ -26,7 +26,7 @@ echo "</url>";
|
||||
foreach (NotiziaModel::$NOTIZIE_CATEGORY as $category=>$data){
|
||||
if(($data["mainMenu"]) && !$data["hidden"]){
|
||||
echo "<url>";
|
||||
echo "<loc>$baseurl/categorySummary.php?category=".$category."</loc>";
|
||||
echo "<loc>{$baseurl}categorySummary.php?category=".$category."</loc>";
|
||||
echo "<changefreq>hourly</changefreq>";
|
||||
echo "<priority>1</priority>";
|
||||
echo "</url>";
|
||||
@@ -37,8 +37,8 @@ foreach (NotiziaModel::$NOTIZIE_CATEGORY as $category=>$data){
|
||||
foreach(NotiziaModel::$NOTIZIE_CATEGORY as $category=>$data){
|
||||
if(!$data["mainMenu"] && !$data["hidden"]){
|
||||
echo "<url>";
|
||||
echo "<loc>$baseurl/categorySummary.php?category=".$category."</loc>";
|
||||
echo "<changefreq>yearly</changefreq>";
|
||||
echo "<loc>{$baseurl}categorySummary.php?category=".$category."</loc>";
|
||||
echo "<changefreq>hourly</changefreq>";
|
||||
echo "<priority>0.7</priority>";
|
||||
echo "</url>";
|
||||
}
|
||||
@@ -52,7 +52,7 @@ $latestNews = GlobalVariables::get("dao")->query("NotiziaModel",
|
||||
if (sizeof($latestArticles)>0){
|
||||
foreach ($latestArticles as $article){
|
||||
echo "<url>";
|
||||
echo "<loc>$baseurl/articolo.php?id=".$article->id."</loc>";
|
||||
echo "<loc>{$baseurl}articolo.php?id=".$article->id."</loc>";
|
||||
echo "<changefreq>monthly</changefreq>";
|
||||
echo "<priority>0.3</priority>";
|
||||
echo "</url>";
|
||||
|
||||
Reference in New Issue
Block a user