Go Back   Pligg Forum > Pligg Development > Pligg Modules
Reply
 
LinkBack Thread Tools Display Modes
Old 04-17-2008, 03:47 AM   #1
Xml sitemaps new version
mihai
New Pligger
Join Date: Jun 2007
Posts: 29

Show Printable Version Email this Page
mihai mihai is offline 04-17-2008, 03:47 AM
Rating: ()

Hello everyone,

I have just released a new version of the Xml sitemaps module.

Version 0.7 brings a few bug fixes and a new feature that allows you to cache the sitemaps for a configurable amount of time so that the sitemaps will not be generated every time they are accessed.
It was tested on pligg 0.9.9 and it works on php5 and php4
here are more details about the new release : xml sitemap for pligg v0.7 | PatchLog
__________________
Patches and Hacks
Views: 2013
Reply With Quote
The Following 6 Users Say Thank You to mihai For This Useful Post:
  #2 (permalink)  
Old 04-17-2008, 05:50 AM
dollars5's Avatar
dollars5 dollars5 is offline
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,161
Downloads: 29
Uploads: 1
Thanks: 292
Thanked 267 Times in 178 Posts
mihai - thanks for the good effort - but it would be great if you can add this to the Pligg downloads at http://forums.pligg.com/downloads.php

Can we include it to the pligg core codebase?
Reply With Quote
The Following User Says Thank You to dollars5 For This Useful Post:
  #3 (permalink)  
Old 04-17-2008, 06:16 AM
lacasuela lacasuela is offline
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 203
Downloads: 52
Uploads: 0
Thanks: 4
Thanked 3 Times in 2 Posts
i think there must be a table 'not a post' somewhere in this forum with the modules, theirs updates and the version where they've been tested..

so you can chose any version to download

thanks for your update
__________________
www.cubaleo.net

Last edited by lacasuela : 04-17-2008 at 07:33 AM.
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 07:32 AM
xiesi's Avatar
xiesi xiesi is offline
Send a message via MSN to xiesi
Constant Pligger
Pligg Version: 9.95
Pligg Template: yget + diy
 
Join Date: Jun 2007
Posts: 226
Downloads: 29
Uploads: 0
Thanks: 0
Thanked 2 Times in 2 Posts
Thank you.
__________________
www.qelele.com齐乐乐
Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 04:58 PM
lacasuela lacasuela is offline
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 203
Downloads: 52
Uploads: 0
Thanks: 4
Thanked 3 Times in 2 Posts
the link for yahoo api key dont work very well

and there is two different keys for yahoo :

for an html file and other one for the metatag,


which is the good one?

do you recommend ping SEO's when there is a news submitted?
__________________
www.cubaleo.net

Last edited by lacasuela : 04-17-2008 at 05:03 PM.
Reply With Quote
  #6 (permalink)  
Old 04-17-2008, 07:15 PM
joehunk's Avatar
joehunk joehunk is offline
Casual Pligger
 
Join Date: Oct 2007
Posts: 99
Downloads: 9
Uploads: 0
Thanks: 14
Thanked 10 Times in 8 Posts
good to hear for the improvement. i was using the old version of your xml sitemap. thanks for the hardwork.
__________________
-------------------------------
click to my mini-Pligg Site
Reply With Quote
  #7 (permalink)  
Old 04-20-2008, 04:01 PM
xenfra xenfra is offline
Pligg Donor
Pligg Version: 9
Pligg Template: expertvision
 
Join Date: Mar 2008
Posts: 54
Downloads: 0
Uploads: 0
Thanks: 11
Thanked 0 Times in 0 Posts
Hello
I have installed sitemap 07 on Video Music Tube Published: Musica, music, musique - News, Nouvelles, nouveautés. but I can't understand if it work or not
I how can do?
In google webmaster I can see that the last sitemap is that I have generate and upload.

thank's
__________________
---------------------------------------------------------------------------------------
Free News - Video Music - Gossip News - Viaggi e Vacanze - Cani - Gatti - Travel Rss
Reply With Quote
  #8 (permalink)  
