bwkfanboy 1.4.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +7 -0
  3. data/Gemfile.lock +51 -0
  4. data/Procfile +1 -0
  5. data/README.rdoc +40 -77
  6. data/Rakefile +13 -48
  7. data/bin/bwkfanboy +47 -166
  8. data/bin/bwkfanboy_generate +7 -19
  9. data/bin/bwkfanboy_parse +21 -17
  10. data/bwkfanboy.gemspec +40 -0
  11. data/config.ru +3 -0
  12. data/doc/NEWS.rdoc +21 -79
  13. data/doc/plugin.rdoc +63 -79
  14. data/etc/bwkfanboy.yaml +2 -0
  15. data/etc/sinatra.rb +34 -0
  16. data/lib/bwkfanboy/cliconfig.rb +141 -0
  17. data/lib/bwkfanboy/cliutils.rb +114 -0
  18. data/lib/bwkfanboy/fetch.rb +22 -24
  19. data/lib/bwkfanboy/generator.rb +78 -0
  20. data/lib/bwkfanboy/home.rb +53 -0
  21. data/lib/bwkfanboy/meta.rb +5 -2
  22. data/lib/bwkfanboy/plugin.rb +247 -0
  23. data/lib/bwkfanboy/plugin_skeleton.erb +19 -23
  24. data/lib/bwkfanboy/server.rb +73 -0
  25. data/lib/bwkfanboy/utils.rb +39 -129
  26. data/plugins/bwk.rb +25 -0
  27. data/plugins/econlib.rb +22 -0
  28. data/plugins/freebsd-ports-update.rb +73 -0
  29. data/plugins/inc.rb +29 -0
  30. data/plugins/test.rb +29 -0
  31. data/public/.gitattributes +1 -0
  32. data/public/favicon.ico +0 -0
  33. data/public/jquery-1.7.2.min.js +0 -0
  34. data/public/list.js +111 -0
  35. data/public/loading.gif +0 -0
  36. data/public/style.css +54 -0
  37. data/shotgun.rb +20 -0
  38. data/test/example/.gitattributes +1 -0
  39. data/test/example/.gitignore +1 -0
  40. data/test/example/02/plugins/bwk.html +0 -0
  41. data/test/{plugins → example/02/plugins}/empty.rb +0 -0
  42. data/test/example/02/plugins/garbage.rb +1 -0
  43. data/test/example/02/plugins/inc.html +0 -0
  44. data/test/helper.rb +30 -27
  45. data/test/helper_cliutils.rb +34 -0
  46. data/test/test_cli.rb +86 -0
  47. data/test/test_fetch.rb +49 -18
  48. data/test/test_generate.rb +43 -16
  49. data/test/test_home.rb +33 -0
  50. data/test/test_plugin.rb +141 -0
  51. data/test/test_server.rb +21 -32
  52. data/views/list.haml +38 -0
  53. metadata +223 -110
  54. data/bin/bwkfanboy_fetch +0 -13
  55. data/bin/bwkfanboy_server +0 -126
  56. data/doc/README.erb +0 -114
  57. data/doc/README.rdoc +0 -141
  58. data/doc/TODO +0 -7
  59. data/doc/bwkfanboy_fetch.rdoc +0 -4
  60. data/doc/bwkfanboy_generate.rdoc +0 -7
  61. data/doc/bwkfanboy_parse.rdoc +0 -7
  62. data/doc/bwkfanboy_server.rdoc +0 -35
  63. data/doc/rakefile.rb +0 -59
  64. data/lib/bwkfanboy/generate.rb +0 -63
  65. data/lib/bwkfanboy/parser.rb +0 -156
  66. data/lib/bwkfanboy/plugins/bwk.rb +0 -33
  67. data/lib/bwkfanboy/plugins/econlib.rb +0 -34
  68. data/lib/bwkfanboy/plugins/freebsd-ports-update.rb +0 -76
  69. data/lib/bwkfanboy/plugins/inc.rb +0 -37
  70. data/lib/bwkfanboy/schema.js +0 -39
  71. data/test/popen4.sh +0 -4
  72. data/test/rake_git.rb +0 -36
  73. data/test/semis/Rakefile +0 -35
  74. data/test/semis/bwk.html +0 -393
  75. data/test/semis/bwk.json +0 -82
  76. data/test/semis/econlib.html +0 -21
  77. data/test/semis/inc.html +0 -1067
  78. data/test/semis/links.txt +0 -4
  79. data/test/test_parse.rb +0 -27
  80. data/test/xml-clean.sh +0 -8
  81. data/web/bwkfanboy.cgi +0 -36
