Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #11  
Old 08-06-2006, 09:25 AM
DikkieBurger Offline
pixelpost guru
 
Join Date: Jul 2006
Posts: 157
The weird thing is, when I look at your sitemap I get a xml document.
Reply With Quote
  #12  
Old 08-06-2006, 07:40 PM
DikkieBurger Offline
pixelpost guru
 
Join Date: Jul 2006
Posts: 157
Google says I have some white lines at thebeginning of my xml file, I've checked all includes and addon files but I can't find a file with white spaces before or after <?php ?>.
Reply With Quote
  #13  
Old 08-07-2006, 12:55 AM
Florid's Avatar
Florid Offline
pp regular
 
Join Date: Aug 2006
Location: Lugansk
Posts: 27
Send a message via ICQ to Florid Send a message via Skype™ to Florid
Wink

2DikkieBurger
I found this 'lines' in 'month_calendar' addon. Сheck up all addons once again. Something like this:
Code:
        $cal_output .= "</table>";
	$tpl = ereg_replace ("<MC_NO_IMAGE_INFO>",$mc_no_image_info,$tpl);
	$tpl = ereg_replace("<MONTH_CALENDAR>",$cal_output,$tpl);
[spaces]
[spaces]
?>
... [spaces] must be deleted
And one more thing: in 'Admin mode' on your 'Options/URL:' must be something like this:
Code:
http://photoblogonline.com/
with '/' on end
RSS or 'sitemap' Not correctly works if it is not present ('/' on end of URL ) and Google says 'errors .... bla bla bla'

How can you see this 'spaces' (how mutch it)? Open yor 'sitemap URL' and save it on your local drive. Then Open this file in editor (I USE EditPad Pro) and you well see ... that yor code begin whith [spaces] or Press 'Source Code of page' in your Browser (e.g. FireFox):
Code:
[spaces]
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
<url>
<loc>http://photoblogonline.com/</loc>
<priority>1.0</priority>
</url>
See [spaces]?
__________________
I like France, Italy & Thailand photos. Random Banner (gif, jpg) addon for Pixelpost
Reply With Quote
  #14  
Old 08-08-2006, 07:05 AM
reflejandome Offline
pixelpost guru
 
Join Date: Mar 2005
Posts: 124
Send a message via MSN to reflejandome Send a message via Yahoo to reflejandome
[ yes, sitemap generate spaces at the start of the document, how can i removed it ?? i not have month_calendar...thx ]

it was a problem with fancy archive ...
__________________
reflectingmyself photoblog :: reflejandome fotoblog [ http://www.reflejandome.com ]

Last edited by reflejandome; 08-08-2006 at 09:12 AM.
Reply With Quote
  #15  
Old 08-08-2006, 08:58 AM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
google sitemap services works also well with your rss link.
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
  #16  
Old 08-08-2006, 12:19 PM
Florid's Avatar
Florid Offline
pp regular
 
Join Date: Aug 2006
Location: Lugansk
Posts: 27
Send a message via ICQ to Florid Send a message via Skype™ to Florid
Red face

RSS Link have 10 posts. Sitemap - much more
__________________
I like France, Italy & Thailand photos. Random Banner (gif, jpg) addon for Pixelpost
Reply With Quote
  #17  
Old 01-12-2007, 09:17 PM
janickg's Avatar
janickg Offline
pp regular
 
Join Date: Oct 2005
Location: Boston
Posts: 27
Send a message via AIM to janickg Send a message via Skype™ to janickg
Lightbulb

See also http://forum.pixelpost.org/showthrea...1441#post41441

I've created an admin addon to extend on the Sitemap Creator addon to ping Google on updates everytime a new post is made. Doesn't require this particular plugin if one has already created a static sitemap.
__________________
"That is not polite behaviour with integrals" - P.G.

My homepage

Last edited by janickg; 01-13-2007 at 09:47 PM.
Reply With Quote
  #18  
Old 11-12-2007, 01:01 PM
Giuseppe's Avatar
Giuseppe Offline
pp regular
 
Join Date: Sep 2006
Posts: 36
There is a way to put (other then manually) the sitemap at root level and not in PP directory? And with another name not sitemap?

thanks
__________________
FotoBlog
Reply With Quote
  #19  
Old 11-12-2007, 01:06 PM
Lazlo Offline
pp regular
 
Join Date: Mar 2007
Posts: 47
Quote:
Originally Posted by Giuseppe View Post
There is a way to put (other then manually) the sitemap at root level and not in PP directory? And with another name not sitemap?

thanks
You can use .htaccess for that i've you have a Apache webserver.

Code:
Options -Indexes
RewriteEngine on
RewriteRule ^[your sitemap name].xml$ [pixelpost dir]/index.php?z=sitemap
And replace the stuff between the [].
__________________
Reply With Quote
  #20  
Old 11-12-2007, 01:10 PM
Giuseppe's Avatar
Giuseppe Offline
pp regular
 
Join Date: Sep 2006
Posts: 36
Thanks Lazlo,

Quote:
Originally Posted by Lazlo View Post
You can use .htaccess for that i've you have a Apache webserver.
what this mean? that the sitemap is written directly at the root level or a redirect to the root?

ciao
__________________
FotoBlog
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 07:27 AM.

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