Old 04-21-2008, 12:43 AM
nzbullet's Avatar
nzbullet nzbullet is offline
Send a message via MSN to nzbullet
Constant Pligger
Pligg Version: 9.9.
Pligg Template: Very Custom
 
Join Date: Jun 2007
Location: New Zealand
Posts: 133
Downloads: 70
Uploads: 5
Thanks: 17
Thanked 19 Times in 14 Posts
I can confirm that this version also works on 9.8.2

EDIT: There seems to be an error with the time in that Google tells me there is anerror with my date format. I have tried all number of different formats, but am unable to fix it.

The only thing I can do to fix this is to remove the time and change the single quote to double quotes. If you are having this same problem go into xml_sitemaps_main.php

Around line 92 find:

Code:
echo "<lastmod>".date('Y-m-d\TH:i:s',strtotime($r[0]))."</lastmod>";
and replace with:

Code:
echo "<lastmod>".date("Y-m-d",strtotime($r[0]))."</lastmod>";
Around Line 147 find:

Code:
echo "<lastmod>".date('Y-m-d\TH:i:s', $link->modified)."</lastmod>\n";
and replace with:

Code:
echo "<lastmod>".date("Y-m-d", $link->modified)."</lastmod>\n";
and around line 257 find:

Code:
echo "<lastmod>".date('Y-m-d\TH:i:s', $m_time)."</lastmod>\n";
and replace with:

Code:
echo "<lastmod>".date("Y-m-d", $m_time)."</lastmod>\n";
__________________
Cheers

Dan


Buzzdup.com
*Your* Local News

Pligg iPhone/iPod Touch RSS Reader For Pligg - FREE

Last edited by nzbullet : 04-21-2008 at 03:33 PM.
Reply With Quote
The Following 2 Users Say Thank You to nzbullet For This Useful Post:
  #9 (permalink)  
Old 04-21-2008, 09:45 AM
bbrian017 bbrian017 is offline
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 917
Downloads: 30
Uploads: 0
Thanks: 171
Thanked 17 Times in 17 Posts
Thanks linka I'm going to try this tonight after work!

Thanks so much!
Reply With Quote
  #10 (permalink)  
Old 04-25-2008, 10:19 AM
mihai mihai is offline
New Pligger
 
Join Date: Jun 2007
Posts: 29
Downloads: 4
Uploads: 0
Thanks: 1
Thanked 14 Times in 6 Posts
This problem is already fixed in version 0.7

Quote:
Originally Posted by linka View Post
I can confirm that this version also works on 9.8.2

EDIT: There seems to be an error with the time in that Google tells me there is anerror with my date format. I have tried all number of different formats, but am unable to fix it.

The only thing I can do to fix this is to remove the time and change the single quote to double quotes. If you are having this same problem go into xml_sitemaps_main.php

Around line 92 find:

Code:
echo "<lastmod>".date('Y-m-d\TH:i:s',strtotime($r[0]))."</lastmod>";
and replace with:

Code:
echo "<lastmod>".date("Y-m-d",strtotime($r[0]))."</lastmod>";
Around Line 147 find:

Code:
echo "<lastmod>".date('Y-m-d\TH:i:s', $link->modified)."</lastmod>\n";
and replace with:

Code:
echo "<lastmod>".date("Y-m-d", $link->modified)."</lastmod>\n";
and around line 257 find:

Code:
echo "<lastmod>".date('Y-m-d\TH:i:s', $m_time)."</lastmod>\n";
and replace with:

Code:
echo "<lastmod>".date("Y-m-d", $m_time)."</lastmod>\n";
__________________
Patches and Hacks
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
upgradation of old pligg version 6 to latest version 9.8.2 kishor Installation and Upgrade Help 5 01-22-2008 10:48 PM
Licensing tbronson Wiki Articles 0 10-27-2007 10:55 PM
Issues Upgrading to version 8 The Humanaught Installation and Upgrade Help 3 10-09-2006 04:01 AM
Pligg version 7 is their a easy way to install? jmt Installation and Upgrade Help 0 06-29-2006 02:07 PM


LinkBacks Enabled by vBSEO 3.0.0