Jump to content

Download: XML Sitemap Generator Task v1.0.5


stoo2000

Recommended Posts

looking at topicsitemap.xml I can see that the listed URLs has this format:

<?xml version="1.0" encoding="utf-8"?>

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <url>

    <loc>http://tabee3i.com/index.php?showtopic=1882</loc>

    <lastmod>2009-11-25T22:53:38+00:00</lastmod>

    <changefreq>hourly</changefreq>

    <priority>0.5</priority>

  </url>

  <url>

    <loc>http://tabee3i.com/index.php?showtopic=1881</loc>

    <lastmod>2009-11-25T22:03:06+00:00</lastmod>

    <changefreq>daily</changefreq>

    <priority>0.5</priority>

  </url>

  <url>
Link to comment

[quote name='stoo2000' date='26 November 2009 - 12:42 PM' timestamp='1259239369' post='1882599']
Just as a quick note, your forumsitemap.xml.gz shows the old style urls, and the following code is used for generating the urls.




is there a hope? :unsure:

ipsRegistry::getClass('output')->buildSEOUrl( $this->settings['board_url'] . '/index.php?showtopic=' . $r['tid'], 'none', $r['title_seo'], 'showtopic' )
Link to comment

[quote name='stoo2000' date='26 November 2009 - 12:56 PM' timestamp='1259240185' post='1882605']
There's always a hope :)

If IP.Board can handle the language in FURLS, then the task should be able to, since it uses internal functions.

I'll update the thread if I have any updated for you.


great, thank you :thumbsup:

Link to comment

It's looking like it is a bug in IPB 3.0.4, I've filed a bug report in the tracker (http://community.invisionpower.com/tracker/issue-19824-buildseourl-broken-in-tasks/).

It may be an idea to disable the task running automatically for now and run it manually every couple of days. Not ideal I know.

Link to comment

Invision Power Board 3.0.4 Bugfix
To fix the above mentioned bug in 3.0.4 where FURLS are not generated automatically, follow these instructions.

In admin/sources/base/ipsRegistry.php in function _fUrlInit() remove the following


1190		if ( IPS_IS_TASK === TRUE || IPS_IS_AJAX === TRUE )

1191		{

1192			return;

1193		}

Link to comment
  • 2 weeks later...

Hi Stoo,

I am using it a forum which has not been launched yet. I have followed the instruction complete. My Forum uses 3.0.5 and the latest SItemap generator of yours.

Problem : Though the task runs successfully and sitemaps timestap changes the content is really not changing. It still contains formats like http://localhost/ipb2/topicsitemap.xml which you should have added it initially when developing it. All the Sitemap files are chmod 777.

Can you please suggest.

Regards,
Ashish

Link to comment

Hey Stoo,

I was about to upate you. I just saw the time stamp is not changing only for XML file and yes the data is there in .xml.gz files.

Now My question is if its not changing it why is it there? Will it be updating XML files If I disable gzip mode ?

Secondly Why not update both ? Thanks for the update.

Regards,
Ashish

Link to comment

Hi Ashish.

Both sets of files (.xml & .xml.gz) are included to make it easier to setup. If you disable GZIP the .xml files will be used, if you have GZIP enabled, .xml.gz will be used, if you are using GZIP you can remove the .xml files if you wish.

Only one set of files need updating, ideally that would be the .xml.gz ones since they will use less bandwidth when search engines are reading them. the .xml files are used if GZIP isn't supported by the web server.

Stuart

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...