Skip to content

Instantly share code, notes, and snippets.

@akiessling
Last active November 26, 2022 17:04
Show Gist options
  • Save akiessling/bcf68d7e66823ef9b890600806584c4d to your computer and use it in GitHub Desktop.
Save akiessling/bcf68d7e66823ef9b890600806584c4d to your computer and use it in GitHub Desktop.
Plaintext list of pages urls in TypoScript
txtsitemap = PAGE
txtsitemap {
typeNum = 77
config {
disableAllHeaderCode = 1
additionalHeaders.10.header = Content-type:text/plain
debug = 0
}
10 = HMENU
10 {
special = directory
special.value = XYZ
1 = TMENU
1 {
NO = 1
NO {
stdWrap.cObject = TEXT
stdWrap.cObject {
typolink.parameter.field = uid
typolink.returnLast = url
typolink.forceAbsoluteUrl = 1
}
stdWrap.postCObject = TEXT
stdWrap.postCObject.char = 10
doNotLinkIt = 1
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment