Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Google Sitemap last 500 news

 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Google Sitemap last 500 news
Author Message
RAMMSTEIN12



Joined: 06 May 2007
Posts: 29
Location: Greece

Post Google Sitemap last 500 news Reply with quote
Note: This is not a 100% working code but is the first stage to have a google sitemap for your site.



To make a google sitemap fore your last 500 news.



1)make a template.

Code:
<?PHP

$template_active = <<<HTML

<url>

<loc>{link=home/post}</loc>

<priority>0.7</priority>

<changefreq>weekly</changefreq>

</url>

HTML;

?>






2)sitemap.php

Code:
<?php

include_once 'head.php';

add_filter('news-allow-commentform', 'comment_form');



function comment_form(){return false;}



header('Content-type: text/xml');

echo '<?xml version="1.0" encoding="UTF-8"?>';?>

<urlset>

<?

$number = 500;

$template = 'map';

include $cutepath.'/show_news.php';

?>

</urlset>




Run sitemap.php and you will see your news sitemap.
Mon May 07, 2007 9:32 am View user's profile Send private message Visit poster's website
Guest








Please login to hide the ads.

scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
Are you using this in your site? It sounds very good, I'm interested in your results with it. If this works well this is something that should definitely be developed further. I read your other post about why a sitemap would be so good and you're right. Half my traffic is from google as it is.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Wed May 09, 2007 5:26 pm View user's profile Send private message Visit poster's website AIM Address
RAMMSTEIN12



Joined: 06 May 2007
Posts: 29
Location: Greece

Post How i solve the problem Reply with quote
scottdallas wrote:
Are you using this in your site? It sounds very good, I'm interested in your results with it. If this works well this is something that should definitely be developed further. I read your other post about why a sitemap would be so good and you're right. Half my traffic is from google as it is.






Hi I will tell you how I solved my problem with Google sitemap.



I am using 2 sitemaps.

1) The sitemap that shows the 500 latest news.

2)The sitemap that I have generated with this Micro-Sys A1 Sitemap Generator.v1.4.5 program and I update I this sitemap every month.



With this I achieve that all my links are included in Google search and other search sites.



Download Program Link:

http://rapidshare.com/files/30426481/Micro-Sys.A1.Sitemap.Generator.v1.4.5.WinAll.zip

_________________
MAKE CUTENEWS BETTER



my cutenews site: www.Down66.com
Wed May 09, 2007 10:01 pm View user's profile Send private message Visit poster's website
webbber



Joined: 15 May 2008
Posts: 72

Post Reply with quote
I cant get it working right cause of the xml headers
Wed Jun 04, 2008 6:56 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1943
Location: US

Post Reply with quote
This sounds very cool.. So it's template driven and Google knows how to read the page with the corresponding xml webpage URL?

Can you provide a link other than http://rapidshare.com/files/30426481/Micro-Sys.A1.Sitemap.Generator.v1.4.5.WinAll.zip cause I hate rapidshare?

And what does this micro-sys-a1-sitemap.generator.v14.5.zip do? I'm confused about it's relevancy. Can I read about this online somewhere?

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Thu Jun 05, 2008 5:23 am View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.