'."\n"; $xmlcontent .= ''."\n"; $xmlcontent .= " ".get_option( 'siteurl' )."/ ".date('Y-m-d').""; // verify that priority + change frequency have been enabled if ($gsxml_pri_freq == 'Enable') { $xmlcontent .= "".$home_f." ".$home_p.""; } $xmlcontent .= "\n"; // Query for the posts $table_name = $wpdb->prefix . "posts"; $query = "SELECT year(post_modified) AS y, month(post_modified) AS m, day(post_modified) AS d, ID,post_title, post_modified,post_name, post_type, post_parent FROM $table_name WHERE post_status = 'publish' AND (post_type = 'page' OR post_type = 'post') ORDER BY post_date DESC"; $myrows = $wpdb->get_results($query); foreach ($myrows as $myrow) { $permalink = utf8_encode($myrow->post_name); $type = $myrow->post_type; $date = $myrow->y."-"; if ($myrow->m < 10) { $date .= "0".$myrow->m."-"; } else { $date .= $myrow->m."-"; } if ($myrow->d < 10) { $date .= "0".$myrow->d; } else { $date .= $myrow->d; } $id = $myrow->ID; //$url = get_option( 'siteurl' )."/?p=".$id; $url = get_permalink($id); $xmlcontent .= " ".$url." ".$date.""; // verify that priority + change frequency have been enabled if ($gsxml_pri_freq == 'Enable') { $xmlcontent .= "".$other_f." ".$other_p.""; } $xmlcontent .= "\n"; } // If categories have been enabled, include them in the XML if ($gsxml_cat == 'Include') { // Prepare the SQL query $table_terms = $wpdb->prefix . "terms"; $table_taxonomy = $wpdb->prefix . "term_taxonomy"; $query = "SELECT $table_terms.term_id, $table_taxonomy.taxonomy FROM $table_terms, $table_taxonomy WHERE ($table_terms.term_id = $table_taxonomy.term_id AND $table_taxonomy.taxonomy = 'category') "; $mycats = $wpdb->get_results($query); // Output each category link with the date being when it $date = date('Y-m-d'); foreach ($mycats as $mycat) { $xmlcontent .= " ".get_category_link( $mycat->term_id )." ".$date.""; // verify that priority + change frequency have been enabled if ($gsxml_pri_freq == 'Enable') { $xmlcontent .= "".$other_f." ".$other_p.""; } $xmlcontent .= "\n"; } } // If tags have been enabled, include them in the XML if ($gsxml_tag == 'Include') { // Prepare the SQL query $table_terms = $wpdb->prefix . "terms"; $table_taxonomy = $wpdb->prefix . "term_taxonomy"; $query = "SELECT $table_terms.term_id, $table_taxonomy.taxonomy FROM $table_terms, $table_taxonomy WHERE ($table_terms.term_id = $table_taxonomy.term_id AND $table_taxonomy.taxonomy = 'post_tag') "; $mytags = $wpdb->get_results($query); // Output each category link with the date being when it $date = date('Y-m-d'); foreach ($mytags as $mytag) { $xmlcontent .= " ".get_tag_link( $mytag->term_id )." ".$date.""; // verify that priority + change frequency have been enabled if ($gsxml_pri_freq == 'Enable') { $xmlcontent .= "".$other_f." ".$other_p.""; } $xmlcontent .= "\n"; } } // end of the XML sitemap $xmlcontent .= ''."\n"; return $xmlcontent; } /* Creates an admin link */ function gsxml_menu_link() { if (function_exists('add_options_page')) { $gsxml_page = add_options_page('Google Sitemap XML', 'Google Sitemap XML', 'administrator', basename(__FILE__), 'gsxml_settings'); } } /* Admin setting page */ function gsxml_settings() { if (get_option('gsxml_store') == "1") { $path = WP_PLUGIN_URL.'/simple-google-sitemap-xml/sitemap.xml'; } elseif (get_option('gsxml_store') == "2") { $path = get_option( 'siteurl' ).'/sitemap.xml'; } else { $path = WP_PLUGIN_URL.'/simple-google-sitemap-xml/sitemap.xml'; } ?>

Google Sitemap XML

by iTx Technologies

Your XML Sitemap

This is the absolute URL of your XML sitemap. You can copy/paste it in Google Webmaster Tools which greatly increases the speed at which Google indexes your website.

The XML sitemap is automatically regenerated when you publish or delete a new post/page.

Where do you want to store your XML file ?
Your XML absolute URL:

Parameters

You can slightly tweak your XML sitemap as described in the Sitemaps XML Protocol.

The following parameters will be applied to the global XML sitemap. In other words, you cannot choose different parameters for each and every post/page, except the homepage.

Attributes

Do you want to disable the priority and the change frequency attributes ? It is set to disabled by default.
If the attributes are enabled, you can set them here :

Homepage parameters

Priority Frequency

General parameters

Priority Frequency

Categories and Tags

Simple Google Sitemap XML nows lets you include the categories and tags of your website into your generated sitemap.xml.
Simply choose which of them (or both) you want to include below :

Categories:   

Tags:   

'; } if ( is_admin() ){ add_action('admin_menu', 'gsxml_menu_link'); } function activate_gsxml () { gsxml_generate_xmlsitemap(); } //register_activation_hook(WP_PLUGIN_DIR.'/simple-google-sitemap-xml/simple-google-sitemap-xml.php', 'generate_xmlsitemap'); register_activation_hook(WP_PLUGIN_DIR.'/simple-google-sitemap-xml/simple-google-sitemap-xml.php','activate_gsxml'); add_action ( 'activate_plugin', 'gsxml_generate_xmlsitemap' ); add_action ( 'publish_post', 'gsxml_generate_xmlsitemap' ); add_action ( 'publish_page', 'gsxml_generate_xmlsitemap' ); add_action ( 'trashed_post', 'gsxml_generate_xmlsitemap' ); ?> Suor Maria Celeste, un angelo custode per Galileo » Firenze Informa

Suor Maria Celeste, un angelo custode per Galileo

Arriva in edicola il numero di novembre di Firenze Informa, il mensile di storia, tradizioni e cultura dedicato a Firenze e alla Toscana: 86 pagine tutte a colori, in nuovo grande formato, che ripercorrono eventi e personaggi che hanno fatto grande la città del Giglio.

In questo nuovo numero faremo luce sulla controversa storia di Alessandro Pavolini, il delicato e colto letterato fiorentino protagonista di una vera e propria discesa all’inferno, che lo porterà dai salotti letterari di Firenze alla Guerra d’Etiopia. Un’esperienza che lo cambierà per sempre, trasformandolo nell’irriducibile gerarca al servizio del Regime Fascista, che servirà con cieca obbedienza fino alla fine, una fine che troverà insieme a Mussolini a Dongo, fucilato dai Partigiani.

Andremo poi alla scoperta della vita della Contessa Lara, la grandissima poetessa dell’ultimo scorcio di Ottocento, vittima innocente dell’amore, dal quale finì con l’essere sopraffatta, in un’esistenza tormentata tra letteratura, amanti, duelli e destinata a concludersi tragicamente. E un’altra donna eccezionale, Suor Maria Celeste, al secolo Virginia Galilei, rinnoverà l’appuntamento con la rubrica ‘Regine di Fiori’. Racconteremo del rapporto difficile, ma pieno di devozione, che legò Virginia al padre Galileo, scienziato tanto grande quanto bisognoso dell’affetto e del sostegno sincero della figlia, a lui vicina nei momenti esaltanti delle scoperte come in quelli difficili del processo e dell’abiura.

Tre storie diverse sotto il cielo della Toscana, per un numero di Firenze Informa davvero imperdibile, arricchito da ben 28 pagine di curiosità illustrazioni e foto e in vendita in tutte le edicole a soli 3,90 euro.