can't submit to google sitemap ... getting 'error'
10 posts
• Page 1 of 1
can't submit to google sitemap ... getting 'error'
when i submit the xml sitemap ... i get back an error ...
Unsupported file format
when i click on my own link in the preferences ... i get the message below:
Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:http://myhealth.ca/components/com_xmap/gss.xsl
can anyone help??? what do i need to do?
Unsupported file format
when i click on my own link in the preferences ... i get the message below:
Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:http://myhealth.ca/components/com_xmap/gss.xsl
can anyone help??? what do i need to do?
Last edited by mskiby on Thu Jan 01, 1970 12:00 am, edited 65535 times in total.
Reason: 1
Reason: 1
- mskiby
- Fresh Boarder

- Posts: 9
- Joined: Tue Oct 16, 2007 7:32 pm
Re:can't submit to google sitemap ... getting 'error'
Hi mskiby, for some reason your web server isn't returning a valid mimetype for xsl files.
If you enter to the following url you can see how should it looks like!
http://joomla.vargas.co.cr/components/com_xmap/gss.xsl
And yours is:
http://myhealth.ca/components/com_xmap/gss.xsl
If you enter to the following url you can see how should it looks like!
http://joomla.vargas.co.cr/components/com_xmap/gss.xsl
And yours is:
http://myhealth.ca/components/com_xmap/gss.xsl
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re:can't submit to google sitemap ... getting 'err
so does anyone know what is causing this?
any suggestions on fixing it?
any suggestions on fixing it?
- mskiby
- Fresh Boarder

- Posts: 9
- Joined: Tue Oct 16, 2007 7:32 pm
Re:can't submit to google sitemap ... getting 'err
Well, here is a workaround for this:
Edit the file xmap.xml.php and delete the next line:
[code:de6f37e3]
echo '<?xml-stylesheet type="text/xsl" href="'. $mosConfig_live_site.'/components/com_xmap/gss.xsl"?>'."
";
[/code:de6f37e3]
With that, you should be able to view your google sitemap with the browser.
You can also try to submit your sitemap to google again.
Regards
Edit the file xmap.xml.php and delete the next line:
[code:de6f37e3]
echo '<?xml-stylesheet type="text/xsl" href="'. $mosConfig_live_site.'/components/com_xmap/gss.xsl"?>'."
";
[/code:de6f37e3]
With that, you should be able to view your google sitemap with the browser.
You can also try to submit your sitemap to google again.
Regards
Last edited by guilleva on Thu Jan 01, 1970 12:00 am, edited 65535 times in total.
Reason: 1
Reason: 1
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re:can't submit to google sitemap ... getting 'err
i dont see that line in the file you mentioned ...
this is what i have ...
browserNav) )
$node->browserNav = 0;
if( !isset($node->priority) )
$node->priority = $priority;
if( !isset($node->changefreq) )
$node->changefreq= $changefreq;
if ( $node->browserNav != 3 // ignore "no link"
&& !$is_extern // ignore external links
&& !in_array($link, $_xmap_xml_added) ) { // ignore links that have been added already
$count++;
$_xmap_xml_added[] = $link;
$out .= "
";
$out .= "". $link ."
"; // http://complete-url
$timestamp = (isset($node->modified) && $node->modified != FALSE && $node->modified != -1) ? $node->modified : time();
$modified = gmdate('Y-m-dTH:i:s', $timestamp); // ISO 8601 yyyy-mm-ddThh:mm:ss.sTZD
$out .= "{$modified}
";
$out .= "".$node->changefreq."
"; // valid: always, hourly, daily, weekly, monthly, yearly, never
$out .= "".$node->priority."
"; // valid: 0.0 - 1.0
$out .= "
";
}
if( isset($node->tree) ) {
$out .= XmapXML::getList( $node->tree,$priority,$changefreq,$count );
}
}
return $out;
}
/** Print a XML Sitemaps representation of tree */
function printTree( &$xmap,&$sitemap, &$root ) {
global $mosConfig_live_site;
@ob_end_clean();
$GLOBALS['_xmap_xml_added'] = array();
echo ''."
";
echo ''."
";
echo ''."
";
$tmp = array();
$count=0;
foreach( $root as $menu ) { // concatenate all menu-trees
echo XmapXML::getList( $menu->tree, $menu->priority,$menu->changefreq,$count );
}
echo "
";
return $count;
}
function escapeURL($str) {
static $xTrans;
if (!isset($xTrans)) {
$xTrans = get_html_translation_table(HTML_ENTITIES, ENT_QUOTES);
foreach ($xTrans as $key => $value)
$xTrans[$key] = '&#'.ord($key).';';
// dont translate the '&' in case it is part of &xxx;
$xTrans[chr(38)] = '&';
}
return preg_replace("/&(?![A-Za-z]{0,4}w{2,3};|#[0-9]{2,4};)/","&" , strtr($str, $xTrans));
}
}
this is what i have ...
browserNav) )
$node->browserNav = 0;
if( !isset($node->priority) )
$node->priority = $priority;
if( !isset($node->changefreq) )
$node->changefreq= $changefreq;
if ( $node->browserNav != 3 // ignore "no link"
&& !$is_extern // ignore external links
&& !in_array($link, $_xmap_xml_added) ) { // ignore links that have been added already
$count++;
$_xmap_xml_added[] = $link;
$out .= "
";
$out .= "". $link ."
"; // http://complete-url
$timestamp = (isset($node->modified) && $node->modified != FALSE && $node->modified != -1) ? $node->modified : time();
$modified = gmdate('Y-m-dTH:i:s', $timestamp); // ISO 8601 yyyy-mm-ddThh:mm:ss.sTZD
$out .= "{$modified}
";
$out .= "".$node->changefreq."
"; // valid: always, hourly, daily, weekly, monthly, yearly, never
$out .= "".$node->priority."
"; // valid: 0.0 - 1.0
$out .= "
";
}
if( isset($node->tree) ) {
$out .= XmapXML::getList( $node->tree,$priority,$changefreq,$count );
}
}
return $out;
}
/** Print a XML Sitemaps representation of tree */
function printTree( &$xmap,&$sitemap, &$root ) {
global $mosConfig_live_site;
@ob_end_clean();
$GLOBALS['_xmap_xml_added'] = array();
echo ''."
";
echo ''."
";
echo ''."
";
$tmp = array();
$count=0;
foreach( $root as $menu ) { // concatenate all menu-trees
echo XmapXML::getList( $menu->tree, $menu->priority,$menu->changefreq,$count );
}
echo "
";
return $count;
}
function escapeURL($str) {
static $xTrans;
if (!isset($xTrans)) {
$xTrans = get_html_translation_table(HTML_ENTITIES, ENT_QUOTES);
foreach ($xTrans as $key => $value)
$xTrans[$key] = '&#'.ord($key).';';
// dont translate the '&' in case it is part of &xxx;
$xTrans[chr(38)] = '&';
}
return preg_replace("/&(?![A-Za-z]{0,4}w{2,3};|#[0-9]{2,4};)/","&" , strtr($str, $xTrans));
}
}
- mskiby
- Fresh Boarder

