Metatags abschließen

Gesperrt
jacke
Beiträge: 303
Registriert: Mi 25. Sep 2002, 19:37
Kontaktdaten:

Metatags abschließen

Beitrag von jacke » Mi 21. Dez 2011, 14:00

Hallo,

ich habe ein kleines Problem mit der Validierung unter http://validator.w3.org/
hier bekomme ich alle Fehler wegen fehlendem Endtag z.B.:

Code: Alles auswählen

Error Line 24, Column 45: end tag for "meta" omitted, but OMITTAG NO was specified

<meta name="revisit-after" content="1 week">

✉

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
Ich habe auch schon in den Funktionen nachgeschaut finde aber das ">" nicht um es zu "/>" ändern.

Danke schon mal!

Oldperl
Beiträge: 4256
Registriert: Do 30. Jun 2005, 22:56
Wohnort: Eltmann, Unterfranken, Bayern
Kontaktdaten:

Re: Metatags abschließen

Beitrag von Oldperl » Mi 21. Dez 2011, 14:24

Hallo,

in den Mandanteneinstellungen XHTML einschalten und eigene Meta-Tags im Layout mit dem Endtag "/>" versehen.

Gruß aus Franken

Ortwin
ConLite 2.1, alternatives und stabiles Update von Contenido 4.8.x unter PHP 7.x - Download und Repo auf Gitport.de
phpBO Search Advanced - das Suchwort-Plugin für CONTENIDO 4.9
Mein Entwickler-Blog

jacke
Beiträge: 303
Registriert: Mi 25. Sep 2002, 19:37
Kontaktdaten:

Re: Metatags abschließen

Beitrag von jacke » Mi 21. Dez 2011, 16:45

Vielen Dank!

das war ja einfach.

jetzt habe ich nur! noch drei Fehler. Wo könnten denn die ersten drei herkommen?

Code: Alles auswählen

    Error Line 27, Column 15: there is no attribute "charset"

    <meta charset="iso-8859-1" />

    ✉

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Error Line 27, Column 29: required attribute "content" not specified

    <meta charset="iso-8859-1" />

    ✉

    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
    Error Line 107, Column 22: end tag for "table" which is not finished

                  </table>

    ✉

    Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.
http://www.probstmühle.de

Oldperl
Beiträge: 4256
Registriert: Do 30. Jun 2005, 22:56
Wohnort: Eltmann, Unterfranken, Bayern
Kontaktdaten:

Re: Metatags abschließen

Beitrag von Oldperl » Mi 21. Dez 2011, 17:31

Hallo jacke,

1. Ich habe dir eine PN geschickt, bitte unbedingt lesen.

2. Deine Fragen werden eigentlich in den Fehlermeldungen beantwortet
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element.
The attribute given above is required for an element that you've used, but you have omitted it.
Hier passen offensichtlich Doctype und angewendetes Element nicht
Error Line 107, Column 22: end tag for "table" which is not finished
Deine Tabellendefinition entspricht wahrscheinlich nicht dem wie sie sein sollte. Eventuell fehlt ein tr- oder td-Element.

Gruß aus Franken

Ortwin
ConLite 2.1, alternatives und stabiles Update von Contenido 4.8.x unter PHP 7.x - Download und Repo auf Gitport.de
phpBO Search Advanced - das Suchwort-Plugin für CONTENIDO 4.9
Mein Entwickler-Blog

jacke
Beiträge: 303
Registriert: Mi 25. Sep 2002, 19:37
Kontaktdaten:

Re: Metatags abschließen

Beitrag von jacke » Mi 21. Dez 2011, 17:38

Danke, Signatur habe ich erst mal gelöschet.

Die Einträge im Quelltext macht aber contenido. WIe finde ich raus was richtig wäre und wo kann ich es in contenido ändern? Sprachenstellungen?

eine schönen Abend!

Oldperl
Beiträge: 4256
Registriert: Do 30. Jun 2005, 22:56
Wohnort: Eltmann, Unterfranken, Bayern
Kontaktdaten:

Re: Metatags abschließen

Beitrag von Oldperl » Mi 21. Dez 2011, 17:45

Hallo,

also die Signatur ist immer noch da. :roll:

Welche Einträge macht Contenido?

Gruß aus Franken

Ortwin
ConLite 2.1, alternatives und stabiles Update von Contenido 4.8.x unter PHP 7.x - Download und Repo auf Gitport.de
phpBO Search Advanced - das Suchwort-Plugin für CONTENIDO 4.9
Mein Entwickler-Blog

jacke
Beiträge: 303
Registriert: Mi 25. Sep 2002, 19:37
Kontaktdaten:

Re: Metatags abschließen

Beitrag von jacke » Do 22. Dez 2011, 17:16

Hallo,

ich habe die index auf der verseuchten Seite erst mal beseitigt. Ich meine den eintrag:

Code: Alles auswählen

<meta charset="iso-8859-1" />
der wird doch von contenido erzeugt.

Der table-Fehler kommt aus dem Navi oder Template hier wird kein <td> aufgemacht.

schönen Abend!

Dodger77
Beiträge: 3626
Registriert: Di 12. Okt 2004, 20:00
Wohnort: Voerde (Niederrhein)
Kontaktdaten:

Re: Metatags abschließen

Beitrag von Dodger77 » Do 22. Dez 2011, 20:28

Contenido macht das so aktuell nicht. Du hast wahrscheinlich:

http://forum.contenido.org/viewtopic.ph ... ilit=html5

im Einsatz. Das passt dort aber nicht, da die Website als XHTML 1.0 ausgeliefert wird.

jacke
Beiträge: 303
Registriert: Mi 25. Sep 2002, 19:37
Kontaktdaten:

Re: Metatags abschließen

Beitrag von jacke » Fr 23. Dez 2011, 13:46

werde mich wohl damit näher beschäftigen müssen.

Vielen Dank und schönes Weihnachten!
jacke

Gesperrt