[TYPO3-english] Antwort: typoscript to replace <b> to <strong> tag

John Sullivan john at quaycreative.com
Wed Nov 4 11:06:21 CET 2009


Hi all,

@Chris, Stefan: Thanks for that. It works perfectly now. I was so stupid 
to not look in TSconfig of the root page.

@Stefan: Thanks, but I mean to re-order all meta tags right after <head> 
tag.


Something like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Affordable Corporate Video</title>
    <meta name="description" content=" some description here" />
    <meta name="keywords" content=" keyword1, keyword2" />
</head>

....



Thanks,
John







Stefan Isak wrote:
> Hey,
> 
> paste those lines to your TSconfig of the root page.
> 
> RTE.default {
>         proc {
>                 entryHTMLparser_db = 1
>                 entryHTMLparser_db {
>                         tags.b.remap = strong
>                         tags.i.remap = em
>                 }
>                 exitHTMLparser_db = 1
>             exitHTMLparser_db {
>                 tags.b.remap = strong
>                 tags.i.remap = em
>             }
>         } 
> }
> RTE.default.enableWordClean.HTMLparser < 
> RTE.default.proc.entryHTMLparser_db
> 
> 
> Try those lines for your meta tags. 
> 
> page.meta {
>     keywords.field = keywords
>     keywords.ifEmpty ( 
>          some, default, keywords
>     )
>     description.field = description
>     description.ifEmpty ( 
>         This is your default description
>     )
>  } 
> 
> Toodle-oo!
> Stefan
> 
> 
> 
> Von:
> John Sullivan <john at quaycreative.com>
> An:
> typo3-english at lists.typo3.org
> Datum:
> 04.11.2009 00:19
> Betreff:
> [TYPO3-english]  typoscript to replace <b> to <strong> tag
> 
> 
> 
> Hi All,
> 
> 
> Can anyone please help me to find out what did i do wrong in the 
> typoscript below:
> 
> 
> lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines {
>    encapsTagList = b,strong
>    remapTag.b = strong
>   }
> 
> 
> 
> I just want to replace the <b> tag for <strong> tag.
> 
> 
> Also, if anyone know how to put meta title, meta description and meta 
> keywork right after <head> tag?
> 
> 
> Thanks,
> John
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> 



More information about the TYPO3-english mailing list