Menu

How to parse links

Help
2005-11-08
2012-07-18
  • tanisha Verma

    tanisha Verma - 2005-11-08

    Hi.
    My .css file contanis a cssRule with an attribute called link, like
    link: http://www.xyz.com;, when i tried to use cssparser, it just reads in link:http & stops over there, if i put this link under single quote like
    link: http:'//www.xyz.com';, then the parser can parse even the //www.xyz.com;, otherwise not. Please could anyone help me to solve this problem, without me changing the structre of each & every css files inorder to parse the link.
    thanks

     
    • tanisha Verma

      tanisha Verma - 2005-11-08

      Is there anyway to get an error, if cssparser is not able to parse any attribute(s). thanks

       
    • Alan Krueger

      Alan Krueger - 2005-11-08

      Please see http://www.w3.org/TR/CSS1#url

      You need to quote the URL with url(). That is,

      link: url(http://www.xyz.com);

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.