![]() |
Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
![]() |
#3 |
Senior Member
Регистрация: 07.04.2008
Адрес: msk
Сообщений: 125
|
![]()
Кстати, в доке есть полезная информация не касающаяся плагина, однако затрагивающая эту тему:
TypoScript setup for clean (X)HTML output: Here some examples: Код:
config { # switch the doctype to XHTML Strict: #"xhtml_trans", "xhtml_frames", "xhtml_strict", "xhtml_basic", "xhtml_11", "xhtml_2", "none" doctype = xhtml_strict # remove <?xml... ?> prolog xmlprologue = none #XHTML cleaning: xhtml_cleaning = all #remove default JavaScript: removeDefaultJS = 1 # place the removed JavaScript in an external file: #removeDefaultJS = external # move css in an external file: inlineStyle2TempFile = 1 # disable some of the comments: disablePrefixComment = 1 # UTF8 Output: metaCharset = utf-8 additionalHeaders = Content-Type:text/html;charset=utf-8 # Additional Parameter in the <a>-Tag ATagParams = } plugin { # deletes the default css from some the css_styled_content (be aware what you lose) tx_cssstyledcontent._CSS_DEFAULT_STYLE > } tt_content { # removes a-tag anchors # stdWrap.dataWrap > # removes various prefix comments stdWrap.prefixComment > header.20.dataWrap > header.20.prefixComment > default.prefixComment > text.stdWrap.prefixComment > text.20.prefixComment > textpic.20.stdWrap.prefixComment > table.20.stdWrap.prefixComment > mailform.20.stdWrap.wrap > menu.20.stdWrap.prefixComment > image.20.stdWrap.prefixComment > list.20.stdWrap.prefixComment > # remove clear.gif image.20.spaceBelowAbove = 0 header.stdWrap.space = 0|0 stdWrap.space = 0|0 stdWrap.spaceBefore = 0 stdWrap.spaceAfter = 0 stdWrap.space = 0|0 # remove clear.gif after headlines text.20.parseFunc.tags.typohead.stdWrap.space = 0|0 # remove atributes for p and pre-tags text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes.P.style= text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes.PRE.style= }
__________________
Грудь в крестах, или голова в кустах. |
![]() |
![]() |
Теги |
sourceopt |
|
|
![]() |
||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Настройки параметров ImageMagick для TYPO3 на FreeBSD и Linux | Valery Romanchev | Мастер-класс | 9 | 25.06.2013 22:38 |
UPD: Требуется специалист(ы) по Typo3 в Rich Media Development. | Pavel Antonov | Работа и заказы / Job Offer and Request | 0 | 20.05.2008 13:59 |
Ускорение typo3 | ksevelyar | Общие вопросы | 1 | 30.04.2008 01:59 |
ускорение работы Typo3 на 5000% (и это не прикол) | Valery Romanchev | Новости TYPO3-разработки | 2 | 03.07.2006 20:50 |
Ускорение работы typo3 | Валентин | Общие вопросы | 4 | 16.11.2005 12:28 |