prefix . "posts"; /* Setting default values for the settings */ if (get_option('gsxml_hp')) { $home_p = get_option('gsxml_hp'); } else { $home_p = 0.5;} if (get_option('gsxml_hf')) { $home_f = get_option('gsxml_hf'); } else { $home_f = 'weekly';} if (get_option('gsxml_gp')) { $other_p = get_option('gsxml_gp'); } else { $other_p = 0.5;} if (get_option('gsxml_gf')) { $other_f = get_option('gsxml_gf'); } else { $other_f = 'weekly';} $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); $xmlcontent = ''."\n"; $xmlcontent .= ''."\n"; $xmlcontent .= " ".get_option( 'siteurl' )."/ ".date('Y-m-d')." ".$home_f." ".$home_p." \n"; 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." ".$other_f." ".$other_p." \n"; } $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.

Homepage parameters

Priority Frequency

General parameters

Priority Frequency

'; } if ( is_admin() ){ add_action('admin_menu', 'gsxml_menu_link'); } function activate_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', 'generate_xmlsitemap' ); add_action ( 'publish_post', 'generate_xmlsitemap' ); add_action ( 'publish_page', 'generate_xmlsitemap' ); add_action ( 'trashed_post', 'generate_xmlsitemap' ); ?> DHIRA Sound System » 2007 » February

DHIRA Sound System

Web oficial del proyecto DHIRA Sound System

Gira Usa aplazada hasta despues de verano

dhira2.jpgDhira ha aplazado su gira en USA prevista para el mes de Abril, hasta despues de verano, o finales de año. El motivo de este retraso es la grabación de su nuevo disco y la posterior gira promocional en España y Europa.
Pronto tendreis mas noticias de esta segunda etapa de Dhira.

Entrevista de DHira en Canal Cuatro

Aquí teneis la entrevista que Cuatrosfera hizo a Dhira el pasado 28 de Enero de 2006. Esperamos que os guste
Ver entrevista de Dhira