Project

General

Profile

Actions

Feature #87011

closed

seo sitemap css should be able to overwrite

Added by Martin Weymayer over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
SEO
Target version:
-
Start date:
2018-11-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It would be nice to overwrite css file Sitemap.xls defined in
ExtensionManagementUtility::extPath('seo', 'Resources/Public/CSS/Sitemap.xsl')

Actions #1

Updated by Josef Glatz over 5 years ago

  • Category set to SEO
Actions #2

Updated by Richard Haeser over 5 years ago

What is the reason that you want this? Normal visitors don't see this sitemap. It is only for devs / SEOs to have an easy overview.

When I created this, I also thought about overrides but couldn't come up with a valid use-case for this.

Actions #3

Updated by Richard Haeser over 5 years ago

  • Status changed from New to Needs Feedback
  • Priority changed from Should have to Could have
Actions #4

Updated by Martin Weymayer over 5 years ago

... to change default title and headline "TYPO3 XML Sitemap". My customer want to have "My Company XML Sitemap".

Actions #5

Updated by Richard Haeser over 5 years ago

It is already possible to override the XML templates by settings the templateRootPaths. You can add your own XSL to that file if you want. Does that solve your issue? I think there is quite a small amount of people that would like to override this XSL file.

Actions #6

Updated by Martin Weymayer over 5 years ago

overwriting templateRootPaths does not effect Sitemap.xsl

Actions #7

Updated by Richard Haeser over 5 years ago

See https://gist.github.com/haassie/6fb1086dcb98f7532af45c6fa083c9fe for an example how to do this. In the example only the index is changes, but you can also do this for your other Sitemap.xml

Actions #8

Updated by Richard Haeser over 5 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF