|
flux
|
 |
« Reply #20 on: December 24, 2005, 09:54:36 pm » |
|
sorry if the question is obvious but i haven't had time to analyze your code
does this script support the 50k urls limit of sitemaps files ? meaning will it create .1 .2 files if the current sitemap has reached the max 50k <url> limit ?
|
|
|
|
|
Logged
|
|
|
|
Nibbler
|
 |
« Reply #21 on: December 24, 2005, 11:09:40 pm » |
|
No, it will not.
|
|
|
|
|
Logged
|
I don't care about what they say, I won't live or die that way.
|
|
|
mlduclos
Coppermine newbie
Posts: 18
|
 |
« Reply #22 on: December 30, 2005, 05:46:45 pm » |
|
I am getting the same error when wunning the simple Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/vhosts/domain.com/htdocs/imagens/banco/sitemap.php on line 39
But the full version worked. Nice! Thanks for the script.
|
|
|
|
« Last Edit: December 30, 2005, 06:01:19 pm by mlduclos »
|
Logged
|
|
|
|
|
TranzNDance
|
 |
« Reply #23 on: December 30, 2005, 05:54:35 pm » |
|
|
|
|
|
|
Logged
|
|
|
|
|
TranzNDance
|
 |
« Reply #24 on: February 21, 2006, 04:59:02 am » |
|
How can I avoid getting chron emails about this? I used this: php -q
which I thought was supposed to silence emails?
|
|
|
|
|
Logged
|
|
|
|
Nibbler
|
 |
« Reply #25 on: February 21, 2006, 11:18:15 am » |
|
Use > /dev/null after the command.
|
|
|
|
|
Logged
|
I don't care about what they say, I won't live or die that way.
|
|
|
spiros71
Coppermine regular visitor
 
Gender: 
Posts: 65
|
 |
« Reply #26 on: May 02, 2006, 12:23:44 pm » |
|
Thank you for this mod. A couple of questions.
1. Do we need to link to sitemap.xml somehow? 2. Does changing the following code
// [changefreq = always || hourly || daily || weekly || monthly || yearly || never] define('CF_DISPLAYIMAGE', 'weekly'); define('CF_ALBUM', 'weekly'); define('CF_CATEGORY', 'weekly');
mean that it will be recreated?
3. If not, which command does one use to set a cron job from control panel?
|
|
|
|
|
Logged
|
|
|
|
spiros71
Coppermine regular visitor
 
Gender: 
Posts: 65
|
 |
« Reply #27 on: May 02, 2006, 06:15:49 pm » |
|
An error given by the control panel of Google sitemaps for a simple map submitted there: Error Detail URL not allowed (Line 1) with URL http://www.translatum.gr/gallery This url is not allowed for a Sitemap at this location. More
|
|
|
|
|
Logged
|
|
|
|
Nibbler
|
 |
« Reply #28 on: May 02, 2006, 06:19:51 pm » |
|
Post a link to the sitemap.
|
|
|
|
|
Logged
|
I don't care about what they say, I won't live or die that way.
|
|
|
|
|
Pascal YAP
Dev Team member
   
Gender:
 Armenia
Posts: 3791
He's me, and She's Moon
|
 |
« Reply #30 on: May 05, 2006, 02:02:55 pm » |
|
Hello Nibbler, I have installed simple sitemap_plus.php online on my PHP4, but unfortunately the sitemap_plus.php read only category CAT=1 and not CAT=0  There's nothing in cat=1 . Here is the the generated file sitemap.xml : <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.google.com/schemas/sitemap/0.84"> <url><loc>www.pays-dignois.com/galerie</loc> <priority>1.0</priority></url> <url><loc>www.pays-dignois.com/galerie/index.php?cat=1</loc> </url></urlset> I try sitemap.php and sitemap_plus.php. The first one do not work at all  and gave a PARSEerror like that : Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in sitemap.php on line 39Some additionnal infos about my host : ZLib Support enabled Compiled Version 1.2.2 Linked Version 1.2.2 Directive Local Value Master Value zlib.output_compression Off Off zlib.output_compression_level -1 -1 zlib.output_handler no value no value
|
|
|
|
|
Logged
|
! Pas de PM please ! No PM s'il vous plait !
|
|
|
Nibbler
|
 |
« Reply #31 on: May 05, 2006, 02:13:40 pm » |
|
The script misses out albums that are not in a category, it's a known issue. The PHP5 version does not work on PHP4.
|
|
|
|
|
Logged
|
I don't care about what they say, I won't live or die that way.
|
|
|
Pascal YAP
Dev Team member
   
Gender:
 Armenia
Posts: 3791
He's me, and She's Moon
|
 |
« Reply #32 on: May 05, 2006, 02:33:25 pm » |
|
Nibbler, The PHP5 version does not work on PHP4. Sure ! The script misses out albums that are not in a category, it's a known issue. But Cat=0 is a Category is'nt it ? Anyway, is it a possibility to turn around this issue ? For exemple, in my case, change all $cid by cat=0 ?  Visibly, the script work nice now ! PYAP
|
|
|
|
« Last Edit: May 07, 2006, 10:15:32 am by PYAP »
|
Logged
|
! Pas de PM please ! No PM s'il vous plait !
|
|
|
|
LooneyToonDad
Coppermine newbie
Posts: 8
|
 |
« Reply #33 on: May 23, 2006, 09:20:20 pm » |
|
I apologize if this is one of those "oh yeah" questions, but where do I find the scripts? I don't see any links. Thanks
|
|
|
|
|
Logged
|
|
|
|
Nibbler
|
 |
« Reply #34 on: May 23, 2006, 09:34:33 pm » |
|
They are attached to the first post.
|
|
|
|
|
Logged
|
I don't care about what they say, I won't live or die that way.
|
|
|
|
LooneyToonDad
Coppermine newbie
Posts: 8
|
 |
« Reply #35 on: May 23, 2006, 11:40:01 pm » |
|
Thanks. I think I didn't see them before because I wasn't registered/logged in, but now I do.
|
|
|
|
|
Logged
|
|
|
|
blablabla
Coppermine novice

Gender: 
Posts: 35
|
 |
« Reply #36 on: August 05, 2006, 11:17:40 am » |
|
script is working for me but since i have too many pictures all browsers go crazy after a while. is it possible to run this script and create sitemap without ie/firefox ?
|
|
|
|
|
Logged
|
|
|
|
Nibbler
|
 |
« Reply #37 on: August 05, 2006, 11:59:19 am » |
|
Use the FILEDUMP option described in the script.
|
|
|
|
|
Logged
|
I don't care about what they say, I won't live or die that way.
|
|
|
blablabla
Coppermine novice

Gender: 
Posts: 35
|
 |
« Reply #38 on: August 05, 2006, 12:12:36 pm » |
|
I'm doing something wrong but no idea what. define('FILEDUMP', false); I changed that to : define('FILEDUMP', true); then to define('FILEDUMP', 'sitemap.xml'); then to define('FILEDUMP', 'sitemap.gz'); and to define('FILEDUMP', 'sitemap.xml.gz'); but it always keeps showing me endless text in browser. what do i have to change ? 
|
|
|
|
|
Logged
|
|
|
|
|
jackbremer
Coppermine newbie
Posts: 9
|
 |
« Reply #39 on: August 11, 2006, 08:40:05 pm » |
|
the archives are labelled wrongly...
plus.zip = sitemap.php simple.zip=sitemap_plus.php
Nibbler said he'd changed them back though ages ago - I'm confused!
|
|
|
|
|
Logged
|
|
|
|
|