Zurück   WordPress Deutschland Forum > Support > Konfiguration

Antwort
 
Themen-Optionen Ansicht
Alt 13.08.2005, 20:42   #1 (permalink)
PostRank: 2
 
Registriert seit: 07.08.2005
Beiträge: 61
Tags in WP nicht valide

Ich habe nun (auch mit unterschiedlichen Themes) festgestellt, dass sobald man im geschriebenen Text die im Admin Bereich zur Verfügung gestellten Tags wie ul li ol nutzt, der Code nicht mehr valide ist.
Warum ist das so?

Welche Tags soll man denn für z.b Aufzählungen, Einrückungen, etc. verwenden?
ültje ist offline   Mit Zitat antworten
Alt 14.08.2005, 12:22   #2 (permalink)
PostRank: 4
 
Registriert seit: 24.04.2005
Beiträge: 197
Ich weiß nicht was du hast, aber ich selbst nutze ol als Aufzählungszeichen in meinen Beiträgen und mein blOg ist trotzdem valide.
Hast du vielleicht einen Link zum besagtem Problem?

Gruß Bionic
__________________
.my_blOg http://bionic.kopfschmerzgenerator.de
Bionic ist offline   Mit Zitat antworten
Alt 14.08.2005, 13:01   #3 (permalink)
PostRank: 2
 
Registriert seit: 07.08.2005
Beiträge: 61
Komisch. Selbst mit dem Standard Theme habe ich diese Fehler.

Beispielsweise schreibe ich so etwas in meine Beitrag:
  1. Hier steht der austauschbare Test Text.


Error Line 143 column 5: character data is not allowed here.
Code:
  1. Hier steht der austauschbare Test Text
  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

    aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).



    Error Line 143 column 110: end tag for "ol" which is not finished.
    Code:
    ...Hier steht der austauschbare Test Text
    
Most likely, You nested tags and closed them in the wrong order. For example

[i]...</p> is not acceptable, as [i] must be closed before

. Acceptable nesting is:

...</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, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.

Eine URL zum Anschauen kann ich leider noch nicht nennen, da Intranet Testserver.
ültje ist offline   Mit Zitat antworten
Alt 14.08.2005, 13:42   #4 (permalink)
PostRank: 4
 
Registriert seit: 24.04.2005
Beiträge: 197
Die Fehlermeldung sagt doch eigentlich alles aus, sogar was du beachten musst.
Du darfst die[list=1] tags nicht einfach im Body Element drinstehen haben. Um dies zu Umgehen, schreibe deine Beiträge im Paragraph tag, sprich

Dein Beitrag
  1. Deine Aufzählung
</p>
Und schon hast auch du validen Code

Gruß Bionic
__________________
.my_blOg http://bionic.kopfschmerzgenerator.de
Bionic ist offline   Mit Zitat antworten
Alt 14.08.2005, 14:38   #5 (permalink)
PostRank: 2
 
Registriert seit: 07.08.2005
Beiträge: 61
Schön wärs. jetzt hagelt es noch weitaus mehr Fehler. Wozu sind denn die Tags über dem Schreib Feld, wenn man sie nicht nutzen kann?

Error Line 105 column 7: document type does not allow element "ol" here; missing one of "object", "ins", "del", "map", "button" start-tag.
<
Code:
[list=1]Hier steht der austauschbare Test Text
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "

" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").



Error Line 105 column 8: character data is not allowed here.
Code:
  1. Hier steht der austauschbare Test Text
  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

    aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).



    Error Line 105 column 113: end tag for "ol" which is not finished.
    Code:
    ...Hier steht der austauschbare Test Text
    
Most likely, You nested tags and closed them in the wrong order. For example

[i]...</p> is not acceptable, as [i] must be closed before

. Acceptable nesting is:

...</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, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.



Error Line 106 column 4: document type does not allow element "ol" here; missing one of "object", "ins", "del", "map", "button" start-tag.


  1. Error Line 107 column 0: character data is not allowed here.
    Code:
    Hier steht der austauschbare Test Text
    


    Error Line 107 column 322: end tag for "ol" which is not finished.
    Code:
    ... Hier steht der austauschbare Test Text
    
Code:
</p>
[/code]
ültje ist offline   Mit Zitat antworten
Alt 14.08.2005, 14:45   #6 (permalink)
PostRank: 4
 
Registriert seit: 24.04.2005
Beiträge: 197
Kannst du die komplette HTML Seite mal zeigen als Quellcode?
Ich kanns mir ehrlich gesagt nämlich nicht vorstellen, wieso der hier rummeckert.

Gruß Bionic
__________________
.my_blOg http://bionic.kopfschmerzgenerator.de
Bionic ist offline   Mit Zitat antworten
Alt 14.08.2005, 17:11   #7 (permalink)
WPD-Team
 
Benutzerbild von Monika
 
Registriert seit: 04.06.2005
Ort: INET
Beiträge: 6.919
doch ich schon

Code:
  1. text
  2. text2
also einen Text gleich nach dem ol zu schreiben ist genauso falsch wie einen Text gleich nach einem ul zu schreiben
beide brauchen dann den *Textumklammernden* li tag.


lg
Monika
Monika ist offline   Mit Zitat antworten
Alt 14.08.2005, 17:16   #8 (permalink)
PostRank: 4
 
Registriert seit: 24.04.2005
Beiträge: 197
Autsch, das hab ich totall verpennt.

Danke dir Monika für die Berichtigung
__________________
.my_blOg http://bionic.kopfschmerzgenerator.de
Bionic ist offline   Mit Zitat antworten
Alt 14.08.2005, 18:11   #9 (permalink)
PostRank: 2
 
Registriert seit: 07.08.2005
Beiträge: 61
Okay, nun habe ich es aufgrund Monikas Tipps wie folgt gemacht und nun ist es valide:

Code:
<ul>
	[*]Aufzählung 1[*]Aufzählung 2[/list]
Vielen Dank!

Wo ist denn der Unterscheid zwischen ol und ul ?

Trotz allen muss man aber sagen, dass man es als reiner Redakteur recht schwer mit WP hat.
Woher soll man wissen in welcher Reihenfolge man diese Tags wie und in welchem Fall setzen muss?

Das ist bei einem phpbb irgendwie besser gelöst.

Noch eine Frage: Wenn man einzelne Worte andersfarbig darstellen möchte, wie macht man das dann?
ültje ist offline   Mit Zitat antworten
Alt 14.08.2005, 21:25   #10 (permalink)
WPD-Team
 
Benutzerbild von Monika
 
Registriert seit: 04.06.2005
Ort: INET
Beiträge: 6.919
ol ergibt ein eListe mit
1,
2,3,4,

ul eine ungeordnete Liste


ja die Quicktags sind nicht einfach

doch es gibt ja auch Editoren,
guggste hier
ich habe den aber noch nicht getestet...
lg
Monika
Monika ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist aus.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
grafische Überschriften in Sidebar/Template Tags BZ Design 5 20.10.2005 09:38
[gelöst] XHTML 1.0 strict valide comments.php gesucht! ben Design 11 29.07.2005 00:44
Wohin mit den Meta Tags herb37 Konfiguration 2 02.05.2005 21:50
Übersetzung der Template Tags Olaf Deutschsprachige Dokumentation 12 14.04.2005 14:19
Feed nicht valide... mystery Konfiguration 5 24.03.2005 00:58


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:17 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 | Impressum | Ein Inpsyde.com Projekt