[TYPO3-UG Italy] Configurare correttamente i Meta-tag

Giulia Mora julythebest85 at hotmail.it
Tue Jan 29 13:05:25 CET 2008

Creato il mio template, vorrei formattarlo correttamente, ho alcune domande:
questo è il mio codice TS
### PAGINA ###
pagina = PAGE
pagina.10 < template
pagina.config.doctype = <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
pagina.includeJS {
file10 = fileadmin/template/swfobject.js
file10.type = text/javascript 
questo l'HTML generato<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_b1588447df.css" /> <link rel="stylesheet" type="text/css" href="fileadmin/template/style/stylesheet_standard.css" media="screen" /> <link rel="stylesheet" type="text/css" href="fileadmin/template/style/stylesheet_home.css" media="screen" /> <link rel="stylesheet" type="text/css" href="fileadmin/template/style/stylesheet_news.css" media="screen" /> <script src="fileadmin/template/swfobject.js" type="text/javascript"></script>
 <title>Home page</title> <meta name="generator" content="TYPO3 4.1 CMS" /> <script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script>
1 - Il charset=iso-8859-1 è giusto? (perchè è quello marcato nel template) e la validazione W3C mi da questo errore:
 Line 4, Column 74: character data is not allowed here.…" content="text/html; charset=iso-8859-1" />✉ You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include: 
putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>), or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes), or using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01 or earlier. To fix, remove the extra slash ('/') character. For more information about the reasons for this, see Empty elements in SGML, HTML, XML, and XHTML. 
2 - Che meta-tag mi consigliate di inserire neli mio template?
3 - Che codice TS devo utilizzare per inserire i meta-tag interessati?
Scarica GRATIS le tue emoticon preferite!

More information about the TYPO3-UG-italy mailing list