Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Addons (http://www.pixelpost.org/forum/forumdisplay.php?f=13)
-   -   Google Sitemap Creator 1.0 (http://www.pixelpost.org/forum/showthread.php?t=3064)

se.nsuo.us 01-02-2006 10:19 AM

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

Connie 01-02-2006 11:12 AM

hej, that is a good suggestion!

Joe[y] 01-02-2006 01:44 PM

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.

se.nsuo.us 01-02-2006 03:05 PM

Browsers do not like XML which has blank lines at the begining and Google does not like redirects in Sitemaps

Joe[y] 01-02-2006 03:27 PM

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.

se.nsuo.us 01-03-2006 03:36 AM

@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 :)

se.nsuo.us 01-03-2006 05:43 AM

Updated the zip file to fix an error in the date format

Joe[y] 01-03-2006 10:01 AM

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 :confused:

EDIT: I found it - there were 5 blank lines at the end of the fancyarchive addon.

DikkieBurger 08-05-2006 11:33 PM

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.

se.nsuo.us 08-06-2006 06:42 AM

so it means that your browser renders xml... whats your point?


All times are GMT. The time now is 04:25 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.