ytrstu / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

sitemap.xml issue #271

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hi

I tried your instruction with regards to sitemap.xml and I guest do it 
correctly but it gives me this:

 http://ssivosaocms1.appspot.com/  2010-07-21   http://ssivosaocms1.appspot.com/about-us  2010-06-04   http://ssivosaocms1.appspot.com/services  2010-06-07   http://ssivosaocms1.appspot.com/services/testpage  2010-06-09   http://ssivosaocms1.appspot.com/contact-us  2010-07-08   http://ssivosaocms1.appspot.com/sitemap  2010-06-07   http://ssivosaocms1.appspot.com/cover  2010-07-06   http://ssivosaocms1.appspot.com/cover/thankyou  2010-06-10   http://ssivosaocms1.appspot.com/overview-page  2010-06-13   http://ssivosaocms1.appspot.com/news  2010-06-13   http://ssivosaocms1.appspot.com/include  2010-07-09   http://ssivosaocms1.appspot.com/include/sidebar  2010-07-23   http://ssivosaocms1.appspot.com/roofing  2010-07-11   http://ssivosaocms1.appspot.com/roofing/roofing-estimate  2010-07-19   

INSTEAD of a real xml file.

thanks

Original issue reported on code.google.com by angelome...@gmail.com on 23 Jul 2010 at 3:25

GoogleCodeExporter commented 8 years ago
Please look at page source.

Original comment by kinyelo@gmail.com on 23 Jul 2010 at 6:07

GoogleCodeExporter commented 8 years ago
okay. thanks

another one; in the future releases can we add real java code or a more dynamic 
code like getting and setting post/get variable. thankss

like this cms

Original comment by angelome...@gmail.com on 23 Jul 2010 at 6:13

GoogleCodeExporter commented 8 years ago
Actually you can access get/post request parameters in the template and page 
templates via $request (of HttpServletRequest type) placeholder. 

Original comment by kinyelo@gmail.com on 24 Jul 2010 at 6:18

GoogleCodeExporter commented 8 years ago
going back to the sitemap.xml what we really want is to have an xml sitemap 
file and not the <urlset> xml.

thanks

Original comment by angelome...@gmail.com on 24 Jul 2010 at 12:44

GoogleCodeExporter commented 8 years ago
But it is xml file. Look at page source in your browser. May be content type is 
wrong and we need to add ability to specify content type for page.

Original comment by kinyelo@gmail.com on 24 Jul 2010 at 12:55

GoogleCodeExporter commented 8 years ago
Format is taken from here http://www.sitemaps.org/protocol.php

Original comment by kinyelo@gmail.com on 24 Jul 2010 at 12:57

GoogleCodeExporter commented 8 years ago
But we can show it as this:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <url>
      <loc>http://www.example.com/</loc>
      <lastmod>2005-01-01</lastmod>
      <changefreq>monthly</changefreq>
      <priority>0.8</priority>
   </url>
</urlset> 

when we type www.domain.com/sitemap.xml and not the html format.

Original comment by angelome...@gmail.com on 24 Jul 2010 at 10:31

GoogleCodeExporter commented 8 years ago
Issue created to address this problem. 
http://code.google.com/p/vosao/issues/detail?id=276

Original comment by kinyelo@gmail.com on 25 Jul 2010 at 5:05

GoogleCodeExporter commented 8 years ago

Original comment by kinyelo@gmail.com on 25 Jul 2010 at 12:25