Not anything really fancy but add this little bit of code to your blogcfc googlesitemap.cfm to have google also learn about your categories. The way I figure it you can never tell google too much about your site :)


<cfset cats = application.blog.getCategories()>
<cfoutput query=“cats”>
<url>
<loc>#application.blog.makeCategoryLink(categoryid)#</loc>
<priority>0.3</priority>
<changefreq>weekly</changefreq>
</url>
</cfoutput>

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Print
  • Technorati
  • Twitter

2 Comments

Joshua RountreeNovember 15th, 2007 at 10:21 pm

Great! Now make me one for pages :P Save me some time !! HAHAH
Thanks, great post! glad I saw it!

Damon LedetNovember 16th, 2007 at 7:37 am

I do not use pages, but this would do the trick.

&lt;cfset pages_qry = application.page.getPages() /&gt;
&lt;cfoutput query=&#34;pages_qry&#34;&gt;
&lt;url&gt;
&lt;loc&gt;#application.rootURL#/page.cfm/#alias#&lt;/loc&gt;
&lt;priority&gt;0.3&lt;/priority&gt;
&lt;changefreq&gt;weekly&lt;/changefreq&gt;
&lt;/url&gt;
&lt;/cfoutput&gt;

Leave a comment

Your comment