Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 06:50:12 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 ... 3 4 [5] 6 7 8   Go Down
Print
Author Topic: [module] Google sitemap.xml Generator  (Read 59685 times)
spawnferkel

Offline Offline

Posts: 95



« Reply #100 on: November 02, 2007, 07:42:47 AM »

Hi.
Yes, you are right this feature would become a great improvement.
Logged
axima

Offline Offline

Posts: 3


« Reply #101 on: November 11, 2007, 07:34:49 PM »

Hi,
here is the updated file. It now includes news links.

Installation is the same extract it in the  root of your WB. Smiley

Please report if you have any other issues.

Thank you.
Logged
Eki

Offline Offline

Posts: 108



WWW
« Reply #102 on: November 11, 2007, 08:47:44 PM »

This is great!

However, the lastmod item of the news articles in the xml contains not the real date. All dates are 1970-01-01.

I am not sure if this is related to my own installation or if others seem to have the same issue.

regards,
Erik
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #103 on: November 12, 2007, 06:12:37 AM »

@ EKI

wich version of the news modul did you use? The builtin or the advanced from the addons page?

@Axima

Did your snippet work with the builtin (standard) version of the newsmodul and also with the advanced version? Between this versions ar differences in the way the date is stored in the database.

Matthias
Logged
axima

Offline Offline

Posts: 3


« Reply #104 on: November 12, 2007, 11:59:55 AM »

Hi,

I have updated the snippet.
It should work now both with standard and advanced news modules.

Thank you for your feedback.

Logged
Eki

Offline Offline

Posts: 108



WWW
« Reply #105 on: November 12, 2007, 07:56:10 PM »

Great !!!

Working well now..thanks a lot.

regards,
Erik
Logged
lanesharon

Offline Offline

Posts: 47


WWW
« Reply #106 on: December 21, 2007, 01:26:34 AM »

I have some website pages (non WB pages) in my website.  One of them is:
http://www.greenvalleyweb.com/weather-forecast/index.php?forecast=zandh&alt=fast&pands=green+valley%2C+az

This google sitemap gives me an error:
Quote
A semi colon character was expected. Error processing resource 'http://www.greenvalleyweb.com/google_sitemap.php'. Line 18...

I used Opera to get a better idea of what is going on and got:
Quote
XML parsing failed: syntax error (Line: 18, Character: 82)

Reparse document as HTML
Error:well-formedness constraint: entity declared
Specification:http://www.w3.org/TR/REC-xml/#wf-entdeclared

Quote
15:             <priority>1.0</priority>
 16:            </url>
 17:                               <url>
 18:             <loc>http://www.greenvalleyweb.com/weather-forecast/index.php?forecast=zandh&alt=fast&pands=green+valley%2C+az</loc>
 19:             <lastmod>2007-11-29</lastmod>
 20:             <priority>1.0</priority>
 21:            </url>

Would you know if there is any workaround I can do to use this google sitemap?

« Last Edit: December 21, 2007, 01:35:00 AM by lanesharon » Logged

Take Care,  Sharon
lisigef

Offline Offline

Posts: 3


« Reply #107 on: June 12, 2008, 12:47:38 PM »

Does this work with 2.7? I can't seem to install it.
Logged
vanbemmel

Offline Offline

Posts: 22


« Reply #108 on: June 12, 2008, 04:39:59 PM »

Me neither.

When i try to install no "installed" message is given and the module is not installed.
Logged
albatros

Offline Offline

Posts: 673


WWW
« Reply #109 on: June 12, 2008, 05:51:26 PM »

Hi,

you don´t need to install anything. Simply copy the php-file to the root of your website and it works like a charm. Even with 2.7 .

Regards

Uwe
Logged
jar

Offline Offline

Posts: 62


« Reply #110 on: June 18, 2008, 04:59:33 PM »

Warning: require(/home/tusirom1/public_html/temp/unzip/info.php) [function.require]: failed to open stream: No such file or directory in /home/tusirom1/public_html/admin/modules/install.php on line 61

Fatal error: require() [function.require]: Failed opening required '/home/tusirom1/public_html/temp/unzip/info.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tusirom1/public_html/admin/modules/install.php on line 61
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7660



WWW
« Reply #111 on: June 19, 2008, 06:50:54 AM »

Hello,

please before posting try searching the forum. A search from "install.php on line 61" should give a few results.

The issue is a wrong zipped module.

Matthias
Logged
freeSbee

Offline Offline

Posts: 729


WWW
« Reply #112 on: June 20, 2008, 10:03:05 AM »


Hi,

I have added the support for the module Bakery.
It now works with both standard and advanced News modules as well as Bakery.

Christoph

DOWNLOAD REMOVED
Please download this one (changed priority to 0.5):
http://www.websitebaker2.org/forum/index.php?action=dlattach;topic=1751.0;attach=2117

« Last Edit: June 26, 2008, 08:26:36 AM by freeSbee » Logged
mike108

Offline Offline

Posts: 10


« Reply #113 on: June 24, 2008, 12:57:52 PM »

Hi

i am getting warnings on my sitemap saying that all the pages should not be the same priority

ther message give is:

All the URLs in your Sitemap have the same priority.
All the URLs in your Sitemap are set to the same priority (not the default priority). Priority indicates the importance of a particular URL relative to other URLs on your site, and doesn't impact your site's performance in search results. If all URLs have the same priority, Google can't tell which are more important

thanks
Mike
Logged
kct-networx

Offline Offline

Posts: 17


« Reply #114 on: June 24, 2008, 02:05:18 PM »

Hi,

i got the same message today!

Here is an example (unfortunately in German only):

Quote
Alle URLs in Ihrer XML-Sitemap haben die gleiche Priorität.
Allen URLs in Ihrer XML-Sitemap wurde die gleiche Priorität zugewiesen, und zwar nicht die Standardpriorität. Die Priorität gibt die relative Wichtigkeit einer bestimmten URL im Vergleich zu den anderen URLs auf Ihrer Website an. Sie hat keinen Einfluss auf die Leistung Ihrer Website in Suchergebnissen. Besitzen alle URLs die gleiche Priorität, kann Google nicht feststellen, welche wichtiger sind

I think this is new, because it's the first time i see this warning!

Regards,
Markus

EDIT: Mike posted the English version above...
« Last Edit: June 24, 2008, 02:07:00 PM by kct-networx » Logged
freeSbee

Offline Offline

Posts: 729


WWW
« Reply #115 on: June 24, 2008, 06:56:01 PM »


@Mike and @Markus

Try to change the priority value to 0.5 instead of 1.0.
Look in the google_sitemap.php file for the code below (3 times)
   <priority>1.0</priority>
and change it to
   <priority>0.5</priority>

Christoph
« Last Edit: June 26, 2008, 08:23:43 AM by freeSbee » Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2093



WWW
« Reply #116 on: June 28, 2008, 10:32:30 PM »

I tried this succesfully:

In the while loop
Code:
             
$pri = '0.5';
if ($page['parent'] == 0) {
  if ($page['position'] == 1) {
    $pri = '1.0';
  }
}

and next

Code:
<priority><?php echo $pri?></priority>

This makes your homepage priority 1.0

For the rest you can use values like 0.9 for news and 0.8 for bakery.
Google is happy as long as not all priority is the same value.

Ruud
« Last Edit: June 28, 2008, 10:35:16 PM by RuudE » Logged

Professional WebsiteBaker Developer
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2093



WWW
« Reply #117 on: June 30, 2008, 04:18:41 PM »

I worked a bit further on the tip I gave in the last post and created a new version (v 1.2)

This version has a lot of improvements.

1. It now reports normal pages, News posts, Bakery pages and Catalog pages, including different priorities.

Normal pages are set priority 1.0 for the homepage, priority 0.6 for all root level pages and priority 0.5 for all other pages.
News posts are set to 0.7 when the post is created in the last 4 weeks. Older posts will get 0.5.
Bakery and Catalog pages will get priority 0.5.
All priorities are configurable in the PHP file. (Your priorites might be different from mine)

2. News posts in WB2.7 (autodetected) will report the published_when date instead of the create date (only if it is used). Pages that are not currently published are not included in the sitemap.

3. The change frequency node is now implemented. Per type it is configurable in daily/weekly/monthly etc..

For all that think the above is too technical: just put the google_sitemap.php file in your root folder and tell "Google for webmasters" where it is. It should work fine with default settings.

Enjoy it,

Ruud



« Last Edit: June 30, 2008, 04:29:46 PM by RuudE » Logged

Professional WebsiteBaker Developer
albatros

Offline Offline

Posts: 673


WWW
« Reply #118 on: June 30, 2008, 11:31:53 PM »

It should work fine with default settings.

Yes, it does!

Thank you very much RuudE!!!

Regards

Uwe
Logged
Stefan

Offline Offline

Posts: 1


« Reply #119 on: July 04, 2008, 11:31:50 AM »

Hello together,

where can I find the download of this modul now ?

Best Regards

Stefan
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2093



WWW
« Reply #120 on: July 04, 2008, 12:12:20 PM »

where can I find the download of this modul now ?

It is attached two post above yours.

Ruud
Logged

Professional WebsiteBaker Developer
SkySurfer

Offline Offline

Posts: 6


« Reply #121 on: July 13, 2008, 11:49:35 AM »

Hi @all

what´s wrong here:

Code:
XML-Verarbeitungsfehler: nicht wohlgeformt
Adresse: http://www.bo-rox.de/google_sitemap.php
Zeile Nr. 47, Spalte 91:    <loc>http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn?input=Bobenheim%238001032&boardType=dep&time=actual&productsDefault=1111101&start=yes</loc>
-------------------------------------------------------------------------------------------------^

cu SkySurfer
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2093



WWW
« Reply #122 on: July 13, 2008, 01:23:10 PM »

what´s wrong here:

2 problems,

1. External links should not be in your sitemap, they are not on your website.
2. Parameters of the url should be html encoded.

I fixed both problems in this version (v 1.21)

Cheers,

Ruud
Logged

Professional WebsiteBaker Developer
SkySurfer

Offline Offline

Posts: 6


« Reply #123 on: July 13, 2008, 02:15:22 PM »

Hi,

thx great and fast work  smiley

cu Skysurfer
Logged
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2093



WWW
« Reply #124 on: July 13, 2008, 02:21:21 PM »

Yr welcome,

Thnx for debugging  cool

Ruud
Logged

Professional WebsiteBaker Developer
Pages: 1 ... 3 4 [5] 6 7 8   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!