Initial add of defaria.com
[clearscm.git] / defaria.com / Jokes / taglines.php
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"\r
2    "http://www.w3.org/TR/html4/strict.dtd">\r
3 <html>\r
4 <head>\r
5   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
6   <meta name="GENERATOR" CONTENT="Mozilla/4.04 [en] (WinNT; U) [Netscape]">\r
7   <title>Jokes</title>\r
8   <link rel="stylesheet" type="text/css" media="screen" href="/css/Default.css">\r
9   <link rel="stylesheet" type="text/css" media="print" href="/css/Print.css">\r
10   <link rel="SHORTCUT ICON" href="http://defaria.com/favicon.ico" type="image/png">\r
11   <?php include "site-functions.php"?>\r
12   <?php include "oneliner.php"?>\r
13 </head>\r
14 <body>\r
15 \r
16 <div class="heading">\r
17   <h1 class="centered">Taglines</h1>\r
18 </div>\r
19 \r
20 <div id="content">\r
21   <?php \r
22   navigation_bar ("yes");\r
23   ?>\r
24 \r
25   <h2>Taglines</h2>\r
26 \r
27   <p>I like those funny one liners. You've probably seen many <i>Jokes\r
28   lists</i> emailed from friends and family before. I collect\r
29   them.</p>\r
30 \r
31   <p>At some point I had found a Perl script to generate a random\r
32   funny line from a list kept in a datafile. Later I found <a\r
33   href="http://tagzilla.mozdev.org/">Tagzilla</a> which works in\r
34   conjunction with <a href="http://mozilla.org">Mozilla</a> (and <a\r
35   href="http://www.mozilla.org/products/thunderbird/">Thunderbird</a>,\r
36   which is what I use) to tack on a <i>tagline</i> to and outgoing\r
37   email or news posting.</p>\r
38 \r
39   <p>Now I've organized my taglines in to a Tagzilla file\r
40   format. Tagzilla also allows you to simply highlite a tagline that\r
41   you see in email or on a web page and easily <i>steal</i> it into\r
42   your Tagzilla file. Thus my taglines will grow over time. I also\r
43   rewrote the Perl script to a PHP script called oneliner.php. It's\r
44   what generates the oneliner's that you see on my site. For\r
45   example:</p>\r
46 \r
47   <div class="box">\r
48     <?php oneliner ("no")?>\r
49   </div>\r
50 \r
51   <p>So when I steal a tagline it's automatically eligible to be\r
52   selected by the PHP script and my website. A simple parameterization\r
53   allows me to dump all my taglines here:</p>\r
54 \r
55   <?php\r
56   oneliner ("yes");\r
57   copyright ();\r
58   ?>\r
59 </div>\r
60 </body>\r
61 </html>\r