Issue Feature Closed

#14536Configurable word sep char for SimulateStaticDocuments

Georg Rehfeld 02/07/05, 21:48 updated 08/12/06, 14:18

Description

There was a request to make the underscore used by SimulateStaticDocuments for separation configurable. Especially changing it to a dash will make Google recognize it as a word separation character. Also multiple consecutive occurrences should be reduced to just one, optionally.

The patch provided introduces 2 new TS config values:
config.simulateStaticDocuments_substChar, string, ‘The character to use for substitution of non alphanumeric characters. Be carefully with this to not mess up generated urls, the char is used unchecked, just as is. Default: _ (underscore)’
config.simulateStaticDocuments_substConsecutive, boolean, ‘Wether multiple consecutive occurrences of the substitution character should be reduced to just one. Default: false’

The patch is under test on one site and seems to work there.

See request thread at http://typo3.org/documentation/mailing-lists/dev-list-archive/thread/110108464/?tx_maillisttofaq_pi1%5Bmode%5D=1
(issue imported from #M759)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.