Página 1 de 1
Posicionamiento google
Publicado: 21 Abr 2009, 01:00
por RedSpider
Hola a todos. Estoy intentando mejorar mi "page rank" que está por los suelos ...
He visto que hay un web para validarlo en
http://www.w3c.org" onclick="window.open(this.href);return false;, pero me salen 268 errores del tipo:
¿Alguna idea de porqué es? ¿Realmente hay algo mal en el código?
Gracias!
Re: Posicionamiento google
Publicado: 21 Abr 2009, 13:57
por dragoner
Pues sí, tienes un montón de errores de código.
268 errores en validator.w3.org tienes muchos, y si te fijas son sobre todo por la parte de publicidad y las modificaciones que has hecho a las plantillas MODs.
Lo bueno es que muchos de esos errores son en cascada, de manera que cuando soluciones uno, desarparecerán más de uno. En cuanto al posicionamiento y al PageRank, te diré algo que se repite en los foros de google casi tanto como aquí en cuanto a dar los datos de soporte. Y es que lo importante no es el PageRank, sino el contenido. (Algo que yo mismo no acabo de creerme)
Re: Posicionamiento google
Publicado: 21 Abr 2009, 14:57
por ljscodex
ya que ha salido el tema, estoy tratando de validar mi site pero tamben tengo bastantes errores pero hay algunos que no logro arreglar como por ejemplo estos:
# Line 239, column > 80: XML Parsing Error: EntityRef: expecting ';'
…si te queres anotar <a href="/ucp.php?i=pm&mode=compose&u=2" title="Envia un …
no entiendo que es lo que habria que hacer para solucionar el problema, alguno me podria dar una mano ?
Re: Posicionamiento google
Publicado: 21 Abr 2009, 15:17
por dragoner
ljscodex escribió:ya que ha salido el tema, estoy tratando de validar mi site pero tamben tengo bastantes errores pero hay algunos que no logro arreglar como por ejemplo estos:
# Line 239, column > 80: XML Parsing Error: EntityRef: expecting ';'
…si te queres anotar <a href="/ucp.php?i=pm&mode=compose&u=2" title="Envia un …
no entiendo que es lo que habria que hacer para solucionar el problema, alguno me podria dar una mano ?
No soy ningún experto en html ni en php, pero creo que ese problema lo solucioné. Verás, creo que se refiere a que no has puesto correctamente esa parte de la dirección. Si está en la barra del navegador el símbolo "&" es correcto, pero en código html parece que no (puede que alguien explique mejor el porqué). Cambia & por & de manera que la línea quedaría algo así como:
<a href="/ucp.php?i=pm&mode=compose&u=2" title="Envia un
Re: Posicionamiento google
Publicado: 21 Abr 2009, 15:38
por RedSpider
Yo no lo entiendo muy bien.
Por ejemplo:
# Error Line 116, Column 5: end tag for "br" omitted, but OMITTAG NO was specified
<br><div class="navbar">
✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
# Info Line 116: start tag was here
><br><div class="navbar">
A ver si algún experto en html dice algo. Parece que hay que cerrar con />, en vez de sólo con > ¿Es así?
Gracias.
Re: Posicionamiento google
Publicado: 21 Abr 2009, 16:08
por ljscodex
RedSpider escribió:Yo no lo entiendo muy bien.
Por ejemplo:
# Error Line 116, Column 5: end tag for "br" omitted, but OMITTAG NO was specified
<br><div class="navbar">
✉
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
# Info Line 116: start tag was here
><br><div class="navbar">
A ver si algún experto en html dice algo. Parece que hay que cerrar con />, en vez de sólo con > ¿Es así?
Gracias.
Dragoner muchas gracias he solucionado ese error.
RedSpider, creo que ese error es porque tienes que usar <br />
Sigo con otra duda:
# Line 1599, column 40: XML Parsing Error: Opening and ending tag mismatch: strong line 1599 and span
Fecha: <strong>20 Abr 2009, 12:46</span></strong><br />
Re: Posicionamiento google
Publicado: 21 Abr 2009, 18:58
por dragoner
ljscodex escribió:
Sigo con otra duda:
# Line 1599, column 40: XML Parsing Error: Opening and ending tag mismatch: strong line 1599 and span
Fecha: <strong>20 Abr 2009, 12:46</span></strong><br />
Si es fácil como esta creo que podré ayudarte. No puedes abrir una etiqueta, un span, abrir otra etiqueta, un strong, y cerrar la primera antes que la segunda... Creo que la línea buena sería:
Fecha: <strong>20 Abr 2009, 12:46
</strong></span><br />
Debes cerrar primero la última etiqueta que has abierto.
Re: Posicionamiento google
Publicado: 21 Abr 2009, 19:21
por ljscodex
si gracias dragoner, justo lo habia solucionao

Re: Posicionamiento google
Publicado: 21 Abr 2009, 20:38
por RedSpider
Tengo tal marabunta de errores que no sé por donde empezar.
No llego a comprender muy bien las explicaciones, y no es porque no entienda el inglés.
Por ejemplo:
<script language="javascript"/>
✉
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.
Agradecería un ayudita ... Gracias.
Otro ejemplo:
Line 36, Column 31: required attribute "type" not specified
<script language="javascript"/>
✉
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>.
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.
Re: Posicionamiento google
Publicado: 21 Abr 2009, 21:45
por dragoner
Estas líneas de la que hablas, están en este mismo foro, si las comparas encuentras que está mal:
En tu foro pone:
En phpbb-es.com pone:
Me parece que la parte importante son la línea 36 y 37. Yo probaría a cambiar esas dos primeras líneas.
Cambia:<script language="javascript"/> por <script type="text/javascript">
Cambia:/ <