- Posts: 9
- Joined: Tue Oct 16, 2007 7:32 pm
Re:can't submit to google sitemap ... getting 'err
I am having this exact same problem. Same error, also do not have the referenced information in the php file.
- ranieri71
- Fresh Boarder

- Posts: 2
- Joined: Thu Dec 13, 2007 11:28 pm
Re:can't submit to google sitemap ... getting 'err
my problem turned out it was simply not working in firefox, it worked in IE and submitted to google without any issues.
- ranieri71
- Fresh Boarder

- Posts: 2
- Joined: Thu Dec 13, 2007 11:28 pm
Re:can't submit to google sitemap ... getting 'err
Hi, thanks for reporting that, is still anybody having this problem with google?
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re:can't submit to google sitemap ... getting 'err
Dear All,
Even i am facing the same problem. I have submitted the link of my sitemap in google webmaster tools, however it is showing me an error. I would like to request you to please help me sort this problem.
Please find the attached image for reference.
Regards,
Abhinay Desai
www.trendzmatter.com
Even i am facing the same problem. I have submitted the link of my sitemap in google webmaster tools, however it is showing me an error. I would like to request you to please help me sort this problem.
Please find the attached image for reference.
Regards,
Abhinay Desai
www.trendzmatter.com
Last edited by abhinay on Thu Jan 01, 1970 12:00 am, edited 65535 times in total.
Reason: 1
Reason: 1
- abhinay
- Fresh Boarder

- Posts: 4
- Joined: Fri Jan 04, 2008 3:16 am
Re:can't submit to google sitemap ... getting 'err
Hi, I have noticed almost all of your urls have spaces and some have special chars within them. This isn't a good seo practice. Maybe you can edit your article title aliases replacing the spaces with a dash "-" for example and removing spacial characters like ! and ?
Joomla 1.5 uses the alias to generate the friendly url
Joomla 1.5 uses the alias to generate the friendly url
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot], Google Adsense [Bot] and 3 guests