Problem: GYM_TOO_FEW_ITEMS in /forum-announces.xml.gz

The GYM Sitemaps & RSS module for phpBB. Sitemaps and RSS feeds for Google Yahoo! and MSN Live, support, add ons etc ...

Moderator: Moderators

Problem: GYM_TOO_FEW_ITEMS in /forum-announces.xml.gz

Postby claudioweb » Mon Dec 22, 2008 10:58 pm

Hi I am Claudioweb from Italy.

I have a problem only with forum announces sitemaps

-www.example.com/forum/forum-announces.xml.gz


GYM_TOO_FEW_ITEMS

The server did not find any page corresponding to the URL you have used.


Other sitemaps are good.

Can you help me?
claudioweb
 
Posts: 7
Joined: Tue Apr 01, 2008 11:22 pm

Advertisement

Postby dcz » Tue Dec 23, 2008 8:59 am

Does the link shows up in the sitemapindex ?
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby claudioweb » Tue Dec 23, 2008 12:17 pm

dcz wrote:Does the link shows up in the sitemapindex ?
Yes, is the first of links in sitemapindex.xml.gz... :?
claudioweb
 
Posts: 7
Joined: Tue Apr 01, 2008 11:22 pm

Postby SeO » Tue Dec 23, 2008 1:02 pm

Are you using the last version (currently 2.0.RC3) ?
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby claudioweb » Tue Dec 23, 2008 4:55 pm

SeO wrote:Are you using the last version (currently 2.0.RC3) ?
Yes the problem start after update from 3.0.3 to 3.0.4 and to 2.0.RC3 of gym.

Error is reported in Google Webmaster Tools
claudioweb
 
Posts: 7
Joined: Tue Apr 01, 2008 11:22 pm

Postby SeO » Thu Dec 25, 2008 3:43 pm

All right, in gym_sitemaps/includes/gym_google.php, replace :
Code: Select all
      if ( $this->output_data['url_sofar'] < $this->google_config['google_threshold'] ) {

with :
Code: Select all
      if ( empty($this->output_data['url_sofar']) ) {


Should be enough ;)
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby claudioweb » Sun Dec 28, 2008 7:38 pm

Thanks :wink:

But now Google Webmaster Tools show 2 Warnings for forum/forum-announces.xml.gz :(

All the URLs in your Sitemap have the same priority.
All the URLs in your Sitemap are set to the same priority (not the default priority). Priority indicates the importance of a particular URL relative to other URLs on your site, and doesn't impact your site's performance in search results. If all URLs have the same priority, Google can't tell which are more important.


All the URLs in your Sitemap are marked as having dynamic content.
All the URLs in your Sitemap are marked as having dynamic content (the value of is "always"). Because dynamic content is difficult for search engines to crawl and index, this may impact your site's performance in search results. Check your Sitemap to make sure your site information is correct.


This is content of forum-announces.xml.gz[/quote]:

Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
   http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
   xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!-- Generated by Google Yahoo MSN Sitemaps and RSS 2.0.RC1 - © 2006, 2007, 2008 www.phpBB-SEO.com -->

   <url>
      <loc>http://www.example.com/forum/</loc>
      <lastmod>2008-12-28T19:38:49+00:00</lastmod>
      <changefreq>always</changefreq>
      <priority>1.0</priority>

   </url>
</urlset>

<!-- URL list generated in  0.01131 s ( Mem Usage : 152.19 Kb ) - 5 sql - 1 URLs listed -->



It is strange that in the forum there are 4 announces, but they are not listed in sitemaps.
claudioweb
 
Posts: 7
Joined: Tue Apr 01, 2008 11:22 pm

Postby philippe » Mon Dec 29, 2008 11:03 am

I have exactly the same problem on www.forum-scirocco.fr :!:

http://www.forum-scirocco.fr/forum-announces.xml.gz

Some announces available : http://www.forum-scirocco.fr/maps/forum/announce/ but not listed in the sitemap
Philippe
Webmaster du forum de Portail New Beetle | special-t
philippe
phpBB SEO Team
phpBB SEO Team
 
Posts: 601
Joined: Fri Jun 23, 2006 12:00 pm
Location: Région Parisienne

Postby evert » Fri Jan 02, 2009 2:48 pm

SeO wrote:All right, in gym_sitemaps/includes/gym_google.php, replace :
Code: Select all
      if ( $this->output_data['url_sofar'] < $this->google_config['google_threshold'] ) {

with :
Code: Select all
      if ( empty($this->output_data['url_sofar']) ) {


Should be enough ;)


Thanks :)

That fixed it for me: http://forums.meulie.net/forum-announces.xml
User avatar
evert
 
Posts: 2
Joined: Fri Dec 19, 2008 1:19 pm

Postby claudioweb » Fri Jan 02, 2009 3:10 pm

evert wrote:
SeO wrote:All right, in gym_sitemaps/includes/gym_google.php, replace :
Code: Select all
      if ( $this->output_data['url_sofar'] < $this->google_config['google_threshold'] ) {

with :
Code: Select all
      if ( empty($this->output_data['url_sofar']) ) {


Should be enough ;)


Thanks :)

That fixed it for me: http://forums.meulie.net/forum-announces.xml


The maps don't contain the forum annunces list, but only index.
claudioweb
 
Posts: 7
Joined: Tue Apr 01, 2008 11:22 pm

Postby evert » Fri Jan 02, 2009 4:34 pm

claudioweb wrote:
evert wrote:
SeO wrote:All right, in gym_sitemaps/includes/gym_google.php, replace :
Code: Select all
      if ( $this->output_data['url_sofar'] < $this->google_config['google_threshold'] ) {

with :
Code: Select all
      if ( empty($this->output_data['url_sofar']) ) {


Should be enough ;)


Thanks :)

That fixed it for me: http://forums.meulie.net/forum-announces.xml


The maps don't contain the forum annunces list, but only index.


Wasn't that the whole point of the fix? At least I no longer have errors in Google Webmaster Tools... 8)
User avatar
evert
 
Posts: 2
Joined: Fri Dec 19, 2008 1:19 pm

Postby SeO » Sun Jan 04, 2009 9:47 am

Yes, with that fix, the announce sitemap is only shown on the sitemapindex if there is at least one global announce.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm


Return to GYM Sitemaps & RSS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Google Adsense [Bot] and 18 guests