@@ -1,393 +0,0 @@
1
-
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
3
- <html>
4
- <head>
5
- <title>Advanced Search - The Daily Princetonian</title>
6
-
7
-
8
- <meta name="verify-v1" content="c7qoNWjOCbM6VsVoyCwp9UtlfwUuTLQqQO6iivWPhX4=" />
9
-
10
-
11
- <meta name="robots" content="NONE,NOARCHIVE,NOINDEX,NOFOLLOW">
12
-
13
-
14
-
15
-
16
-
17
- <link rel="stylesheet" type="text/css" href="http://www.dailyprincetonian.com:8080/css/global/base.css">
18
- <link rel="shortcut icon" href="http://www.dailyprincetonian.com:8080/favicon.ico" type="image/x-icon">
19
-
20
- <link href="http://www.dailyprincetonian.com:8080/css/global/generic/base.css" type="text/css" rel="stylesheet">
21
-
22
-
23
-
24
-
25
-
26
- <!--[if IE]>
27
- <link href="http://www.dailyprincetonian.com:8080/css/global/ie_fixes.css" type="text/css" rel="stylesheet">
28
- <![endif]-->
29
- <!--[if lte IE 6]>
30
- <link href="http://www.dailyprincetonian.com:8080/css/global/ie6_fixes.css" type="text/css" rel="stylesheet">
31
- <![endif]-->
32
-
33
- -<script type="text/javascript" src="http://www.dailyprincetonian.com:8080/js/mootools/mootools.v1.11.stripped.js"></script>
34
- <script type="text/javascript" src="http://www.dailyprincetonian.com:8080/js/ExternalLinks.js"></script>
35
- <script type="text/javascript" src="http://www.dailyprincetonian.com:8080/js/BlogHeader.js"></script>
36
- <script type="text/javascript" src="http://www.dailyprincetonian.com:8080/js/SlideshowPreview.js"></script>
37
-
38
-
39
- <script type="text/javascript" src="http://www.dailyprincetonian.com:8080/js/TopArticles.js"></script>
40
-
41
-
42
-
43
- <script type='text/javascript' src='http://www.oncampusweb.com/delivery/spcjs.php?id=24'></script>
44
- </head>
45
-
46
- <body class="generic">
47
-
48
- <div id="outer">
49
- <a name="top"></a>
50
- <div id="inner" class="clearfix">
51
-
52
- <div id="header">
53
- <div id="topnav">
54
- <ul class="horizontal">
55
- <li class="img_over first ">
56
- <a href="/" id="topnav_front">Front</a>
57
- </li>
58
- <li class="img_over ">
59
- <a href="/section/news/" id="topnav_news">News</a>
60
- </li>
61
- <li class="img_over ">
62
- <a href="/section/sports/" id="topnav_sports">Sports</a>
63
- </li>
64
- <li class="img_over ">
65
- <a href="/section/opinion/" id="topnav_opinion">Opinion</a>
66
- </li>
67
- <li class="img_over ">
68
- <a href="/section/street/" id="topnav_street">Street</a>
69
- </li>
70
- <li class="img_over last ">
71
- <a href="/section/multimedia/" id="topnav_multimedia">Features/a>
72
- </li>
73
- </ul>
74
- </div>
75
- <div id="banner">
76
- <div id="banner_left">
77
- <div id="banner_main"><a href="/"><img alt="The Daily Princetonian" src="http://www.dailyprincetonian.com:8080/img/global/header/banner_main.png"></a></div>
78
- <div id="barnav">
79
-
80
- </div>
81
- </div>
82
- <div id="banner_right">
83
- <div id="todays_date">
84
- <div>
85
-
86
- <a href="/accounts/login/">Login</a> | <a href="/accounts/register/">Create Account</a>
87
-
88
- </div>
89
- <div>
90
- Thursday, October 28, 2010
91
- </div>
92
- </div>
93
- <div id="site_search">
94
- <form action="/search/results/" id="searchbox_009408986326468526729:v3avbqvedgq">
95
- <div id="site_search_top">
96
- <fieldset>
97
- <legend></legend>
98
- <input type="hidden" name="cx" value="009408986326468526729:v3avbqvedgq" checked="checked">
99
- <input type="hidden" name="cof" value="FORID:11">
100
- </fieldset>
101
- </div>
102
- <div id="site_search_bottom">
103
- <fieldset>
104
- <legend></legend>
105
- <input type="text" id="id_search_field" class="inputtext" name="q" value="">
106
- <input type="submit" id="id_search_submit" name="sa" value="Search" size="20">
107
- </fieldset>
108
- </div>
109
- </form>
110
- <a href="/advanced_search/">Advanced Search</a>
111
- <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_009408986326468526729%3Av3avbqvedgq"></script>
112
- </div>
113
- </div>
114
- </div>
115
- </div>
116
-
117
-
118
- <div id="content" class="cols-m1-s1">
119
- <div id="top_subheader">
120
-
121
-
122
- </div>
123
-
124
- <div id="bottom_subheader">
125
- <div id="weather" style="overflow: hidden; height: 90px; display: block; position: relative;">
126
- <div id="blog_header_top" style="margin-top: 5px; height: 20px;"><img src="http://www.dailyprincetonian.com:8080/img/global/header/blogs_top.png"></div>
127
- <div id="blog_header_content" style="position: relative; width: 750px; margin-bottom: 2px; height: 50px;">
128
- <a href="http://blogs.dailyprincetonian.com/" target="_blank"><img src="http://www.dailyprincetonian.com:8080/img/global/header/blog_header_prox.png" style="float:left;"></a>
129
- <a href="http://blogs.dailyprincetonian.com/" target="_blank"><img src="http://www.dailyprincetonian.com:8080/img/global/header/blog_header_prox.png" style="float:right;"></a>
130
- <a href="http://dpstreet.blogspot.com/" target="_blank"><img src="http://www.dailyprincetonian.com:8080/img/global/header/blog_header_intersections.png" style="float:right;"></a>
131
-
132
-
133
- </div>
134
- <div id="underweather">
135
-
136
- <a href="/feeds/"><img src="http://www.dailyprincetonian.com:8080/rss.png" alt="RSS Feeds" height="10px" width="10px"/>RSS</a>&nbsp;
137
- <a href="http://www.facebook.com/DailyPrincetonian" target="_blank"><img src="http://www.dailyprincetonian.com:8080/img/global/facebook.png" alt="Follow on Facebook" height="10px" width="10px" />Facebook</a>&nbsp;
138
- <a href="http://twitter.com/princetonian" target="_blank"><img src="http://www.dailyprincetonian.com:8080/img/global/twitter.png" alt="Follow on Twitter" height="10px" width="10px" />Twitter</a>&nbsp;
139
- <a href="/subscriptions/"><img src="http://www.dailyprincetonian.com:8080/favicon.png" alt="Subscribe to the E-Prince" height="10px" width="10px" />E-Prince</a>
140
-
141
- </div></div>
142
-
143
-
144
- <div id="subheader_content" class="ad">
145
- <script type='text/javascript'><!--//<![CDATA[
146
- var m3_u = (location.protocol=='https:'?'https://ads.dailyprincetonian.com/ads/www/delivery/ajs.php':'http://ads.dailyprincetonian.com/ads/www/delivery/ajs.php');
147
- var m3_r = Math.floor(Math.random()*99999999999);
148
- if (!document.MAX_used) document.MAX_used = ',';
149
- document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
150
- document.write ("?zoneid=8");
151
- document.write ('&amp;cb=' + m3_r);
152
- if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
153
- document.write ("&amp;loc=" + escape(window.location));
154
- if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
155
- if (document.context) document.write ("&context=" + escape(document.context));
156
- if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
157
- document.write ("'><\/scr"+"ipt>");
158
- //]]>--></script><noscript><a href='http://ads.dailyprincetonian.com/ads/www/delivery/ck.php?n=a9ca3c81&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.dailyprincetonian.com/ads/www/delivery/avw.php?zoneid=8&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a9ca3c81' border='0' alt='' /></a></noscript>
159
- </div>
160
-
161
- </div>
162
-
163
-
164
- <div id="content_main">
165
- <div id="generic_content">
166
-
167
- <div id="content_header">
168
- <h1>Advanced Search: Results</h1>
169
- </div>
170
- <div id="content_body">
171
-
172
- <p>Search returned 30 articles. </p>
173
-
174
-
175
- <div class="article_item">
176
- <h2><a href="/2010/10/25/26695/">We’re number one!</a> (2010-10-25) </h2>
177
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/1891/">Brian Kernighan GS '69</a></span></div>
178
- <div class="summary">Every August, US News &amp; World Report publishes a popular issue that ranks U.S. colleges and universities. If memory serves, Princeton has been ranked first in &ldquo;national universities&rdquo; for the past 10 or 11 years, with two exceptions. Several years ago we slipped to second place for a year, clearly ...</div>
179
- </div>
180
- <br>
181
-
182
-
183
- <div class="article_item">
184
- <h2><a href="/2010/09/27/26339/">Call me Ned</a> (2010-09-27) </h2>
185
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/1891/">Brian Kernighan GS '69</a></span></div>
186
- <div class="summary">The term &ldquo;Luddite,&rdquo; often aimed today at people who complain about new technology, comes from the (perhaps fictional) Ned Ludd. Ludd was said to have destroyed textile machinery to protest its negative effect on his livelihood and way of life during the early days of the industrial revolution in England. ...</div>
187
- </div>
188
- <br>
189
-
190
-
191
- <div class="article_item">
192
- <h2><a href="/2010/04/26/25984/">Friends and family</a> (2010-04-26) </h2>
193
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/1891/">Brian Kernighan GS '69</a></span></div>
194
- <div class="summary">Princeton has often seemed to me like a sort of big extended family. Like all families, some of the members are a bit odd and a few don&rsquo;t get along, but for the most part we have enough in common that we generally enjoy each other&rsquo;s company. This family feeling ...</div>
195
- </div>
196
- <br>
197
-
198
-
199
- <div class="article_item">
200
- <h2><a href="/2010/03/29/25630/">Action figures</a> (2010-03-29) </h2>
201
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/1891/">Brian Kernighan GS '69</a></span></div>
202
- <div class="summary">Last fall I read a most enjoyable book by Paul Collins, called &ldquo;The Book of William&rdquo; and subtitled &ldquo;How Shakespeare&rsquo;s First Folio Conquered the World.&rdquo; The First Folio was published in 1623, the first collection of all of Shakespeare&rsquo;s plays. The material was pulled together after his death by John ...</div>
203
- </div>
204
- <br>
205
-
206
-
207
- <div class="article_item">
208
- <h2><a href="/2010/02/22/25252/">Millions, billions, zillions</a> (2010-02-22) </h2>
209
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/441/">Brian Kernighan</a></span></div>
210
- <div class="summary">Big numbers are everywhere these days, what with lost jobs (millions), bailouts (billions), and the budget and its deficits (trillions). I think most of us don&rsquo;t grasp these numbers at all, to the point where words like million, billion and trillion have become synonyms for &ldquo;big,&rdquo; &ldquo;really big&rdquo; and &ldquo;really ...</div>
211
- </div>
212
- <br>
213
-
214
-
215
- <div class="article_item">
216
- <h2><a href="/2009/12/11/24725/">Letters to the Editor: Dec. 11, 2009</a> (2009-12-11) </h2>
217
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/1891/">Brian Kernighan GS '69</a>, <a href="http://www.dailyprincetonian.com/accounts/profile/1910/">Joshua Katz</a>, Jeremy Adelman, April Alliston, Sarah Anderson, Robert Bagley, Leonard Barkan, David Bellos, Daphne Brooks, Miguel Centeno, Edward Champlin, Maria DiBattista, Denis Fenney, John Gager, Alison Gammie, Anthony Grafton, Constanze Guthenke, Tom Hare, Robert Hollander, Andrew Houck, William Howarth, Norm Itzkowitz, Michael Jennings, Deborah Kaple, Robert Kaster, Stan Katz, Martin Kern, John Logan, Simone Marchesi, Alan Patten, Eileen Reeves, P. Adams Sitney, Christian Wildberg, and Froma Zeitlin</span></div>
218
- <div class="summary">Dissapointed by Ordiway &rsquo;81&rsquo;s dismissalRegarding &ldquo;Ordiway &rsquo;81 fired, effective June 2010&rdquo; (Thursday, Dec. 10, 2009):With regard to the story about Dean Frank Ordiway&rsquo;s departure from the University, we wish to express our enthusiastic support for him and our deep disappointment that he will not be here after this year. Frank ...</div>
219
- </div>
220
- <br>
221
-
222
-
223
- <div class="article_item">
224
- <h2><a href="/2009/11/23/24525/">A sense of where you are</a> (2009-11-23) </h2>
225
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/1891/">Brian Kernighan GS '69</a></span></div>
226
- <div class="summary">I was trekking across campus on a recent Sunday afternoon. It was a beautiful day, and the campus was dotted with tourists and students enjoying some sunlight and the last of the leaves still on the trees.A couple of about my age was standing in front of the chapel, holding ...</div>
227
- </div>
228
- <br>
229
-
230
-
231
- <div class="article_item">
232
- <h2><a href="/2009/10/19/24180/">Home alone</a> (2009-10-19) </h2>
233
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/1891/">Brian Kernighan GS '69</a></span></div>
234
- <div class="summary">There&rsquo;s a new phrase in the Princeton lexicon: &ldquo;self-isolation,&rdquo; the state of living alone to avoid infecting everyone else with swine flu. A variant form is also common, in e-mail that begins &ldquo;I&rsquo;m self-isolating...&rdquo;, followed by an apology for skipping class or missing an appointment, and often accompanied by a ...</div>
235
- </div>
236
- <br>
237
-
238
-
239
- <div class="article_item">
240
- <h2><a href="/2009/09/21/23842/">How was your summer?</a> (2009-09-21) </h2>
241
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/1891/">Brian Kernighan GS '69</a></span></div>
242
- <div class="summary">Very nice, thank you. Like many of you, I had both a vacation and a job. For part of the summer, my wife and I rented a house overlooking the upper Delaware River, one of those places that describe themselves as &ldquo;away from it all.&rdquo; Indeed it was. In the ...</div>
243
- </div>
244
- <br>
245
-
246
-
247
- <div class="article_item">
248
- <h2><a href="/2009/04/20/23449/">What makes smart phones smart?</a> (2009-04-20) </h2>
249
- <div class="authors">By <span class="authors_people"><a href="http://www.dailyprincetonian.com/accounts/profile/1891/">Brian Kernighan GS '69</a></span></div>
250
- <div class="summary">It&rsquo;s hard to sit through a meeting or go to a lecture these days without seeing someone lovingly stroking an iPhone, perhaps researching some vitally important topic or (much more likely) reading e-mail or playing a game. The iPhone was always a sexy toy, but it&rsquo;s become the geeky tool ...</div>
251
- </div>
252
- <br>
253
-
254
-
255
- <br>
256
-
257
- Page 1 of 3
258
-
259
- <a href = "?p=2&amp;author=Brian Kernighan">next > </a>
260
-
261
- </div>
262
-
263
- </div>
264
- </div>
265
-
266
-
267
-
268
- <div id="content_side">
269
-
270
-
271
-
272
-
273
-
274
- <div class="sidebar_item">
275
- <div class="ad ad_side">
276
- <script type='text/javascript'><!--//<![CDATA[
277
- var m3_u = (location.protocol=='https:'?'https://ads.dailyprincetonian.com/ads/www/delivery/ajs.php':'http://ads.dailyprincetonian.com/ads/www/delivery/ajs.php');
278
- var m3_r = Math.floor(Math.random()*99999999999);
279
- if (!document.MAX_used) document.MAX_used = ',';
280
- document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
281
- document.write ("?zoneid=3");
282
- document.write ('&amp;cb=' + m3_r);
283
- if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
284
- document.write ("&amp;loc=" + escape(window.location));
285
- if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
286
- if (document.context) document.write ("&context=" + escape(document.context));
287
- if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
288
- document.write ("'><\/scr"+"ipt>");
289
- //]]>--></script><noscript><a href='http://ads.dailyprincetonian.com/ads/www/delivery/ck.php?n=adcd45b1&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.dailyprincetonian.com/ads/www/delivery/avw.php?zoneid=3&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=adcd45b1' border='0' alt='' /></a></noscript>
290
- </div>
291
- </div>
292
-
293
-
294
- <div class="sidebar_item">
295
- <div class="popular_sidebar_header" style="color:grey;">
296
- MOST: &nbsp;
297
- <span id="most_viewed_header" class="header_selected" onClick="switchPopular(this)">Viewed </span> |
298
- <span id="most_emailed_header" class="header_unselected" onClick="switchPopular(this)">Emailed </span> |
299
- <span id="most_commented_header" class="header_unselected" onClick="switchPopular(this)">Commented </span>
300
- </div>
301
- <div id="popular_sidebar_content"></div>
302
- </div>
303
-
304
- <div class="sidebar_item">
305
- <div class="ad ad_side">
306
- <script type='text/javascript'><!--//<![CDATA[
307
- var m3_u = (location.protocol=='https:'?'https://ads.dailyprincetonian.com/ads/www/delivery/ajs.php':'http://ads.dailyprincetonian.com/ads/www/delivery/ajs.php');
308
- var m3_r = Math.floor(Math.random()*99999999999);
309
- if (!document.MAX_used) document.MAX_used = ',';
310
- document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
311
- document.write ("?zoneid=3");
312
- document.write ('&amp;cb=' + m3_r);
313
- if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
314
- document.write ("&amp;loc=" + escape(window.location));
315
- if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
316
- if (document.context) document.write ("&context=" + escape(document.context));
317
- if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
318
- document.write ("'><\/scr"+"ipt>");
319
- //]]>--></script><noscript><a href='http://ads.dailyprincetonian.com/ads/www/delivery/ck.php?n=adcd45b1&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://ads.dailyprincetonian.com/ads/www/delivery/avw.php?zoneid=3&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=adcd45b1' border='0' alt='' /></a></noscript>
320
- </div>
321
- </div>
322
-
323
- <div class="sidebar_item">
324
- <div id="recent_comments">
325
- <h5>Most Recent Comments</h5>
326
- <div id="recent_comments_list">
327
- </div>
328
- </div>
329
-
330
- </div>
331
-
332
-
333
- </div>
334
-
335
- <div id="footer">
336
- <ul>
337
- <li><a href="/join/">Join Our Team</a></li>
338
- <li><a class="rss_link" href="/feeds/">RSS</a></li>
339
- <li><a href="/archives/">Archives</a></li>
340
- <li><a href="http://dailyprincetonian.printroom.com/">Photo Store</a></li>
341
- <li><a href="/faq/">FAQ</a></li>
342
- <li class="last"><a href="http://open.dailyprincetonian.com/public/permissions_form.pdf">Reprints &amp; Permissions</a></li>
343
- </ul>
344
- <ul>
345
- <li class="first"><a href="/advertising/">Advertise</a></li>
346
- <li><a href="/subscriptions/">Subscriptions & Back Orders</a></li>
347
- <li><a href="/accounts/staff/">Staff &amp; Contributors</a></li>
348
- <li class="last"><a href="/feedback/">Contact Us</a></li>
349
- </ul>
350
- </div>
351
- </div>
352
- </div>
353
-
354
-
355
-
356
- <div id="copyright">
357
- <div class="right">
358
- <a href="/privacy/">Privacy Policy</a>
359
- </div>
360
- &copy; 2010 Daily Princetonian Publishing Company, Inc. All Rights Reserved.
361
- </div>
362
-
363
-
364
-
365
- <!-- Start of StatCounter Code -->
366
- <script type="text/javascript">
367
- var sc_project=4521550;
368
- var sc_invisible=1;
369
- var sc_partition=55;
370
- var sc_click_stat=0;
371
- var sc_security="de3490d1";
372
- </script>
373
-
374
- <script type="text/javascript"
375
- src="http://www.statcounter.com/counter/counter.js"></script>
376
- <!-- End of StatCounter Code -->
377
-
378
-
379
-
380
-
381
- <script type="text/javascript">
382
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
383
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
384
- </script>
385
- <script type="text/javascript">
386
- try {
387
- var pageTracker = _gat._getTracker("UA-2969627-1");
388
- pageTracker._trackPageview();
389
- } catch(err) {}</script>
390
-
391
-
392
- </body>
393
- </html>
@@ -1,82 +0,0 @@
1
- {
2
- "channel": {
3
- "updated": "2010-04-26T00:00:00+00:00",
4
- "id": "html\/bwk.html",
5
- "author": "bwkfanboy",
6
- "title": "Brian Kernighan's articles from Daily Princetonian",
7
- "link": "html\/bwk.html",
8
- "x_entries_content_type": "html"
9
- },
10
- "x_entries": [
11
- {
12
- "title": "Friends and family",
13
- "link": "http:\/\/www.dailyprincetonian.com\/2010\/04\/26\/25984\/print",
14
- "updated": "2010-04-26T00:00:00+00:00",
15
- "author": "Brian Kernighan GS '69",
16
- "content": "Princeton has often seemed to me like a sort of big extended family. Like all families, some of the members are a bit odd and a few don\u2019t get along, but for the most part we have enough in common that we generally enjoy each other\u2019s company. This family feeling ..."
17
- },
18
- {
19
- "title": "Action figures",
20
- "link": "http:\/\/www.dailyprincetonian.com\/2010\/03\/29\/25630\/print",
21
- "updated": "2010-03-29T00:00:00+00:00",
22
- "author": "Brian Kernighan GS '69",
23
- "content": "Last fall I read a most enjoyable book by Paul Collins, called \u201cThe Book of William\u201d and subtitled \u201cHow Shakespeare\u2019s First Folio Conquered the World.\u201d The First Folio was published in 1623, the first collection of all of Shakespeare\u2019s plays. The material was pulled together after his death by John ..."
24
- },
25
- {
26
- "title": "Millions, billions, zillions",
27
- "link": "http:\/\/www.dailyprincetonian.com\/2010\/02\/22\/25252\/print",
28
- "updated": "2010-02-22T00:00:00+00:00",
29
- "author": "Brian Kernighan",
30
- "content": "Big numbers are everywhere these days, what with lost jobs (millions), bailouts (billions), and the budget and its deficits (trillions). I think most of us don\u2019t grasp these numbers at all, to the point where words like million, billion and trillion have become synonyms for \u201cbig,\u201d \u201creally big\u201d and \u201creally ..."
31
- },
32
- {
33
- "title": "Letters to the Editor: Dec. 11, 2009",
34
- "link": "http:\/\/www.dailyprincetonian.com\/2009\/12\/11\/24725\/print",
35
- "updated": "2009-12-11T00:00:00+00:00",
36
- "author": "Brian Kernighan GS '69",
37
- "content": "Dissapointed by Ordiway \u201981\u2019s dismissalRegarding \u201cOrdiway \u201981 fired, effective June 2010\u201d (Thursday, Dec. 10, 2009):With regard to the story about Dean Frank Ordiway\u2019s departure from the University, we wish to express our enthusiastic support for him and our deep disappointment that he will not be here after this year. Frank ..."
38
- },
39
- {
40
- "title": "A sense of where you are",
41
- "link": "http:\/\/www.dailyprincetonian.com\/2009\/11\/23\/24525\/print",
42
- "updated": "2009-11-23T00:00:00+00:00",
43
- "author": "Brian Kernighan GS '69",
44
- "content": "I was trekking across campus on a recent Sunday afternoon. It was a beautiful day, and the campus was dotted with tourists and students enjoying some sunlight and the last of the leaves still on the trees.A couple of about my age was standing in front of the chapel, holding ..."
45
- },
46
- {
47
- "title": "Home alone",
48
- "link": "http:\/\/www.dailyprincetonian.com\/2009\/10\/19\/24180\/print",
49
- "updated": "2009-10-19T00:00:00+00:00",
50
- "author": "Brian Kernighan GS '69",
51
- "content": "There\u2019s a new phrase in the Princeton lexicon: \u201cself-isolation,\u201d the state of living alone to avoid infecting everyone else with swine flu. A variant form is also common, in e-mail that begins \u201cI\u2019m self-isolating...\u201d, followed by an apology for skipping class or missing an appointment, and often accompanied by a ..."
52
- },
53
- {
54
- "title": "How was your summer?",
55
- "link": "http:\/\/www.dailyprincetonian.com\/2009\/09\/21\/23842\/print",
56
- "updated": "2009-09-21T00:00:00+00:00",
57
- "author": "Brian Kernighan GS '69",
58
- "content": "Very nice, thank you. Like many of you, I had both a vacation and a job. For part of the summer, my wife and I rented a house overlooking the upper Delaware River, one of those places that describe themselves as \u201caway from it all.\u201d Indeed it was. In the ..."
59
- },
60
- {
61
- "title": "What makes smart phones smart?",
62
- "link": "http:\/\/www.dailyprincetonian.com\/2009\/04\/20\/23449\/print",
63
- "updated": "2009-04-20T00:00:00+00:00",
64
- "author": "Brian Kernighan GS '69",
65
- "content": "It\u2019s hard to sit through a meeting or go to a lecture these days without seeing someone lovingly stroking an iPhone, perhaps researching some vitally important topic or (much more likely) reading e-mail or playing a game. The iPhone was always a sexy toy, but it\u2019s become the geeky tool ..."
66
- },
67
- {
68
- "title": "Gladly learn, and gladly teach",
69
- "link": "http:\/\/www.dailyprincetonian.com\/2009\/03\/23\/23097\/print",
70
- "updated": "2009-03-23T00:00:00+00:00",
71
- "author": "Brian Kernighan",
72
- "content": "More than a dozen years ago, I taught for one semester at Harvard. A good friend was taking her sabbatical and asked me to take over her course. This was well before I came to Princeton, and, though I had done occasional adjunct teaching, I had never spent real time ..."
73
- },
74
- {
75
- "title": "Washington crossings",
76
- "link": "http:\/\/www.dailyprincetonian.com\/2009\/02\/16\/22750\/print",
77
- "updated": "2009-02-16T00:00:00+00:00",
78
- "author": "Brian Kernighan GS '69",
79
- "content": "Editor's note appended \u00a0There are only two groups who routinely ignore the traffic lights on Washington Road: drivers and pedestrians.Almost every day I cross Washington Road several times. In the early morning when there\u2019s hardly anyone around, drivers rocket by at 50 or 60 miles per hour and feel completely ..."
80
- }
81
- ]
82
- }