Xml sitemaps new version

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools
Xml sitemaps new version
Developed by mihai mihai is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page
Designed for: Pligg 1.0.1
License: GNU GPL
Released: 04-17-2008
Last Update: Never
Installs: 34
Uses Module System
Includes Files to Upload
Not Supported by Author
Created by: Mihai Secasiu on 9 August 2007
Tested on pligg 0.9.9 and 1.0.1 and it works on both php5 and php4.
More Details: xml sitemap v0.9 | PatchLog

Revision History
  • v0.9 28 April 2008 urlencode title_url and category_safe_name to fix invalid urls because of special characters like those with an accent, diacritics or others ( details )
  • v0.8 26 April 2008 really fix date format this time ( details )
  • v0.7 17 April 2008 fix a bug in date format and add cache ( details )
  • v0.6 15 April 2008
    • use category safe name in category links
    • respect URLMethod when generating category links
    • modified to work on php4
  • v0.5 03 April 2008 SCB - Update to work with v9.9.0
  • v0.1 2007/06/09 Mihai - First version

Download Now

File Type: zip xml_sitemap_0.9.zip (7.5 KB, 269 views)

License Agreement

The Foundations of the GNU GPL:
* The freedom to use the software for any purpose
* The freedom to change the software to suit your needs
* The freedom to share the software with your friends and neighbors
* The freedom to share the changes you make.

Show Your Support

  • This download may not be copied, reproduced or published elsewhere without author's permission.

Similar Downloads
Download Developer Category Replies Last Post

Comments
  #2 (permalink)  
Old 04-17-2008, 06:50 AM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 1,961
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
  #3 (permalink)  
Old 04-17-2008, 07:16 AM
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 162
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

Last edited by lacasuela; 04-17-2008 at 08:33 AM.
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 08:32 AM
xiesi's Avatar
Constant Pligger
Pligg Version: 9.95
Pligg Template: yget + diy
 
Join Date: Jun 2007
Posts: 223
Send a message via MSN to xiesi
Thank you.
Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 05:58 PM
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 162
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?

Last edited by lacasuela; 04-17-2008 at 06:03 PM.
Reply With Quote
  #6 (permalink)  
Old 04-17-2008, 08:15 PM
joehunk's Avatar
Casual Pligger
 
Join Date: Oct 2007
Posts: 67
good to hear for the improvement. i was using the old version of your xml sitemap. thanks for the hardwork.
Reply With Quote
  #7 (permalink)  
Old 04-20-2008, 05:01 PM
Pligg Donor
Pligg Version: 9
Pligg Template: expertvision
 
Join Date: Mar 2008
Posts: 57
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
Reply With Quote
  #8 (permalink)  
Old 04-21-2008, 01:43 AM
nzbullet's Avatar
Constant Pligger/Coder
 
Join Date: Jun 2007
Location: New Zealand
Posts: 115
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";

Last edited by nzbullet; 04-21-2008 at 04:33 PM.
Reply With Quote
  #9 (permalink)  
Old 04-21-2008, 10:45 AM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 804
Thanks linka I'm going to try this tonight after work!

Thanks so much!
Reply With Quote
  #10 (permalink)  
Old 04-25-2008, 11:19 AM
Casual Pligger/Coder
 
Join Date: Jun 2007
Posts: 32
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";
Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to download version 9.9.0? unv1 Questions and Comments 6 05-03-2009 08:03 PM
Licensing tbronson Wiki Articles 0 10-27-2007 11:55 PM
Issues Upgrading to version 8 The Humanaught Questions and Comments 3 10-09-2006 05:01 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development