We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="http://modxcms.com/extras/package/410">sitemap 1.0.9-GA</a> by ncrossland.

    Brief Description:
    Outpust a machine readable site map for search engines and robots. Supports the following formats:



    Sitemap Protocol used by Google Sitemaps.

    List of URLs in text format (e.g. Yahoo! submission).



    Another option is to output an unordered list (HTML: UL/LI) to show the sitemap on your webpage.
      • 8018
      • 5 Posts
      I’ve been banging my head on this for awhile. I have the xml output but Google keeps rejecting it, saying,

      "Network unreachable: Network unreachable
      We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit."


      My Snippet Call:
      [!SiteMap? &format=`sp`!]
      


      All of my settings are set as following:

      URL alias : sitemap.xml

      Internet Media Type - text/xml
      Content-Disposition
      Container - No
      Rich text - No
      Enable Stats Tracking - No
      Searchable - No
      Cacheable - No
      Empty cache - Yes

      Here’s the sitemap: http://www.creationtruth.org/sitemap.xml

      I’m running Modx 1.0.4



        • 4310
        • 2,310 Posts
        The only thing I notice is that some of the url’s break onto three lines e.g.
        <loc>
        http://www.creationtruth.org/spring-and-summer-schedule
        </loc>

        I don’t know if it’s important, or what’s causing it, but on my sitemaps it doesn’t happen.
          • 18367
          • 834 Posts
          I can’t find anywhere with instructions on how to install it.

          The wiki seems to assume it’s already installed.

          Are there any installation instructions?

          Thanks
            Content Creator and Copywriter
            • 4310
            • 2,310 Posts
            Just copy and paste the contents of the downloaded sitemap.tpl.txt into a new snippet & name it SiteMap.
            Then you can use the Wiki instructions.
              • 18367
              • 834 Posts
              OK,

              I’ve got it working but I can’t get the priority and frequency TV’s to show on the actual site map

              Here’s the call

              [!SiteMap? &format=`sp` &priority=`sitemap_priority` &changefreq=`sitemap_changefreq` &excludeTemplates=`blank, empty, hidden, 5, 12, 8, 15, 17, 16, 9, 4, 3, 18 `!]


              The TV’s I just called sitemap_changefreq and sitemap_priority as per the wiki instructions http://wiki.modxcms.com/index.php/SiteMap:_Google_sitemaps_in_MODx

              But nothing appears in the site map.

              Thanks again.
                Content Creator and Copywriter
                • 32412
                • 21 Posts
                I used MODX Evolution 1.04

                But I still get an error message on the sitemap:
                [tt]
                Fatal error: Cannot redeclare gettv() (previously declared in /home/user/domains/domain/public_html/manager/includes/document.parser.class.inc.php(770) : eval()’d code:258) in /home/user/domains/domain/public_html/manager/includes/document.parser.class.inc.php(770) : eval()’d code on line 281
                [/tt]

                How can I solve this error message.
                  • 18367
                  • 834 Posts
                  My sitemaps working but I have a sligth validation problem

                  From W3c I get this error
                  Schema validating with XSV 3.1-1 of 2007/12/11 16:20:05

                  * Target: [standalone schema assessment]
                  (Real name: http://makethemclick.com.au/sitemap.xml
                  Server: Apache/2.2.3 (CentOS))
                  * schemaDocs: http://makethemclick.com.au/sitemap.xml
                  * The schema(s) used for schema-validation had
                  no errors
                  * The target was not assessed

                  Schema resources involved

                  Attempt to load a schema document from
                  http://makethemclick.com.au/sitemap.xml
                  (source: command line) for
                  no namespace,
                  failed:

                  Not recognised as W3C XML Schema or RDDL: urlset


                  and from another validator I get a bit more info
                  http://makethemclick.com.au/sitemap.xml:7:3: Invalid per cvc-complex-type.1.2.4: element {http://www.sitemaps.org/schemas/sitemap/0.9}:changefreq not allowed here (5) in element {http://www.sitemaps.org/schemas/sitemap/0.9}:url, expecting [{Wildcard: ##other, strict},$]

                  My sitemap is here http://makethemclick.com.au/sitemap.xml


                  and my call looks like this
                  [!SiteMap? &format=`sp`  &priority=`priority` &changefreq=`changefreq` &excludeTemplates=`blank, empty, hidden, 5, 7, 10, 12, 8, 15, 16, 9, 4, 3, 18, 19, 21, 89, 90, 91, 92, 93, 94, 95, 240,  `!]


                  Anyone got any ideas on how to fox it?

                  Thanks huh



                    Content Creator and Copywriter