Thanks Levi and Bruno, I'll try that. SS
On Dec 30 2009, 12:40 pm, Bruno Bornsztein <[email protected]> wrote: > You can just override the route in your own routes.rb file (before your call > to include the CE routes) > > On Wed, Dec 30, 2009 at 1:36 PM, Levi Rosol <[email protected]> wrote: > > well, to use your own file completely, remove these two lines from the > > desert_routes.rb file > > > connect 'sitemap.xml', :controller => "sitemap", :action => "index", > > :format => 'xml' > > connect 'sitemap', :controller => "sitemap", :action => "index" > > > I'm not sure what the proper CE way of removing lines from the > > desert_routes file is other than just removing them. this may cause issues > > when you upgrade in the future. > > > Your sitemap.xml will then need to live inside of the public folder. At the > > root of it i believe. > > > -- > > Levi Rosol > > Twitter: @LeviRosol > > > On Wed, Dec 30, 2009 at 1:07 PM, SS <[email protected]> wrote: > > >> Thanks Levi for your response. > >> I use thehttp://www.xml-sitemaps.com/to generate my sitemap, however > >> I noticed that it was overwritten by CE sitemap generator and > >> I didn't know how to enforce my own. > > >> I'll try your suggestion. > > >> Cheers, > >> SS > > >> On Dec 30, 1:50 am, Levi Rosol <[email protected]> wrote: > >> > You will need to create your own sitemap then. Copy the > >> > app/views/sitemap/index.xml.builder file into your app/views/sitemap > >> folder > >> > and have at it. > > >> > Based on the info found here ( > >>http://www.google.com/support/webmasters/bin/answer.py?answer=34657) it > >> > looks like the version number should be set to 0.9 instead of 0.84 (or > >> my CE > >> > version is just that old) > > >> > If you have additional data you want to display in the sitemap, you'll > >> need > >> > to override the sitemap_controller.rb in your app as well. > > >> > Here's what I did with mine:http://sportsleeg.com/sitemap.xml > > >> > -- > >> > Levi Rosol > >> > Twitter: @LeviRosol > > >> > On Tue, Dec 29, 2009 at 10:56 AM, SS <[email protected]> > >> wrote: > >> > > Hi, > >> > > I created my sitemap.xml file and uploaded it to the server, however > >> > > when I got towww.myhomepage.com/sitemap.xmlitdisplays a completely > >> > > different sitemap.xml that I haven't created, which includes bunch of > >> > > links that I don't want them to be displayed by the Google crawler. > >> > > Can somebody please explain to me how I can configure/use the CE > >> > > sitemap or how to override it so that I have better control over the > >> > > hyperlinks? > > >> > > Thanks, > >> > > SS > > >> > > -- > > >> > > You received this message because you are subscribed to the Google > >> Groups > >> > > "CommunityEngine" group. > >> > > To post to this group, send email to [email protected] > >> . > >> > > To unsubscribe from this group, send email to > >> > > [email protected]<communityengine%[email protected]> > >> <communityengine%[email protected]<communityengine%[email protected]> > > >> > > . > >> > > For more options, visit this group at > >> > >http://groups.google.com/group/communityengine?hl=en. > > >> -- > > >> You received this message because you are subscribed to the Google Groups > >> "CommunityEngine" group. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<communityengine%[email protected]> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/communityengine?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "CommunityEngine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<communityengine%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/communityengine?hl=en.
-- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.
