Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
I’m a little confused by this – does the plugin take the time from the server its on, or the time zone as set in the TXP prefs? Cos obviously it should be the latter, but I don’t think it is…
Any idea how we can mod the time function to get the actual time as it would be after modification as per the TXP time zone setting?
Offline
#50 2006-08-25 17:26:03
- zensir
- New Member
- Registered: 2006-04-17
- Posts: 7
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
i got this error when posting or changing prefs at s-sitemaps tab
Notice: Undefined index: section in /home/sinapsis/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 43
Notice: Undefined variable: Section in /home/sinapsis/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 44
my xml lokks like this:
<urlset xsi:schemaLocation=“http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd”>
−
<url>
<loc>http://www.sinapsisempresarial.com/</loc>
<changefreq>always</changefreq>
</url>
….
any sugestion?
Offline
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
This might be a bit off-topic, but I found that Google Sitemaps really screwed up my index with Google. I couldn’t figure out why my site wasn’t showing up in searches anymore. I deleted my sitemap from Google and now it’s beginning to show up again. This plug-in works fine, there’s just something weird going on with Sitemaps at Google. Searching around I found others with the same problem.
Bottom line, if you use their sitemap tool, regularly search for your site on Google using the site:www.yoursitehere.com search. Make sure you’re not dropping off their index.
Offline
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
could somebody compile this patched version so i can install it. http://forum.textpattern.com/viewtopic.php?pid=108134#p108134
it’s not formatted to install.
Last edited by LeeUmm (2006-10-19 21:18:48)
Offline
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
You can just install the original version and then edit it and replace the whole code with this version…
Offline
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
doh. didn’t even think of that.
thanks.
Offline
#55 2006-11-17 12:02:20
- playpiggy
- Member
- From: Changchun, China
- Registered: 2004-11-23
- Posts: 55
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
Can you update the plugin to support the new sitemaps.org? Thanks.
Welcome to the REAL World…
Offline
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
playpiggy, I have updated my change to this plugin to point to the sitemaps.org 0.9 schema validation.
I did not test yet if google sitemaps does accept it, so I suggest that you keep a copy of your original plugin code.
However, this is a direct download link:
edit: Sorry, file is not there anymore
Regards,
Geert Van Aken
Last edited by GeertAki (2008-01-08 13:38:16)
Offline
#57 2006-12-21 02:49:25
- playpiggy
- Member
- From: Changchun, China
- Registered: 2004-11-23
- Posts: 55
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
The plugin works well, and google accepts it.
Thank you, Geert.
Welcome to the REAL World…
Offline
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
Not sure if i’m doing something wrong, but i created the blank file (sitemap.xml.gz), gave it permission 666, installed and activated the plug-in, and nothing happens. When I browse to the sitemap file, i keep getting an error
“XML Parsing Error: no element found
Location: http://christopher-scott.org/sitemap.xml.gz
Line Number 1, Column 1:”
Aren’t I supposed to see a usual XML file?
EDIT: I’m a moron, if anyone else is having this problem, just press “go” under the extensions tab to generate your first sitemap.
Last edited by wazzupflow (2007-01-22 00:38:54)
Offline
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
Stupid question: how to use the asy_allowed
function? I don’t get the help in the comment lines above it.
For example, if I want to exclude the sections A, B, C and D, what the code would be?
Or to take that the other way around, what the code would be if I only want to include A, B, C and D, and no other sections?
I’ve tested several syntax, but I haven’t written PHP in many many years, I’m all rusted :( I’ve managed to do it work the way I want (only the sections I specify), but without an array the code looks ugly.
Last edited by Jeremie (2007-02-12 09:03:28)
Offline
Re: asy_sitemap: Google-Sitemap (as-is/for developers)
GeertAki wrote:
playpiggy, I have updated my change to this plugin to point to the sitemaps.org 0.9 schema validation.
I did not test yet if google sitemaps does accept it, so I suggest that you keep a copy of your original plugin code.
However, this is a direct download link:
http://altum.be/file_download/36
Does this mod of the plugin resolve the problems with the current version of the official asy_sitemap?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline