What is wrong with my DOCTYPE so that search engines are showing my markup?

Discussion in 'HTML & Website Design' started by TheHoff, Sep 21, 2005.

  1. #1
    DOCTYPE used:

    From: this VasoPro Reviews Page

    Search engines (both Y! and G) show my markup in the site description, like this:

    From: Yahoo! SERP

    I admit, I'm a noob when it comes to correctly declaring my document types. Edumacate me please.
     
    TheHoff, Sep 21, 2005 IP
  2. heapseo

    heapseo Peon

    Messages:
    636
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    your source code reads content="<em>Read unbiased customer reviews about VasoPro from Mega-Pro</em>">

    Just on the off chance you hadn't noticed and that had something to do with it.

    What makes you think its your doctype?
     
    heapseo, Sep 21, 2005 IP
    TheHoff likes this.
  3. TheHoff

    TheHoff Peon

    Messages:
    1,530
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Bah, good catch. It is my meta-tags, not the DOCTYPE. The metas are filled in dynamically and I'm filling them with markup accidentally. Thanks TTV!
     
    TheHoff, Sep 21, 2005 IP
  4. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #4
    Show us the news ..How did you made it, in the final ?

    Are you populating description the same as the title ?
     
    Cristian Mezei, Sep 21, 2005 IP
  5. TheHoff

    TheHoff Peon

    Messages:
    1,530
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    0
    #5

    The description is not the same as the title, but the description is the same as one line of text on the page.

    Title: PRODUCTNAME from COMPANY reviews
    Meta-description: Price comparisons and unbiased consumer reviews about PRODUCTNAME from COMPANY.

    And that meta-description is repeated once on the page as well. My problem was that I wasn't running strip_tags on the phrase before putting it in meta tags.

    I'm sorry, I don't understand your first question. Cheers.
     
    TheHoff, Sep 21, 2005 IP
  6. heapseo

    heapseo Peon

    Messages:
    636
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Anytime :D
     
    heapseo, Sep 21, 2005 IP