Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#121 2008-04-01 18:52:40

kevinpotts
Member
From: Ghost Coast
Registered: 2004-12-07
Posts: 370

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

I haven’t used webmaster tools in a few years, but doesn’t it let you point to a sitemap? Seems that would eliminate the need for any kind of pinging mechanism.

Yes. If you set up an account with Webmaster Tools and register your sitemap (all free, of course), Google regularly checks it for updates and even gives you a nice suite of info about errors and missing content. Good stuff. There is no need to ping Google regularly.


Kevin
(graphicpush)

Offline

#122 2008-04-02 05:09:54

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Ouch. Nice feature would be – auto-add path to sitemapx.xml.gz in the file robots.txt :)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#123 2008-04-30 13:50:08

flatazor
New Member
Registered: 2007-05-02
Posts: 5

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Hi guys,

Thanks for this much-needed development on the plug-in!

Support for the Multi-Lingual Pack would be a really nice thing to have (see codesweeper’s post above.)
I first created my sitemap without any support for it, and obviously Google wouldn’t follow any of the URLs (URL rewriting is used to specify the language used: eg. domain.com/en/section/post). In my experience, if Google can’t follow just one URL, if will discard the whole sitemap, making the whole thing somewhat pointless!

Cheers

Offline

#124 2008-04-30 18:30:20

kevinpotts
Member
From: Ghost Coast
Registered: 2004-12-07
Posts: 370

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

flatazor: I agree. Support for MLP would be sweet indeed. Maybe not in the initial release, but definitely on the roadmap somewhere.


Kevin
(graphicpush)

Offline

#125 2008-05-06 15:02:38

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

I just installed this plugin on my site and I have a question.

I took a look at sitemap.xml and all my links begin with https… probably because my textpattern directory is https://site/textpattern

Is there a way to force it to normal http during the creation of the sitemap?

Offline

#126 2008-05-06 19:53:29

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

> Is there a way to force it to normal http during the creation of the sitemap?

The simple answer is ‘No’.

Looking into the code I see that frontpage and section pages are created with leading http:.
But for single articles $url = permlinkurl($article); is used.

So you have to develop your own string replacement or cut the permalink at the left and add http:.
Read about string ltrim ( string $str [, string $charlist ] ) in the PHP documentation.

Somebody offering a little help with this PHP routine?


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#127 2008-05-17 00:19:19

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

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Sorry for the inactivity – I got bogged down with school. I think I’ll have a version to test out tonight. Edit: Done! I just need to clean it up a little, then it should be ready for testing.

typeshige – around line 203:

			$out = str_replace('https://', 'http://', $out);
			$tmp = gzwrite($file,$out);

Last edited by jm (2008-05-17 08:07:00)

Offline

#128 2008-05-17 14:00:12

typeshige
Member
From: USA
Registered: 2005-08-11
Posts: 151
Website

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

@jm: Thank you thank you!!!!

Offline

#129 2008-05-17 15:46:15

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

I have came across this sitemap plugin for Wordpress. Would it be possible for anyone to create a a similar plugin for Textpattern?


<txp:Ruhh />

Offline

#130 2008-05-18 08:53:11

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

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

Hey all – care to test jmd_sitemap?

Ruhh, you can create a non-XML sitemap using a combination of article_custom and if_different. This should get you started.

Last edited by jm (2008-05-18 08:56:14)

Offline

#131 2008-06-23 02:29:43

donkeyd
New Member
Registered: 2008-06-22
Posts: 5

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

hi i installed this plugin and it doesnt appear to be working….

i get nothing in the extentions tab and nothing in the dropdown box.

did i miss a step somewhere?

the plugin is installed and switched on..

thanks in advance

Offline

#132 2008-06-23 04:56:55

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: asy_sitemap: Google-Sitemap (as-is/for developers)

donkeyd wrote:

hi i installed this plugin and it doesnt appear to be working….

If you are talking about asy_sitemap then please try jmd_sitemap instead — it’s an updated version of asy_sitemap.

If you are talking about jmd_sitemap then I’ll John-Michael handle your question :)

PS> Welcome to the textpattern forum donkeyd!

Last edited by net-carver (2008-06-23 04:59:30)


Steve

Offline

Board footer

Powered by FluxBB