We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12390
    • 39 Posts
    All my dates seem to comeout like this:

    <lastmod>1970-01-01</lastmod>


    Errr?
      • 21191
      • 236 Posts
      What version of MODx, and post your ditto call, and the TPL
        ~Shawn Himmelberger
        Check out my MODx Development and MODx Design Company - Himmelberger Design
        • 12390
        • 39 Posts
        Edit: Ignore embarrassed
          • 21191
          • 236 Posts
          I’m a bit confused, I use friendly urls, works fine.
            ~Shawn Himmelberger
            Check out my MODx Development and MODx Design Company - Himmelberger Design
            • 1561
            • 22 Posts
            I’m having the same problem. The lastmod outputs weird date like this - <lastmod>1969-12-31</lastmod>. Google Webmaster Tools reacts as Invalid date

            [/b]
            The Chunk named as google_sitemap
            <url>      
            <loc>[(site_url)]/[~[+id+]~]</loc>      
            <lastmod>[+date+]</lastmod>
            <priority>[+tvpriority+]</priority>
            <changefreq>[+tvchangefreq+]</changefreq>
            </url>


            The TVs

            priority
            .1||.2|| .3|| .5|| .6|| .7|| .8|| .9
            

            changefreq - default value is yearly
            always||hourly||daily||weekly||monthly||yearly||never 


            The Page - Ditto
            <?xml version="1.0" encoding="UTF-8"?>
            <urlset xmlns="http://www.google.com/schemas/sitemap/0.9">
            [[Ditto? &dateFormat=`%Y-%m-%d`&startID=`0` &tpl=`google_sitemap` &displayArchive=`0` &dateSource=`editon`&summarize=`500` &total=`500` &descendentDepth=`3` &showInMenuOnly=`1`&filter=`type,document,1`]] </urlset>


            Am I missing something? Looking forward for some work around and enlightenment. Thanks in advance

            O.T: Hello to everyone for this is my very first post.
              An aspiring web designer & front-end web developer who is very much interested on the modern web.

              www.andrewabogado.com
              • 19741
              • 90 Posts
              Hi,

              please try ... &dateSource=`editedon`
                Bye,
                Mithrandir
                • 1561
                • 22 Posts
                Quote from: Mithrandir at Aug 01, 2009, 06:36 AM

                Hi,

                please try ... &dateSource=`editedon`

                It’s now working. So that was causing the problem. I’m happy and very thankful for your help Mithrandir. I really appreciate it.
                  An aspiring web designer & front-end web developer who is very much interested on the modern web.

                  www.andrewabogado.com
                  • 2661
                  • 53 Posts
                  This is genius. Thanks a lot for your hard work!
                  • Looks like the link to the tutorial is no longer working. Does someone have this information somewhere else? I suspect this would give more flexibility than the custom snippet.
                      Jason Bird
                      Twitter: @jasonabird @threeeyedbird
                      • 22958
                      • 50 Posts
                      Quote from: Bird at Nov 12, 2009, 03:54 AM

                      Looks like the link to the tutorial is no longer working. Does someone have this information somewhere else? I suspect this would give more flexibility than the custom snippet.

                      Yes, I can not find the Tutorial. Does some one has it ?
                      Or please write the step by step here .... smiley

                      Many Thanks.
                      Best Regards,
                      - pedma -