Author Topic: [module] Google sitemap.xml Generator  (Read 135970 times)

fischstäbchenbrenner

  • Guest
Re: [module] Google sitemap.xml Generator
« Reply #200 on: August 24, 2013, 04:29:16 PM »
there is a small issue with Topics:
in Line 415 the query should start:
Code:
Only registered users can see contents. Please click here to Register or Login.
`active` > '3': visible for all (active = 1 means: registered Users only)
`hascontent` > '1': There is a topic page. Usually the Title doesnt have a link, if there isnt at least some chars in the Long Content. For compatibility reasons the module generates a page, but there shouldnt be a link to this page, it only contains the short text, which is usually listed on the overview page at all.

fischstäbchenbrenner

  • Guest
Re: [module] Google sitemap.xml Generator
« Reply #201 on: August 24, 2013, 05:52:16 PM »
One more issue with Topics (I dont know, if this happens with other modules also)

I found a lot of missing entrys. If I deactivate this line (ca 441):
Code:
Only registered users can see contents. Please click here to Register or Login.the missing entrys appear.
I cannot find out the reason - the missing topics-entries are public.

For example: I have a topics with section_id 98 on a normal, public page, but section 98 is NOT in array 'public'.
section 51 (wysiwyg, same page_id) IS in array 'public'.
I cant find out why.
 
« Last Edit: August 24, 2013, 06:17:20 PM by fischstäbchenbrenner »

Offline Craxx

  • Posts: 239
Re: [module] Google sitemap.xml Generator
« Reply #202 on: October 06, 2013, 10:21:20 AM »
mhh is there a fix, because sitemap didn`t work....

best regards
Craxx ;-)
Craxx;)

Offline Ruud

  • WebsiteBaker Org e.V.
  • **
  • Posts: 3533
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #203 on: October 06, 2013, 03:25:05 PM »
there is a small issue with Topics:
Code:
Only registered users can see contents. Please click here to Register or Login.
Now fixed in 1.8.4

One more issue with Topics (I dont know, if this happens with other modules also)
I could not reproduce this at first, but suddenly I had the same problem with a bakery shop.
It happened when a page first gets a WYSIWYG (or other mod) and then a Bakery/topics/news section.
If the page is seen as "processed" the second section_id was was not added to the $public array.
Also fixed in version 1.8.4.

mhh is there a fix, because sitemap didn`t work....
Fixing something where the problem is not known is pretty difficult.
What do you see when you open the google_sitemap.php manually in your browser?
If there is an error you might need to view the source of the page to read the full error.

Offline minx3lle

  • Posts: 1
Re: [module] Google sitemap.xml Generator
« Reply #204 on: October 19, 2013, 01:14:30 AM »
 :-o thanks for the google sitemap!

URL removed
« Last Edit: October 19, 2013, 01:55:27 AM by DarkViper »

Online sky writer

  • Posts: 843
Re: [module] Google sitemap.xml Generator
« Reply #205 on: September 13, 2015, 10:21:09 PM »
When I download the 1.8.4 zip and unzip, I get a "Headers Error - Unconfirmed Start of Archive". 

The unzipped file cuts off after:
Code:
Only registered users can see contents. Please click here to Register or Login.
I'm getting the same error with 1.8.2 and 1.8.3???  Maybe it's something on my end.

It seems to be something that is happening to the file when it downloads.
I already had 1.7.0 downloaded and it unzipped fine.  But I just tried downloading 1.7.0 again, to a new folder, and when I unzip it, I get the Headers Error.

Anyone have any idea what might cause this?
« Last Edit: September 13, 2015, 10:33:45 PM by sky writer »

Offline jacobi22

  • Global Moderator
  • *****
  • Posts: 4374
  • Gender: Male
    • Jacobi22
Re: [module] Google sitemap.xml Generator
« Reply #206 on: September 13, 2015, 11:05:37 PM »
do you mean the single file google_sitemap.php?

if yes, try the attachement

and the attachements.... i think, the problem come's with the new forum software, i have the same problem in other foren too
« Last Edit: September 13, 2015, 11:24:34 PM by jacobi22 »
Und obwohl es so aussieht wie früher, alles gewohnt und so vertraut, ist doch alles anders, ist es irgendwie anders unter der Haut
Kuult - Unter der Haut

Online sky writer

  • Posts: 843
Re: [module] Google sitemap.xml Generator
« Reply #207 on: September 14, 2015, 12:02:10 AM »
Jacobi,

That attachment worked.  Thanks!

So, do you know what is causing this problem with the other attachments?  Is there a way to get around this problem?

Offline jacobi22

  • Global Moderator
  • *****
  • Posts: 4374
  • Gender: Male
    • Jacobi22
