Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2008-07-01 09:59:20

sipke
Member
From: In a Galaxy far far away...
Registered: 2004-06-15
Posts: 16
Website

Re: jmd_sitemap: Sitemap generator

jm wrote:

sipke – do you get any errors at all?

———
No, I wonder if something should happen when I press the button at the extension tab, maybe some affirmation or such? Nothing happens here when I press that button.

I have some ideas though, as I had asy_sitemap installed when I installed jmd_sitemap, and somehow asy just disappeared from the plugin list and from the extension tab aswell. I tried uninstall jmd_sitemap, in order to remove asy, but it doesn’t appear in the plugin list. Do you think it interferes with the jmd in the background? But how I could remove a plugin which I don’t even see in the plugin list? —— Meantime I checked the txp_plugin table in the database through phpmyadmin, and asy_sitemap is not there, is it possible that jmd_sitemap took over it?

Any help is appreciated, many thanks :)

Offline

#32 2008-07-01 10:10:10

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

Re: jmd_sitemap: Sitemap generator

When you click “Update sitemap,” you should see “Sitemap updated” to the left of the “Content” tab.

If you have asy_sitemap installed, then it probably is interfering when you save an article. But if asy_sitemap isn’t in the txp_plugin table, then it is not installed. jmd_sitemap doesn’t do anything to existing plugins – it only adds and updates its database records. If you’re unable to install jmd_sitemap, just drop the record from txp_plugin.

Offline

#33 2008-07-01 10:44:40

sipke
Member
From: In a Galaxy far far away...
Registered: 2004-06-15
Posts: 16
Website

Re: jmd_sitemap: Sitemap generator

Jon, thanks for the answers.

I have removed jmd_sitemap and reinstalled, created a blank sitemap.xml.gz, but the manual update from the Extension tab doesn’t seem to work for me, no message to the left of the Content tab when I press “Update Sitemap” :(
The plugin is working when I create/update an article, it generates the sitemap well, just I cannot use its best function – the section exclude :)

My installed and active plugins are: zem_contact_reborn-4.0.3.20, zem_contact_lang-4.0.3.6, wet_quicklink-0.4.5, wet_peex-0.3, pap_contact_cleaner-0.1, chh_if_data-0.10, lam_browse_by-0.1, lam_image_uploader-0.6c, jmd_sitemap-0.1.2, ajw_if_comment_owner-0.3.1, cab_social-0.2, Postmaster-0.4.4, Postmaster Library-0.2.3, smd_lib-0.32, smd_slimbox-0.3, ako_social-0.4, mem_akismet-0.1m

What else can cause this non-working?

Many thanks for the help in advance :)
———————————————————————————————————————————-

UPDATE: I think it’s funny, as the problem solved by using Firefox. It seems IE7 somehow neglects that button at the Extension tab…. Mystery solved I think. :)

Last edited by sipke (2008-07-01 10:52:52)

Offline

#34 2008-07-01 11:13:56

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

Re: jmd_sitemap: Sitemap generator

UPDATE: I think it’s funny, as the problem solved by using Firefox. It seems IE7 somehow neglects that button at the Extension tab…. Mystery solved I think. :)

Oops – I forgot IE doesn’t use “type=submit” as the default value buttons. If you want to fix it for IE until the next update, find this line:

        echo form($out . tag('Update sitemap', 'button') .

and replace it with:

        echo form($out . tag('Update sitemap', 'button', ' type="submit"') .

Offline

#35 2008-07-01 11:27:28

sipke
Member
From: In a Galaxy far far away...
Registered: 2004-06-15
Posts: 16
Website

Re: jmd_sitemap: Sitemap generator

Many thanks for the fix Jon, I think I will update it with Firefox until the next official update of the plugin comes out :)

Many thanks for your help again :)

Offline

#36 2008-07-06 14:31:16

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: jmd_sitemap: Sitemap generator

Did the MLP changes get included in the official one yet?

Offline

#37 2008-07-07 00:54:25

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

Re: jmd_sitemap: Sitemap generator

Not yet (it would be in the changelog).

Offline

#38 2008-07-21 09:34:47

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: jmd_sitemap: Sitemap generator

Does this plugin work with gbp_permanent_links?

I mean will the links be output in the correct way?

Offline

#39 2008-07-21 18:15:52

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

Re: jmd_sitemap: Sitemap generator

Again, features and changelog and previous posts. I’m holding off on adding support for gbp_permanent_links because it’s being updated sometime in the near future.

Offline

#40 2008-07-21 18:57:47

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: jmd_sitemap: Sitemap generator

Thanks Jon-Michael, this was something I always wanted to implement!
I created the sitemap.xml.gz file and the plugin is happy. However when trying to validate the sitemap, I get this error:

XML Parsing Error: no element found
Location: http://www.w3.org/2001/03/webdata/xsv?docAddrs=http%3A%2F%2Fdomainname.com%2Fsitemap.xml.gz&warnings=on&style=xsl
Line Number 1, Column 1:
^

What does that mean? Is that because it’s gzipped?

Cheers Martin

Offline

#41 2008-07-21 19:11:15

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

Re: jmd_sitemap: Sitemap generator

It could be – I haven’t tried that validator before.

  1. Did you click “update sitemap” or post or edit an article before validating?
  2. Have you tried validating with Google Webmaster Tools?

Offline

#42 2008-07-21 19:25:57

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: jmd_sitemap: Sitemap generator

  1. yes, I updated the sitemap.
  2. no, I think one needs an account, but I’ll try when I get a chance.

On a related note, I opted to link the sitemap in the robots.txt, which looks like this now:

User-agent: *
sitemap: http://domainname.com/sitemap.xml.gz
Disallow:

Does that look OK?

Thanks JM!

Offline

#43 2008-07-22 07:11:53

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

Re: jmd_sitemap: Sitemap generator

Strange – could you send me a copy of the sitemap XML? You can replace the domain with example.com if needed too. It doesn’t matter if it’s gzip’ed either.

According to the protocol, you don’t need it inside the User-agent block. I think “sitemap” (not the path) is case-insensitive, so you should be good.

Offline

#44 2008-07-22 13:21:11

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

Re: jmd_sitemap: Sitemap generator

This was working fine for me on my dev environment, but now I’m live, I get the following error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /path/to/textpattern/lib/txplib_misc.php(574) : eval()'d code on line 128 The above errors were caused by the plugin:jmd_sitemap

Offline

#45 2008-07-22 15:38:34

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

Re: jmd_sitemap: Sitemap generator

papalozarou – are you sure you have PHP 5 installed on the live server?

all – use a validator that recognizes gzip’ed sitemaps or gunzip the sitemap and validate the XML file (thanks masa).

Offline

Board footer

Powered by FluxBB