Plz Help- Can't Get RSS Feeds and Everytime I Try, WHAM- This little doosie

Discussion in 'JavaScript' started by Hijynx427, Jan 1, 2010.

  1. #1
    XML Parsing Error: duplicate attribute
    Location: http://www.mercurialmagic.com/
    Line Number 2, Column 54:<html lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">

    ok - I have NO experience with java, php, ajax or any of this - so if this is the wrong place in the forum, I apologize in advance.

    I was going with a Google AJAX produced code to insert RSS Feed results for search terms on a product I'm going to be selling. The site was testing properly up till this point. Once I put the code in and tried retesting the site, I got the error msg. above. I tried deleting the value in question at Line 2, everytime I go to save, the information I deleted is RIGHT back where it was again.

    Not sure what I'm doing wrong or how to fix it - this is the second time I set the entire site up b/c the FIRST time this happened, I figured it was a critical error and I just started all over again.

    Any help? Suggestions?

    Most importantly, a working code to insert an RSS feed to Ebay items for sale from a specific seller AND RSS feed for articles on hair styling?
     
    Hijynx427, Jan 1, 2010 IP
  2. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You declair lang twice in that line. Remove one of them. :)

    <html lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
     
    theapparatus, Jan 1, 2010 IP
  3. Hijynx427

    Hijynx427 Well-Known Member

    Messages:
    517
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Ok. Seriously, I'll delete the extra fragment of code, I'll go to save the file, it saves, goes back to the program and when I check the source, the extra fragment of code is in there STILL. It's a line of xml - I have no idea what could be causing it
     
    Hijynx427, Jan 1, 2010 IP
  4. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #4
    And this "program" that you're using would be? I know you mention that you;re using "Google AJAX produced code" but don't mention what exactly you;re using here. If whatever you;re using is causing the problem, then don;t use that program. It's as simple as that.

    That's the problem though:

    validator

    Which declare are you deleting? The first one or the second one? I have a feeling since we're mentioning character 54 that it;s the second one. Have you tried deleting the first one instead? Or the other way around?
     
    theapparatus, Jan 1, 2010 IP