1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Valid Html

Discussion in 'HTML & Website Design' started by Papergrl, Mar 17, 2005.

  1. #1
    I'm trying to make my site valid html, but the script I'm using uses the "vendor proprietary extension" <config> does anyone know of a way I can convert this to make it valid?
     
    Papergrl, Mar 17, 2005 IP
  2. Lever

    Lever Deep Thought

    Messages:
    1,823
    Likes Received:
    94
    Best Answers:
    0
    Trophy Points:
    145
    #2
    What's the URL of the site in question, Papergrl?
     
    Lever, Mar 17, 2005 IP
  3. kyle422

    kyle422 Peon

    Messages:
    290
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    kyle422, Mar 17, 2005 IP
  4. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Papergrl, Mar 17, 2005 IP
  5. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I used tidy, but had to put <config> back in because my links change by the number of views
     
    Papergrl, Mar 17, 2005 IP
  6. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #6
    SEbasic, Mar 17, 2005 IP
  7. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I changed the &'s to &amp;, but everytime I preview it in my editor it changes back, I'm going to have to fix the &amp; everytime I edit my site :(
     
    Papergrl, Mar 17, 2005 IP
  8. Lever

    Lever Deep Thought

    Messages:
    1,823
    Likes Received:
    94
    Best Answers:
    0
    Trophy Points:
    145
    #8
    OK, I have to admit I've never seen that tag before... would it do any harm just to remove all instances of it? There's what 35/36 of them? Is it there because of CMS or what?

    I put the homepage somewhere else without the <config> tags and with adding
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    Code (markup):
    in the head, I got a validation (http://validator.w3.org/) down to 8 errors...
     
    Lever, Mar 17, 2005 IP
  9. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I tried what you said, replacing <config> with that code and it didn't work for me... what do I replace the </config> with?
     
    Papergrl, Mar 17, 2005 IP
  10. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Or did you mean just to put it in the heading and leave the <config>?
     
    Papergrl, Mar 17, 2005 IP
  11. Lever

    Lever Deep Thought

    Messages:
    1,823
    Likes Received:
    94
    Best Answers:
    0
    Trophy Points:
    145
    #11
    Drop the <config> tags, if you don't need them and make sure that meta tag is in your head tags, thenyou should be down to just 8 errors ;)
     
    Lever, Mar 17, 2005 IP
  12. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I tried it without the <config> tags and it won't work... This is what it actually looks like for me, then it spits out the 15 links from my category "symptom" with the most hits on the front page
    <!-- BEGIN TOPLIST 2 -->
    <CONFIG>links,hits,15,descending,type="symptom",,</CONFIG>
    <a class="mainlink" href="medical/detail/{LINKID}">{LINKTITLE}</a>{LINKADMIN}
    <br><br>
    <!-- END TOPLIST 2 -->
     
    Papergrl, Mar 17, 2005 IP
  13. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #13
    Is that what you see when editing in your IDE or is that what is being published?

    It seems to me that those codes are parsed by the IDE during publishing of the doc to HTML and should go away.

    If in fact they only appear after publishing and are not needed for parsing after publishing, then edit the html page in a text editor and remove all the <CONFIG> tags. The page should validate then.
     
    noppid, Mar 17, 2005 IP
  14. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    But when I take <config> out, it won't automatically sort for me
     
    Papergrl, Mar 17, 2005 IP
  15. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Is there another code I can use in the place of <config> that will do the same thing but be valid?
     
    Papergrl, Mar 17, 2005 IP
  16. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #16
    Is this one of those make your own website interfaces that is running on the host? For those tags to affect parsing on the server, we are not dealing with straight apache/web server IMO.

    If that is the case, you are at the mercy of their poor code.
     
    noppid, Mar 17, 2005 IP
  17. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    It's WSN Links http://www.wsnlinks.com/

    I'm afraid I'm just stuck without it being valid... I really wanted that little button too!

    Thanks for all of your help everyone!
     
    Papergrl, Mar 17, 2005 IP
  18. redking

    redking Member

    Messages:
    93
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #18
    What are you using to code the HTML?
     
    redking, Mar 17, 2005 IP
  19. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #19
    Write them and complain, this is not asking alot. Hope it works out for ya.
     
    noppid, Mar 17, 2005 IP
  20. Papergrl

    Papergrl Guest

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    It's in the program I use called WSN Links, I think it's CSS
     
    Papergrl, Mar 17, 2005 IP