Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
############ Google XML Sitemap ###############
google_xml = PAGE
google_xml {
  typeNum = 104
  config {
    disableAllHeaderCode = 1
    #additionalHeaders = Content-Type:·text/xml
    additionalHeaders = Content-type:application/xml
    xhtml_cleaning = 0
    admPanel = 0
    baseURL = http://www.samfundsfaget.dk/
    absRefPrefix = http://www.samfundsfaget.dk/
    simulateStaticDocuments = 0
    tx_realurl_enable = 1
  }
  10 = COA
  10 {
    wrap (
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> | </urlset>
    )

    # Frontpage
    10 = COA
    10 {
      wrap = <url> | </url>

      10 = TEXT
      10 {
        typolink {
          parameter.data = DB : pages:4:uid
          returnLast = url
        }
        wrap = <loc> | </loc>
      }

      20 = TEXT
      20 {
        data = DB : pages:4:SYS_LASTCHANGED
        strftime = %Y-%m-%dT%H:%M:%SZ
        wrap = <lastmod> | </lastmod>
      }

      30 = TEXT
      30.value = weekly
      30.wrap = <changefreq> | </changefreq>

      40 = TEXT
      40.value = 0.51
      40.wrap = <priority> | </priority>
    }

    # Subpages to the front page
    20 = HMENU
    20 {
      special = directory
      special.value = 4
      excludeDoktypes = 6
      includeNotInMenu = 1
      # Ekskluder følgende sider (+ deres undersider) fra sitemap:
      # Afgangsprøver (id=46)
      #  Video visning (id=252)
      #  Tip-en-ven (id=257)
      #  Søgeresultater (id=507)
      excludeUidList = 46,252,257,507
      1 = TMENU
      1 {
        expAll = 1
        NO {
          doNotLinkIt = 1
          stdWrap.if.isFalse.field = no_search
          stdWrap.cObject = COA
          stdWrap.cObject {
            wrap = <url> | </url>
            10 = TEXT
            10 {
              typolink {
                parameter.field = uid
                returnLast = url
              }
              wrap = <loc> | </loc>
            }
            20 = TEXT
            20 {
              field =  SYS_LASTCHANGED
              strftime = %Y-%m-%dT%H:%M:%SZ
              wrap = <lastmod> | </lastmod>
            }
            30 = TEXT
            30.value = weekly
            30.wrap = <changefreq> | </changefreq>
            40 = TEXT
            40.value = 0.51
            40.wrap = <priority> | </priority>
          }
        }
      }
      2 < .1
      2.NO.stdWrap.cObject.40.value = 0.51
      3 < .1
      3.NO.stdWrap.cObject.30.value = monthly
      3.NO.stdWrap.cObject.40.value = 0.41
      4 < .1
      4.NO.stdWrap.cObject.30.value = monthly
      4.NO.stdWrap.cObject.40.value = 0.41
    }
  }
}