Google Sitemap Tool for phpwcms?
Google Sitemap Tool for phpwcms?
Ich suche nach einem Sitemap.xml Tool für PHPWcms.
SCNR:
Hallo - Grüss Gott - Bitte - Danke - Auf Wiedersehen ... gehört nicht nur mir allein, auch andere dürfen es benutzen
OnTopic:
Hallo,
ich bin mit diesem "Windows-Tool" recht zufrieden.
GS-SiteCrawler : http://johannesmueller.com/gs/
cu, juergen
Hallo - Grüss Gott - Bitte - Danke - Auf Wiedersehen ... gehört nicht nur mir allein, auch andere dürfen es benutzen
OnTopic:
Hallo,
ich bin mit diesem "Windows-Tool" recht zufrieden.
GS-SiteCrawler : http://johannesmueller.com/gs/
cu, juergen
- Oliver Georgi
- Site Admin
- Posts: 9907
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Moin,
ich hab - bis sich jemand mal die Arbeit macht - das Onlinetool unter http://www.xml-sitemaps.com/ genommen und die Datei dann angepasst. Ist erstmal ein guter Start, finde ich.
Auch meine Erfahrungen mit den Sitemaps sind gut, alle URLs im Format /index.php?aliasname wurden prima übernommen.
volkman
ich hab - bis sich jemand mal die Arbeit macht - das Onlinetool unter http://www.xml-sitemaps.com/ genommen und die Datei dann angepasst. Ist erstmal ein guter Start, finde ich.
Auch meine Erfahrungen mit den Sitemaps sind gut, alle URLs im Format /index.php?aliasname wurden prima übernommen.
volkman
Google sitemap for phpwcms
OK, now! I am not a programmer so feel free to fix, clean up, change the names of variables, functions etc. Here is my hack to make a file containing Google sitemap xml data.
As it is based on RSSWriter (edmundd, slackero, and others) then it only outputs articles but it's a start if anyone would like to add the ability to output structure levels then it would be great.
As I haven't upgraded a long time then I can only verify that this works with "Release 1.1-RC4 27-08-2004" but the changes for newer versions, if any, shouldn't be to complicated.
On this page you can find a zip file that contains sitemap.php and sitemap.inc.php. Put the sitemap.php in your root directory and sitemap.inc.php in include/inc_ext/googlesitemap/ (you need to create it). Change the values in sitemap.php to fit your needs:
"changefreq" => htmlspecialchars("weekly"),
"priority" => htmlspecialchars("0.8")
and the same in sitemap.inc.php:
print " <changefreq>daily</changefreq>\n";
print " <priority>1.0</priority>\n";
Well, that's about it. Submit to Google Sitemaps. If you find any problems with the code please fix them and let us know.
You can see the Google sitemap generated by this code here: Sevenline Google sitemap.
As it is based on RSSWriter (edmundd, slackero, and others) then it only outputs articles but it's a start if anyone would like to add the ability to output structure levels then it would be great.
As I haven't upgraded a long time then I can only verify that this works with "Release 1.1-RC4 27-08-2004" but the changes for newer versions, if any, shouldn't be to complicated.
On this page you can find a zip file that contains sitemap.php and sitemap.inc.php. Put the sitemap.php in your root directory and sitemap.inc.php in include/inc_ext/googlesitemap/ (you need to create it). Change the values in sitemap.php to fit your needs:
"changefreq" => htmlspecialchars("weekly"),
"priority" => htmlspecialchars("0.8")
and the same in sitemap.inc.php:
print " <changefreq>daily</changefreq>\n";
print " <priority>1.0</priority>\n";
Well, that's about it. Submit to Google Sitemaps. If you find any problems with the code please fix them and let us know.
You can see the Google sitemap generated by this code here: Sevenline Google sitemap.
oh just noticed that the urls it outputs are not regular urls (id=0,article_id,0,0,1,0) so if anyone can fix that it would be great. what needs to be done is to change the row 69 in sitemap.php so that it outputs regular article link (id=cat_id,article_id,0,0,1,0).
---
fixed!
Still it would be great if it would work as a sitemap feature in {SITEMAP} where you can output either structure or structure with articles.
one other thing: cuurently it lists the creation date of the article it should be replaced with last modified
---
fixed!
Still it would be great if it would work as a sitemap feature in {SITEMAP} where you can output either structure or structure with articles.
one other thing: cuurently it lists the creation date of the article it should be replaced with last modified