Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2008-10-20 09:42:41

Gallex
Member
Registered: 2006-10-08
Posts: 1,148

Re: rah_sitemap

Gocom wrote:

Gallex, affraidly your server is too outdated – it doesn’t support PHP date functions “c” format :/
To fix this, update to PHP 5.x.x+. :)

i excluded articles from sitemap. now google should be “happy”

Offline

#12 2008-10-21 10:48:55

Gallex
Member
Registered: 2006-10-08
Posts: 1,148

Re: rah_sitemap

Gocom wrote:

Could you check your lastmod times via phpmyadmin or manually via Textpattern.

if i change modified articles to posted articles (via reset time to now…), could this make a difference? :) or it’s just a outdated server case?

Server specs?

in all servers that using php ver. 5- ,your plugin not working 100%, correct?

Offline

#13 2008-10-21 15:36:37

Gocom
Plugin Author
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

Gallex wrote:

if i change modified articles to posted articles (via reset time to now…), could this make a difference?

It won’t update PHP’s date() function, so no, it doesn’t make any difference.

in all servers that using php ver. 5- ,your plugin not working 100%, correct?

Yep, rah_sitemap’s minimum requirement to work correctly is PHP5+ (plus PHP4-series is really old btw and php5 was released almost a century ago :D ).

More explanations:

Last edited by Gocom (2008-10-21 15:41:29)

Offline

#14 2008-10-21 16:24:48

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: rah_sitemap

Hi Jukka. Just trying your plug-in out and spotted something you might take a look at. If you leave the option to “Exclude all category URLs” un-checked the reulting sitemap includes URLs to ALL categories including links, images and files. Any way to filter those so that only article categories are listed?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#15 2008-10-21 18:14:24

Gocom
Plugin Author
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

thebombsite wrote:

Any way to filter those so that only article categories are listed?

Check categories that you don’t want there :)

All categories are shown defaulty because some of us might use file/image categories directly to show files or images. I could add option to exclude categories based on the type too.

Last edited by Gocom (2008-10-21 18:16:47)

Offline

#16 2008-10-21 20:51:07

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: rah_sitemap

But the other categories aren’t being listed in the Extensions tab, only article categories, so I can’t exclude them otherwise I wouldn’t be asking the question. ;)
All I can do at the moment is exclude all category URLs.

Last edited by thebombsite (2008-10-21 20:52:30)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#17 2008-10-21 21:53:36

Gocom
Plugin Author
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

thebombsite wrote:

But the other categories aren’t being listed in the Extensions tab, only article categories, so I can’t exclude them otherwise I wouldn’t be asking the question. ;)
All I can do at the moment is exclude all category URLs.

Thanks for reporting. Brain missmatch while writing code. Currently fixing and adding new features. Release in hour or two :)

Offline

#18 2008-10-21 22:04:51

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: rah_sitemap

Thanks Jukka. Unlike you I go to bed at night so I shall pick it up tomorrow. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#19 2008-10-21 23:00:51

Gocom
Plugin Author
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

Updated rah_sitemap to new version 0.2. Changelog:

  • Added option to exclude/include sticky articles.
  • Added option to exclude categories directly by type.
  • Fixed bug: now shows all categories, and not only article-type, in admin panel.
  • Fixed bug: removed douple install query (didn’t do a thing, just checked table status twice).

Download and more info

Offline

#20 2008-10-22 05:48:43

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,362
Website

Re: rah_sitemap

Hi Jukka,

Experimenting with your plugin and looks like it is working just fine, thanks.

My only request would be to provide the option in the “Add custom URL” for urls outside the txp install, that is addresses which may reside a level above – or outside – the install. At the moment it only allows you to add urls which reside within that directory.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

Board footer

Powered by FluxBB