« Return to Thread: typoscript to replace to tag

Re: Antwort: typoscript to replace <b> to <strong> tag

by John Sullivan-10 :: Rate this Message:

Reply to Author | View in Thread

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@...>
> An:
> typo3-english@...
> 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@...
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
>

_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

 « Return to Thread: typoscript to replace to tag