line 20, column 85: title should not contain HTML: b (39 occurrences)

Discussion in 'XML & RSS' started by gregy1403, Jun 11, 2007.

  1. #1
    Hello!

    I have no idea what can be wrong here ... line 20 says

    <title>&lt;b&gt;Laibach&lt;/b&gt; &lt;br&gt;07.07.2007 - Stari Grad - Celje (22:00)</title>

    what is here html markup?

    Thanx a lot in advance

    P.s. totally new in RSS :eek: :cool:
     
    gregy1403, Jun 11, 2007 IP
  2. Midano

    Midano Peon

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    &lt; = <
    &gt; = >
    So you end up with a bolded piece and a <br> break. Which is HTML and is not allowed in valid RSS channel/title/description.
    <b>Laibach</b> <br>07.07.2007 - Stari Grad - Celje (22:00)
    HTML:
     
    Midano, Jun 11, 2007 IP
  3. gregy1403

    gregy1403 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hmm .. thanx .. i had this bold title beacuse of better (?) SEO .. or am i wrong and can i have title without bold tags .. but that br thing must be .. can i use other codes?
     
    gregy1403, Jun 12, 2007 IP
  4. Midano

    Midano Peon

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You wouldn't believe what people are trying to inject into their RSS titles and descriptions... Fonts, colors, inline CSS, images, links, Flash objects, JavaScripts... I ran into this while figuring out the best way to automatically add feeds to www.feedest.com database
    The bottomline is - the channel/title/description should be nothing but plain text. Otherwise your feed won't validate. Any self-respecting feed reader/aggregator (including feedest.com) will strip your title and description of anything that resembles an HTML tag.
     
    Midano, Jun 12, 2007 IP
  5. gregy1403

    gregy1403 Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well, my problem is that i had these bold tags for one year .. long before i came up with rss. Now i'm in doubt .. leave bold tags, or remove them with all products .. how would that affect on SEO
     
    gregy1403, Jun 13, 2007 IP
  6. Midano

    Midano Peon

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I don't know how your RSS is set up, but let's assume that the feed is created dynamically on-the-fly out of from some set of database records.
    If this is the case you might want to leave your titles as they are for your pages, but add a function that strips them for your RSS.
    You will have your desired partially bold titles with breaks on the front-end, and valid RSS.
     
    Midano, Jun 13, 2007 IP