Berkeley CSUA MOTD:Entry 16874
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/03 [General] UID:1000 Activity:popular
4/3     

1999/11/14-15 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Misc] UID:16874 Activity:nil
11/12   Is there a way to write macros or functions in HTML?  For
        example, assume that I want something like
                #define author( person ) Created by <B> person </B>
        How would I do that?  Thanks.
        \_ <!--#include "person.html">
        \_ most people would think that you should know something about
           the way javascript does it, but there are also a lotta other ways
           that are web server / web server extension specific
        \_ No.  HTML is not a programming language.  Your web server
           probably has a built in scripting language you can use to generate
           HTML (or if, it's apache, a choice of dozens, like PHP & perl),
           but HTML itself has none.
           \_ or you can write your web page originals in a macro language
              (i.e. M4) and then run the macro processor to generate the
              HTML.  Server side includes as recommended above work but
              they do put a significant performance hit on the web server.
                \_ which is completely irrelevant for 99% of web servers. -tom
2025/04/03 [General] UID:1000 Activity:popular
4/3     

You may also be interested in these entries...
2008/4/15-23 [Computer/Companies/Google] UID:49755 Activity:high
4/15    Anyone got any random investment tips? I am kinda at a loss of what to do.
        Agriculture and energy are at record highs...
        \_ stockhouse.ca .. NOT - via NOSOF ... assay results coming in soon
        \_ I'm liking HRP, currently paying 12.2% dividend; there's some
           risk, but they shouldn't be as exposed to some of the macro
           issues as a lot of stocks.  Ex-div is coming up next week.
	...
2013/4/9-5/18 [Computer/SW/Mail, Academia/Berkeley/CSUA] UID:54647 Activity:nil
4/8     What's a good free e-mail provider? I don't want to use Gmail,
        Yahoo, Outlook, or any of those sites with features I never use that
        track my personal info and keep changing their interface. I want just
        simple e-mail without privacy issues or all the baggage these large,
        for-profit companies are adding. I might even be willing to pay.
        Recommendations?
	...