Reputation: 175
There are a lot of sitemap Generators for TYPO3 in the TER available. But none of them can handle Sites created by Extbase, which are not shown in the TYPO3 page tree.
Edit Thanks to biesior, detailed informations:
Unconventional I switch in TypoScript the GET Parameter for my Extbase extension[globalVar = GP:tx_myextension_articlelisting|article > 0]
which shows Articles for a selected page. Probably I have to build my own Sitemap, consists of all normal pages plus all my Extbase articles when a visitor calls the /sitemap.xml. But how to do this challenge?
/Edit
Any suggestions?
Upvotes: 0
Views: 642
Reputation: 6158
You could try the extention dd_googlesitemap_dmf: http://typo3.org/extensions/repository/view/dd_googlesitemap_dmf
(you will also need the extention dd_googlesitemap).
It's designed to create sitemap für plugins and you can configure it for any parameter you want.
I try to use this extention to generate a sitemap for tx_news articles, for now without success.
Edit: it works with a downgraded version of dd_googlesitemap. So I think this is a good alternative if you want to create the sitemap with an extention and not with typoscript
Hint: if you use 6.2 or newer you need to get the version from github, not the one from repo: https://github.com/dohomi/dd_googlesitemap_dmf
Upvotes: 0
Reputation: 736
If you use ts for create sitemap you can add any items. http://www.adick.at/2010/06/01/typoscript-xml-sitemap/. MB this will help
20 = CONTENT
20 {
table = tx_adprojects_domain_model_project
select {
orderBy = title ASC
languageField = sys_language_uid
pidInList = 11,12,13,14,15,30
}
renderObj = COA
renderObj {
stdWrap.wrap = <url>|</url>
5 = TEXT
5 {
typolink.parameter = 123
typolink.additionalParams = &tx_adprojects_projects[project]={field:uid}&tx_adprojects_projects[controller]=Project&tx_adprojects_projects[action]=show
typolink.additionalParams.insertData = 1
typolink.returnLast = url
typolink.forceAbsoluteUrl = 1
wrap = <loc>|</loc>
}
10 = TEXT
10 {
field = tstamp
strftime = %Y-%m-%dT%H:%M:%SZ
wrap = <lastmod>|</lastmod>
}
20 = TEXT
20.value = <priority>0.7</priority><changefreq>weekly</changefreq>
}
}
}
Upvotes: 1