Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 01-02-2006, 10:19 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Google Sitemap Creator 1.0

Just grab http://se.nsuo.us/contrib/google_sitemap.php.zip, unzip and put the file in addons directory access the sitemap using a URL similar to http://yourdomain.com/path_to_pp/index.php?z=sitemap

Note this uses the native google map xml format and not the modified RSS fomat as http://forum.pixelpost.org/showthread.php?t=2125 suggest

Tested on Pixelpost 1.5 Beta

@Devs - as a side note may be the check for $_GET['x'] should be moved to after the addons are sucked in... would have prefered x=sitemap rather than z=sitemap
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #2  
Old 01-02-2006, 11:12 AM
Connie
Guest
 
Posts: n/a
hej, that is a good suggestion!
Reply With Quote
  #3  
Old 01-02-2006, 01:44 PM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
good suggestion!

in the meantime i might change http://photos.jlspurling.com/index.php?z=sitemap into a tag so that i can include it in an x= - although... i use htacces i could hide this - but i'd rather it kept the same format. how does my mod to the file look? - i changed the urls - i was jsut wondering if google can see past urls with mod-rewrite.
Reply With Quote
  #4  
Old 01-02-2006, 03:05 PM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Browsers do not like XML which has blank lines at the begining and Google does not like redirects in Sitemaps
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #5  
Old 01-02-2006, 03:27 PM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
if you're talking about the blank lines on my actual photoblog! i don't know where they're coming from or how to get rid of them. it's driving me crazy.
Reply With Quote
  #6  
Old 01-03-2006, 03:36 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
@Joe[y] - there are blank lines even in your sitemap xml they have to be comming from one of the files which is included in *every* other file if they are not from your index.php

Search for files which have blank lines just before <?php and these need not be at the begining of the file
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #7  
Old 01-03-2006, 05:43 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Updated the zip file to fix an error in the date format
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #8  
Old 01-03-2006, 10:01 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
Quote:
Originally Posted by se.nsuo.us
@Joe[y] - there are blank lines even in your sitemap xml they have to be comming from one of the files which is included in *every* other file if they are not from your index.php

Search for files which have blank lines just before <?php and these need not be at the begining of the file
hehe. i know this. but as i said - it's driving me crazy trying to find the damn file with this problem! and i know it's not even my hosts fault as pages outside of my photoblog are fine! i swear i've looked at every file... even those not included. i removed any blank lines that were after ?> but still no luck

EDIT: I found it - there were 5 blank lines at the end of the fancyarchive addon.
Reply With Quote
  #9  
Old 08-05-2006, 11:33 PM
DikkieBurger Offline
pixelpost guru
 
Join Date: Jul 2006
Posts: 157
Just installed this addon, but it's doesn't work correctly, my sitemap is only flat text, not an xml document: http://www.dikkieburger.nl/index.php?z=sitemap

But when I look the source of the sitemap page it shows a good sitemap.
Reply With Quote
  #10  
Old 08-06-2006, 06:42 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
so it means that your browser renders xml... whats your point?
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:38 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs