google tx_news 记录的 dd_googlesitemap_dmf 站点地图(或替代)

google sitemap for tx_news records with dd_googlesitemap_dmf (or alternative)

我尝试让typo3为所有的新闻记录生成站点地图。为此,我尝试了 dd_googlesitemap_dmf 扩展。 dd_googlesitemap 有效(它为所有 typo3 页面创建站点地图 - 但不是扩展)。我在配置中填写了基本信息并调用了 url ?eID=dd_googlesitemap&sitemap=dmf&selector=news,但我得到的只是一个空白页面(500 内部服务器错误)。 错误:

mod_fcgid: stderr: PHP Fatal error:  Class 'tx_ddgooglesitemap_ttnews' not found in [..]/typo3conf/ext/dd_googlesitemap_dmf/class.tx_ddgooglesitemap_dmf.php on line 43

我在扩展中编辑了 theext_typoscript_setup.txt,还尝试将拼写错误直接添加到页面模板中。这是我使用的错字版本(我只更改了 pidListsinglePid):

plugin.dd_googlesitemap_dmf {
    # selector for your extension (same as GET selector=news)
    news {

        # uid is NECESSARY in the sqlSelect field
        sqlMainTable = tx_news_domain_model_news

        # if catList depends of column of sqlMainTable (Column name like city or country)
        sqlCatColumn = 

        # if catList depends on sqlMMTable (Only works if uid_foreign and uid_local is in use)
        sqlMMTable = tx_news_domain_model_news_category_mm

        # order of the XML output
        sqlOrder = tstamp DESC

        # last modified timestamp column (inside of sqlMainTable)
        sqlLastUpdated = tstamp

        # sql column of the title
        sqlTitle = title

        # sql column of keywords
        sqlKeywords = keywords

        # frequency
        frequency = 1

        # typolink additionalParam (must belong to the uid of the sqlMainTable)
        linkParams = tx_news_pi1[news]

        # csv Pid's of the stored elements. Rootline is not checked with this setting
        pidList = 66

        # detail page id where the link should point at
        singlePid = 103

        # filter by category which is inside of the main table -> sqlCatColumn
        catList =

        # csv filter by mm related table -> sqlMMTable
        catMMList =

        # disable the language check through GLOBALS['TSFE']->sys_language_uid
        disableLanguageCheck = 0
    }

    # sitemap eID urls for the crawler
    crawler {
        1 = http://beispiel.de?eID=dd_googlesitemap

        # more than one sitemap
        # 2 =  http://beispiel.de?eID=dd_googlesitemap&more-configuration
    }
}

有人对此扩展有经验或有好的替代方案吗?

这里是分机的链接:

您无法在回购协议中的 typo3 6.2 上安装 _dmf,(依赖项 <= 6.1.99),但 github 上的版本有效: https://github.com/dohomi/dd_googlesitemap_dmf

我必须降级 dd_googlesitemap(现在使用 1.2.0)才能使 dd_googlesitemap_dmf 正常工作

TYPO3扩展新闻的当前版本提供了一个钩子本身来为新闻记录生成站点地图。详情见https://docs.typo3.org/typo3cms/extensions/news/AdministratorManual/BestPractice/SitemapWithDdGoogleSitemap/Index.html