Re: [module] Google sitemap.xml Generator
« Reply #208 on: September 14, 2015, 11:14:20 AM »
Quote
do you know what is causing this problem with the other attachments?

not realy  :roll:
maybe a header-problem, but i dont know
Und obwohl es so aussieht wie früher, alles gewohnt und so vertraut, ist doch alles anders, ist es irgendwie anders unter der Haut
Kuult - Unter der Haut

Offline Ruud

  • WebsiteBaker Org e.V.
  • **
  • Posts: 3533
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #209 on: September 14, 2015, 11:41:16 AM »
I found the 1.8.4 version with the last bugfixes too.. :-)


Offline jacobi22

  • Global Moderator
  • *****
  • Posts: 4374
  • Gender: Male
    • Jacobi22
Re: [module] Google sitemap.xml Generator
« Reply #210 on: September 15, 2015, 01:28:10 PM »
 (Y)
Und obwohl es so aussieht wie früher, alles gewohnt und so vertraut, ist doch alles anders, ist es irgendwie anders unter der Haut
Kuult - Unter der Haut

Online sky writer

  • Posts: 843
Re: [module] Google sitemap.xml Generator
« Reply #211 on: September 15, 2015, 03:26:16 PM »
Thank you both.

Offline Ruud

  • WebsiteBaker Org e.V.
  • **
  • Posts: 3533
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #212 on: February 10, 2016, 04:16:40 PM »
Just published a new google_sitemap.php that supports the oneforall module. (version 1.8.5)
http://www.dev4me.nl/modules-snippets/opensource/google-sitemap-xml/

See also: http://forum.WebsiteBaker.org/index.php/topic,27896.msg203171.html#msg203171

Offline dbs

  • Betatester
  • **
  • Posts: 6893
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: [module] Google sitemap.xml Generator
« Reply #213 on: February 10, 2016, 04:48:14 PM »
Hi Ruud,

the new sitemap is tested and works very good for me with module oneforall!  (Y)
Have three renamed versions of oneforall and all of them (if visibility is public) will displayed incl. there detail-pages.

Great job! THANKS!

Frank

Offline dbs

  • Betatester
  • **
  • Posts: 6893
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: [module] Google sitemap.xml Generator
« Reply #214 on: February 12, 2016, 09:53:27 PM »
Hi, the second file makes the sitemap very pretty.
But if your WB is installed in a subfolder the file will not found. Maybe a WB_URL in the path would be a good idea.

Offline Ruud

  • WebsiteBaker Org e.V.
  • **
  • Posts: 3533
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #215 on: February 12, 2016, 11:01:04 PM »
But if your WB is installed in a subfolder the file will not found. Maybe a WB_URL in the path would be a good idea.

You are right, I never use the WB root in a subfolder, so I did not think about that.  8-)
The quick-fix would be to just remove the / in the href on line 251:
Code:
Only registered users can see contents. Please click here to Register or Login.It will be fixed in the next version.

Online sky writer

  • Posts: 843
Re: [module] Google sitemap.xml Generator
« Reply #216 on: February 15, 2016, 03:43:46 AM »
Great work, Ruud.  Thank you.

Just wondering if it would be worth mentioning the shorturl setting in the notes.  I used your sitemap files on a site without shorturl and all links were 404 not found.
lines 84-86
Code:
Only registered users can see contents. Please click here to Register or Login.
Switching to false of course was all it took, but some might not be aware.
Code:
Only registered users can see contents. Please click here to Register or Login.

Offline Ruud

  • WebsiteBaker Org e.V.
  • **
  • Posts: 3533
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #217 on: February 15, 2016, 10:35:54 AM »
Code:
Only registered users can see contents. Please click here to Register or Login.
Ahh, that should not be on by default.
Uploaded a version 1.8.6 with $shorturl set to false.

Online sky writer

  • Posts: 843
Re: [module] Google sitemap.xml Generator
« Reply #218 on: February 15, 2016, 04:51:33 PM »
Code:
Only registered users can see contents. Please click here to Register or Login.
Ahh, that should not be on by default.
Uploaded a version 1.8.6 with $shorturl set to false.

Your comment says for us with shorturl V3.  Is it also for use with shorturl V4, or does V4 handle things differently?

Offline Ruud

  • WebsiteBaker Org e.V.
  • **
  • Posts: 3533
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: [module] Google sitemap.xml Generator
« Reply #219 on: February 15, 2016, 05:41:09 PM »
Your comment says for us with shorturl V3.  Is it also for use with shorturl V4, or does V4 handle things differently?
No V3 and V4 are using the same url's