Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

RE: Parsing and Spewing CSS

by little (Curate)
on Nov 15, 2000 at 02:25 UTC ( [id://41656]=note: print w/replies, xml ) Need Help??


in reply to Parsing and Spewing CSS

Just in case you face a browser that doesn't support external stylesheets your script could decide whether to insert a link to a script that produces the stylesheet (as Fastolfe suggested) or to write the stylesheet within style tags directly into the document to deliver .
You probably don't need to use CSS::Parser as you know the possible fields in your stylesheet template that can have values. So simply read from the template, let Text::Template fill in the vars for you (which you might get via DBI::CSV or DBI::* whatever is comfy for you)
So all together with CGI.pm for the forms you need only "a needle" to put those parts together


Have a nice day
All decision is left to your taste

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://41656]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-25 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found