Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#46 2008-07-22 15:42:08

papalozarou
Member
Registered: 2004-07-05
Posts: 45

Re: jmd_sitemap: Sitemap generator

agh – sorry my fault. No PHP 5, that will be why. Have got the other older plugin working for now (I think). Thanks for the reply though.

Offline

#47 2008-07-22 17:43:56

papalozarou
Member
Registered: 2004-07-05
Posts: 45

Re: jmd_sitemap: Sitemap generator

Actually, as I am on MT, I’ve just switched over to PHP 5 and it works, except I now get this error:

@Notice: Undefined variable: sticky in /textpattern/lib/txplib_misc.php(574) : eval()’d code on line 100

Notice: Undefined variable: sticky in /textpattern/lib/txplib_misc.php(574) : eval()’d code on line 101@

I’ve set sticky articles to yes and no and it still appears.

Last edited by papalozarou (2008-08-06 17:54:06)

Offline

#48 2008-07-22 17:48:15

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_sitemap: Sitemap generator

Oops, you must be running the unfinished version if you got it from /jmd_sitemap/jmd_sitemap.php. You want this one.

Offline

#49 2008-07-22 17:52:46

papalozarou
Member
Registered: 2004-07-05
Posts: 45

Re: jmd_sitemap: Sitemap generator

Thanks – all good now.

Offline

#50 2008-12-03 23:34:59

artagesw
Member
From: Seattle, WA
Registered: 2007-04-29
Posts: 227
Website

Re: jmd_sitemap: Sitemap generator

I had to make a small fix to this plugin to make it compatible with my multi-site patch.

Change function JMD_Sitemap::__construct() to the following:

public function __construct()
    {
        global $path_to_site;
        $this->filename = $path_to_site . '/sitemap.xml.gz';
    }

This way the code does not rely on the textpattern directory being nested inside the web root directory.

Offline

#51 2009-06-19 22:55:58

pompilos
Member
From: Spain
Registered: 2005-06-07
Posts: 114
Website

Re: jmd_sitemap: Sitemap generator

Hello, Jon.

I’ve got a problem with the “exclude section” feature. I want to throw out a section from the list of excluded sections, but I can’t achieve it, because there isn’t any buttom, or something like that, to select a section and to erase it. I don’t remember how I wrote the list, so that I don’t know how I could modificate it. Any idea?

Last edited by pompilos (2009-06-19 22:57:01)

Offline

#52 2009-06-19 23:02:02

pompilos
Member
From: Spain
Registered: 2005-06-07
Posts: 114
Website

Re: jmd_sitemap: Sitemap generator

Well, Jon. I finally realised how it is done: you select one or more sections and, then, you press the “Update sitemap” buttom, isn’t it? I find this “interface” isn’t very intuitive. Thanks anyway for your plugin. It works fine.

Last edited by pompilos (2009-06-19 23:02:37)

Offline

#53 2009-06-20 05:18:36

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_sitemap: Sitemap generator

pompilos wrote:

Hello, Jon.

Name == Jon-Michael

I’ve got a problem with the “exclude section” feature. I want to throw out a section from the list of excluded sections, but I can’t achieve it, because there isn’t any buttom, or something like that, to select a section and to erase it. I don’t remember how I wrote the list, so that I don’t know how I could modificate it. Any idea?

It’s a browser feature you use – Cmd-click (or Ctrl-click for Win/*nix) the section to exclude, even if there’s only one in the list.

Offline

#54 2014-12-16 15:45:34

admi
Member
From: BY
Registered: 2007-12-10
Posts: 145
Website

Re: jmd_sitemap: Sitemap generator

Sitemap automatically generated upon article creation and modification

Could not find anywhere how to enable the sitemape to get updated automatically without pushing the button.

Offline

#55 2014-12-16 15:51:36

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: jmd_sitemap: Sitemap generator

The plugin is from the pre-AJAXified time (Write panel). Maybe you better use Jukka’s rah_sitemap.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#56 2014-12-16 15:53:34

admi
Member
From: BY
Registered: 2007-12-10
Posts: 145
Website

Re: jmd_sitemap: Sitemap generator

uli wrote #286641:

The plugin is from the pre-AJAXified time (Write panel). Maybe you better use Jukka’s rah_sitemap.

Ok. I will consider that. I am used to it though.

Offline

Board footer

Powered by FluxBB