Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2008-05-30 18:55:03
- crowleyr
- Member
- From: Tallinn
- Registered: 2006-04-04
- Posts: 27
Re: jmd_sitemap: Sitemap generator
I have installed the plugin, created sitemap.xml.gz and chmoded to 666.
when I go to Google Webmaster tools should I specify /sitemap.xml.gz OR sitemap.xml
i tried the latter and an error was returned..
cheers,
rc
Offline
Re: jmd_sitemap: Sitemap generator
sitemap.xml.gz, since that’s what you created.
Offline
#15 2008-05-30 19:48:56
- crowleyr
- Member
- From: Tallinn
- Registered: 2006-04-04
- Posts: 27
Re: jmd_sitemap: Sitemap generator
thanks Jon !
Offline
#16 2008-06-02 05:52:29
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: jmd_sitemap: Sitemap generator
This is great stuff — something I’ve been hoping to see for a while. Thanks!
Offline
#17 2008-06-05 06:30:09
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: jmd_sitemap: Sitemap generator
All
I’ve made some changes to Jon-Michael’s excellent plugin so that it supports the MLP Pack and have sent the source to Jon-Michael in case he wants to adopt the changes into his code-base.
In the meantime, if anyone is interested in helping me test out the MLP version, you can get the compressed file here. As it’s based on jmd_sitemap 0.1.1 it needs Textpattern 4.0.6 and PHP5+. It should work with or without the MLP pack.
It adds these features…
- Generate a sitemap of your MLP site.. including all non-excluded sections in each language; and every rendition in non-excluded sections (as originally proposed by codesweeper here.)
- Easily translate the strings used in jmd_sitemap’s own admin interface.
Please report any problems via my contact page.
Last edited by net-carver (2008-06-05 06:31:25)
— Steve
Offline
Re: jmd_sitemap: Sitemap generator
> you just “turn on” PHP 5 with a line in a .htaccess file.
I finally found the solution on the ISP help pages. And then I asked myself ‘what the heck do I need PHP5 for’. And here we go…
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: jmd_sitemap: Sitemap generator
net-carver wrote:
I’ve made some changes to Jon-Michael’s excellent plugin so that it supports the MLP Pack and have sent the source to Jon-Michael in case he wants to adopt the changes into his code-base.
Hi net-carver,
thanks for this mod (and jm, thanks to you too, for the original one). I’m trying the MLP-compatible mod and it seems to work fine :)
I have just one problem: sticky articles (from non-excluded sections) aren’t included on the sitemap.
I’m not sure if this is related to the original jmd_sitemap (which I haven’t tested) or your modified version.
I can find some reasons to have sticky articles included on the sitemap. For example, in a site where each article is a product, I usually publish each product as an sticky article, and I would like them to be included on the sitemap.
Offline
#20 2008-06-07 17:19:47
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: jmd_sitemap: Sitemap generator
maniqui
Hello there. I think that’s the original code. Try editing the plugin and changing this…
$articles = getRows(
"select $fields from " .
safe_pfx('textpattern') .
" where Status = 4 and section not in($notIn)"
);
…to this…
$articles = getRows(
"select $fields from " .
safe_pfx('textpattern') .
" where Status >= 4 and section not in($notIn)"
);
That should allow you to quickly generate a map including all the sticky notes.
— Steve
Offline
Re: jmd_sitemap: Sitemap generator
Yep maniqui – that’s in the original code. I’ll add a sticky option in the next version.
0.1.2 is up – it prevents future-dated articles from appearing in the sitemap.
Offline
#22 2008-06-07 20:36:50
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: jmd_sitemap: Sitemap generator
Thank you for this plugin, jm! Would it be very hard to implement the option to include a section, but to exclude the articles in it? To clarify: I have section pages that are just article lists, there are no individual article pages for these sections. When using Sencer’s plugin, I first used to remove the articles from the xml file manually, but it was a lot of work because with every new article a new sitemap is created, and sometimes I forgot and found Google indexing non-existing pages :(
But never mind if this is not possible or too much work: I can always keep using my current workaround: exclude those sections and add them manually :)
Offline
Re: jmd_sitemap: Sitemap generator
I know I’m asking for something super specific… but any way this could be made to work with gpb_permanent_links- that is have the urls in the sitemap correspond to the permalink rules in gpb_p_l?
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
Re: jmd_sitemap: Sitemap generator
^^ +1
I was about to ask the same.
Offline