Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 07:17:44 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 ... 3 4 5 6 [7]   Go Down
  Print  
Author Topic: Google sitemaps  (Read 71711 times)
0 Members and 1 Guest are viewing this topic.
Drahus
Coppermine newbie

Gender: Male
Slovakia Slovakia

Posts: 5


WWW
« Reply #120 on: April 26, 2009, 08:08:28 pm »

Ive found a workaround if any one interested in importing their xml in to their normal site sitemap.xml...

Hi,
is it better to use this mod for the gallery with an another sitemap generator for the further parts of my site,
or
to use GSiteCrawler for the whole site including CPG?

I think, it would be much better and comfortable to use only GSiteCrawler, but this program generates sitemap of about 70 000 sites (it takes hours and hours of crowling and is still not finished...) from my not very big website ( http://www.dc-foto.com/gallery/ ). 

Thank you for your opinions and advice,

Drahus
Logged

Photographer
Phill Luckhurst
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 1454


WWW
« Reply #121 on: April 26, 2009, 08:21:08 pm »

Have I got something configred incorrectly here Mr Nibbler Sir? When I try and generate a sitemap all I get is the following on a gallery with over 4000 images.

Code:
<?xml version="1.0" ?>
- <!-- Generated Sun, 26 Apr 2009 20:22:22 +0100 in 0 seconds.
  -->
- <urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
- <url>
  <loc>http://www.windsurf.me.uk/cpg133/</loc>
  <priority>1.0</priority>
  </url>
- <url>
  <loc>http://www.windsurf.me.uk/cpg133/index.php?cat=1</loc>
  </url>
- <url>
  <loc>http://www.windsurf.me.uk/cpg133/index.php?cat=3</loc>
  </url>
- <url>
  <loc>http://www.windsurf.me.uk/cpg133/index.php?cat=5</loc>
  </url>
  </urlset>

http://www.windsurf.me.uk/cpg133/sitemap.php
Logged

It is a mistake to think you can solve any major problems just with potatoes.
Nibbler Topic starter
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19445



WWW
« Reply #122 on: April 26, 2009, 08:34:23 pm »

Hi,
is it better to use this mod for the gallery with an another sitemap generator for the further parts of my site,
or
to use GSiteCrawler for the whole site including CPG?

I think, it would be much better and comfortable to use only GSiteCrawler, but this program generates sitemap of about 70 000 sites (it takes hours and hours of crowling and is still not finished...) from my not very big website ( http://www.dc-foto.com/gallery/ ). 

Thank you for your opinions and advice,

Drahus

I'd advise using this since it 'knows' Coppermine and won't create the duplicate links that your screenshot shows. Also, this script doesn't do any crawling as the links are generated automatically.

Have I got something configred incorrectly here Mr Nibbler Sir? When I try and generate a sitemap all I get is the following on a gallery with over 4000 images.

Code:
<?xml version="1.0" ?>
- <!-- Generated Sun, 26 Apr 2009 20:22:22 +0100 in 0 seconds.
  -->
- <urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
- <url>
  <loc>http://www.windsurf.me.uk/cpg133/</loc>
  <priority>1.0</priority>
  </url>
- <url>
  <loc>http://www.windsurf.me.uk/cpg133/index.php?cat=1</loc>
  </url>
- <url>
  <loc>http://www.windsurf.me.uk/cpg133/index.php?cat=3</loc>
  </url>
- <url>
  <loc>http://www.windsurf.me.uk/cpg133/index.php?cat=5</loc>
  </url>
  </urlset>

http://www.windsurf.me.uk/cpg133/sitemap.php


Try changing

Code:
ISNULL(alb_password)

to

Code:
(ISNULL(alb_password) OR alb_password = '')
Logged

I don't care about what they say, I won't live or die that way.
Phill Luckhurst
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 1454


WWW
« Reply #123 on: April 26, 2009, 08:48:38 pm »

Cheers Nibbler, worked a treat. Grin

I missed that on page 5  Embarrassed
« Last Edit: April 26, 2009, 09:04:10 pm by Phill Luckhurst » Logged

It is a mistake to think you can solve any major problems just with potatoes.
robindengate
Coppermine newbie

United Kingdom United Kingdom

Posts: 8


WWW
« Reply #124 on: September 04, 2009, 03:32:39 pm »

Hi,

Making it work on galleries with no category.

I don't think this has been covered, I've just scanned through all the earlier replies and didn't see anything.

Anyway, after reading the much earlier post about changing " all $cid by cat=0 ", I had a go at this (not PHP savvy, myself) as I was having this problem.

I found it wasn't quite that simple, and initially got a few errors, so needed to make different changes in different lines, but the idea is basically OK and I got it working and my sitemaps are fine.

Here is my updated file (simple version - as mentioned before the original file names seem to be intersposed):

RD

Logged

RD

"Hard work never killed anybody, but why take a chance?" -Edgar Bergen
papukaija
Contributor
***
Posts: 32


« Reply #125 on: September 06, 2009, 12:23:31 pm »

Here is my updated file (simple version - as mentioned before the original file names seem to be intersposed):
For some reason the generated xml file is throwing a xml parsing error (or syntax) in Firefox:
"element not found, line:1, col:1". By the way your file is based on the simple version.

EDIT: After looking at the content of my gallery folder, I noticed that your script creates by default a file called "can_cm_sitemapxml" - the file name must be between '' (line 14). So there is no error message (the error message came because the manually created can_cm_sitemap.xml file was emtpy).

The fixed version of your file is attached as zipped to this message.
« Last Edit: September 06, 2009, 12:46:15 pm by papukaija » Logged
robindengate
Coppermine newbie

United Kingdom United Kingdom

Posts: 8


WWW
« Reply #126 on: September 06, 2009, 12:46:20 pm »

For some reason the generated xml file is throwing a xml parsing error (or syntax) in Firefox:
"element not found, line:1, col:1". By the way your file is based on the simple version.

It's working fine for me in firefox, so not being an expert, only a dabbler, I can't help you with that.

Oh, and I did say I was using the simple version!
Logged

RD

"Hard work never killed anybody, but why take a chance?" -Edgar Bergen
robindengate
Coppermine newbie

United Kingdom United Kingdom

Posts: 8


WWW
« Reply #127 on: September 06, 2009, 12:51:45 pm »

Sorry, papukaija

Yes, I forgot to take out my own sitemap filename before uploading!

Thanks for correcting.

BTW: my gallery:  http://www.canalandnarrowboat.co.uk/cm/index.php

Logged

RD

"Hard work never killed anybody, but why take a chance?" -Edgar Bergen
Pages: 1 ... 3 4 5 6 [7]   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.04 seconds with 16 queries.