Sorry

This feed does not validate.

Source: http://justkidding.com/feeds/rss.xml

  1. <?
  2. //init
  3. if (!$siteCode){$siteCode='main';}
  4. $channelCode='rss2'; $loginRequired='false'; $updatelastGoodURL='false';  include('../control/channelInitPages.php');
  5. $test="A
  6. B"; $frontierTab=substr($test, 2,1); $frontierBreak=substr($test, 1, 1);
  7. /*
  8. header("Content-type: text/xml");
  9. header("Accept-Ranges: bytes");
  10. header('ETag: "10d0b2-2d2b-42910f31"');
  11. header("Content-type: text/xml");
  12. */
  13. $mime="text/xml";
  14. $charset="iso-8859-1";
  15. header("Content-Type: $mime;charset=$charset");
  16.  
  17. $datePattern="D, d M Y H:i:s";
  18. $today8522=date($datePattern)." EST";
  19. $starterItem="";
  20. $blockTemplate="
  21. <?xml version='1.0' encoding='iso-8859-1'?>
  22. <rss version='2.0'>
  23. <channel>
  24. <title>Justkidding.com</title>
  25. <link>http://justkidding.com/</link>
  26. <description>Political Wisdom and Vitriole</description>
  27. <language>en-us</language>
  28. <pubDate>$today8522</pubDate>
  29. <lastBuildDate>$today8522</lastBuildDate>
  30. <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  31. <managingEditor>[email protected]</managingEditor>
  32. <webMaster>[email protected]</webMaster>
  33. $starterItem
  34. <!itemText!>
  35. </channel>
  36. </rss>
  37. ";
  38. $itemTemplate="
  39. <item>
  40. <link>http://justkidding.com/info.php?storyID=<!itemID!></link>
  41. <title><!entitiesHead!></title>
  42. <description>
  43. &lt;DIV style='color:red; font-size:14pt; font-weight:600;margin-bottom:10pt;margin-top:10pt;'&gt;<!headline!>&lt;/DIV&gt;
  44. <!entitiesBody!>
  45. </description>
  46. <pubDate><!today8522!></pubDate>
  47. <guid>http://justkidding.com/info.php?storyID=<!itemID!></guid>
  48. </item>
  49. ";
  50. $itemTemplate="
  51. <item>
  52. <link>http://justkidding.com/info.php?storyID=<!itemID!></link>
  53. <title><!entitiesHead!></title>
  54. <description>
  55. <!entitiesBody!>
  56. </description>
  57. <pubDate><!today8522!></pubDate>
  58. <guid>http://justkidding.com/info.php?storyID=<!itemID!></guid>
  59. </item>
  60. ";
  61. $channelCode='topics';
  62. //set up channel call
  63. //$outString=str_replace(chr(34), "&quot;", $outString);
  64. //$outString=str_replace(chr(39), "&apos;", $outString);
  65. $inEvalArrays['calc']['entitiesBody']='
  66. $outString=processText($recordArray["bodyText"], $recordArray["autoParagraphs"], $recordArray["processOutLine"], $recordArray["activeURLs"], $recordArray["keepLineBreaksFlag"]);
  67. $outString=htmlentities($outString).$frontierBreak.$frontierBreak;
  68. return($outString);
  69. ';
  70. $inEvalArrays['calc']['entitiesHead']='
  71. $outString=processText($recordArray["headline"], $recordArray["autoParagraphs"], $recordArray["processOutLine"], $recordArray["activeURLs"], $recordArray["keepLineBreaksFlag"]);
  72. $outString=htmlentities($outString).$frontierBreak.$frontierBreak;
  73. return($outString);
  74. ';
  75. $inEvalArrays['calc']['today8522']='
  76. $datePattern="D, d M Y H:i:s";
  77. return(date($datePattern, "<!creationTime!>")." EST");
  78. ';
  79. $inParmArray["siteCode"]=$siteCode;
  80. $inParmArray["siteCode"]=$siteCode;
  81. $inCtlArray["count"]=20;
  82. //$inCtlArray["startRec"]=17;
  83. //$inCtlArray["debug"]='true';
  84. $inCtlArray["blockTemplate"]=$blockTemplate;
  85. $inCtlArray["itemTemplate"]=$itemTemplate;
  86. //$inCtlArray['itemTemplate']="<!itemID!><HR>";
  87. //$outString=$channelLink->getChannel2($channelCode, $inCtlArray, $inParmArray, $inEvalArrays, $inDataArrays);
  88.  
  89. $queryString="siteCode='{$inParmArray["siteCode"]}'  and (channelCode='topics' or channelCode='connections') order by creationTime DESC limit 0, {$inCtlArray["count"]}";
  90.  
  91. $channelRecordArray=$channelLink->getRecordSetQuery($queryString);
  92. $outString=processTemplateArray($inCtlArray["itemTemplate"], $channelRecordArray);
  93. //character cleanup for javascript
  94. $inx=0; //prepare array to clean up text
  95. $patternArray[$inx]=$frontierBreak.$frontierTab; $replaceArray[$inx]=""; $inx++; //get rid of frontier-based code readability carriage returns
  96. $patternArray[$inx]=$cr; $replaceArray[$inx]="<BR>"; $inx++;
  97. $patternArray[$inx]="'"; $replaceArray[$inx]="&#39;"; $inx++;
  98. $patternArray[$inx]=chr(8216); $replaceArray[$inx]="&#39;"; $inx++;
  99. $patternArray[$inx]=chr(8217); $replaceArray[$inx]="&#39;"; $inx++;
  100. $patternArray[$inx]=chr(9); $replaceArray[$inx]=""; $inx++;
  101. $patternArray[$inx]=chr(10); $replaceArray[$inx]=""; $inx++;
  102. $patternArray[$inx]=chr(0); $replaceArray[$inx]=""; $inx++;
  103. $patternArray[$inx]=chr(11); $replaceArray[$inx]=""; $inx++;
  104. $patternArray[$inx]=chr(92); $replaceArray[$inx]=""; $inx++;
  105. $patternArray[$inx]=$frontierBreak; $replaceArray[$inx]=""; $inx++;
  106. $patternArray[$inx]=$frontierTab; $replaceArray[$inx]=""; $inx++;
  107. $outString=str_replace($patternArray, $replaceArray, $outString);
  108.  
  109. $outString=str_replace("<!itemText!>", $outString, $inCtlArray["blockTemplate"]);
  110.  
  111.  
  112. $bodyTextString=$outString;
  113. //clean breaks and tabs
  114. $test="A
  115. B"; $frontierTab=substr($test, 2,1); $frontierBreak=substr($test, 1, 1);
  116. //$bodyTextString=str_replace($frontierBreak, "", $bodyTextString); //<P>
  117. $bodyTextString=str_replace($frontierTab, "", $bodyTextString); //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  118. /*
  119. $outString='
  120. <?xml version="1.0" encoding="iso-8859-1"?>
  121. <rss version="2.0"
  122. xmlns:dc="http://purl.org/dc/elements/1.1/"
  123. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  124. xmlns:admin="http://webns.net/mvcb/"
  125. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  126. <channel>
  127. <title>MacSlash</title>
  128. <link>http://macslash.org</link>
  129. <description>A daily dose of Macintosh news and discussion</description>
  130. <dc:creator>Various</dc:creator>
  131. <dc:date>2005-05-22T23:01:03-08:00</dc:date>
  132. <admin:generatorAgent rdf:resource="http://macslash.org" />
  133. <sy:updatePeriod>hourly</sy:updatePeriod>
  134. <sy:updateFrequency>1</sy:updateFrequency>
  135. <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
  136. <item>
  137. <title>A Look Back At Copland</title>
  138. <link>http://macslash.org/article.pl?sid=05/05/21/145247</link>
  139. <description>&lt;A HREF="mailto:[email protected]"&gt;Anonymous Coward&lt;/A&gt; writes &lt;i&gt;"Apple felt threatened by the pending release of Windows 95.&amp;nbsp; It had preemptive multitasking, and was heralded by many magazines as "easy to use as Mac".&amp;nbsp; Apple started he Copland project to respond.&amp;nbsp; It was to have had live searches, full multitasking and all of Apples next generation technologies.&amp;nbsp; The project was canned in 1996 at the behest of Gil Amelio, though many of its technologies were eventually included in the OS.&amp;nbsp; Read about it at &lt;A HREF="http://mlagazine.com/modules.php?op=modload&amp;amp;name=News&amp;amp;file=article&amp;amp;sid=150&amp;amp;mode=thread&amp;amp;order=0&amp;amp;thold=0"&gt;MLAgazine&lt;/A&gt;."&lt;/i&gt;</description>
  140. <guid isPermaLink="false">05/05/21/[email protected]://macslash.org/article.pl?sid=05/05/21/145247</guid>
  141. <dc:subject>lets-do-the-time-warp-again</dc:subject>
  142. <dc:date>2005-05-21T14:05:36-08:00</dc:date>
  143. </item>
  144. <item>
  145. <title>Mac OS X Compatible Document Scanners?</title>
  146. <link>http://macslash.org/article.pl?sid=05/05/20/1422209</link>
  147. <description>&lt;A HREF="mailto:[email protected]"&gt;jabberwocky&lt;/A&gt; writes &lt;i&gt;"Can anybody recommend a tried and tested solution for document scanning under OSX? Duplex scanning and automatic paper feeding are a necessity, ethernet connectivity preferred over USB/FireWire. The aim is to digitize an archive of a few hundred documents (mostly multi-page and double-sided photocopies of articles from scientific journals). Im willing to purchase a simple document-management software separately if necessary. Please report actual experience, Ive gone through the brochures of most vendors. And Ive contacted several hardware suppliers (Canon, HP, Avision, all of which recommend Mac agnostic dealers) and local Mac shops (who unfortunately dont have any document management knowledge).P.S. Im aware of the docu mgmt thread &lt;A HREF="http://macslash.org/article.pl?sid=04/10/22/1134232"&gt;http://macslash.org/article.pl?sid=04/10/22/113423 2&lt;/A&gt; and scanstore.com)."&lt;/i&gt;</description>
  148. <guid isPermaLink="false">05/05/20/[email protected]://macslash.org/article.pl?sid=05/05/20/1422209</guid>
  149. <dc:subject>getting-rid-of-the-paper-trail</dc:subject>
  150. <dc:date>2005-05-21T10:21:45-08:00</dc:date>
  151. </item>
  152. <item>
  153. <title>External Hard Drives: Firewire 800 vs. Firewire 400</title>
  154. <link>http://macslash.org/article.pl?sid=05/05/20/1419236</link>
  155. <description>dwiize writes &lt;i&gt;"My job involves producing promo videos for a small non-profit  organization. Naturally, I use Macs and Final Cut Pro. Im looking to buy an external firewire hard drive for backup, storage, and faster filesharing (between Macs, faster than network) of video and FCP files. Im debating whether to go for firewire 400 or firewire 800. What do you think? Is the extra data transfer speed worth the extra cash for firewire 800? Where does USB 2.0 fit into the picture, if at all. And as a side question, what do you think is a good disk size - Im leaning toward 250GB at the minimum. I dont want to cost the organization more than is necessary."&lt;/i&gt; Lots of FW800 enclosures also have a a FW400 connector, which is nice for backwards compatibility. Id say go with the FW800, especially if youre planning on using it for video. Ive got a &lt;a href="http://www.wiebetech.com/products/Baydock800.php"&gt;WiebeTech Quad BayDock 800&lt;/a&gt; at my office and I love it so much Im thinking of getting another for home.</description>
  156. <guid isPermaLink="false">05/05/20/[email protected]://macslash.org/article.pl?sid=05/05/20/1419236</guid>
  157. <dc:subject>go-for-the-speed</dc:subject>
  158. <dc:date>2005-05-20T20:18:54-08:00</dc:date>
  159. </item>
  160. <item>
  161. <title>Darwin 8.1 Source Code Posted</title>
  162. <link>http://macslash.org/article.pl?sid=05/05/20/1541221</link>
  163. <description>Trollaxor writes, &lt;i&gt;"The sources for Darwin 8.1, which correspond to Mac OS X 10.4.1, are &lt;a href="http://www.opensource.apple.com/darwinsource/10.4.1/"&gt;available for download&lt;/a&gt;."&lt;/i&gt;</description>
  164. <guid isPermaLink="false">05/05/20/[email protected]://macslash.org/article.pl?sid=05/05/20/1541221</guid>
  165. <dc:subject>the-dark-side-of-the-source</dc:subject>
  166. <dc:date>2005-05-20T15:40:31-08:00</dc:date>
  167. </item>
  168. <item>
  169. <title>Xbox 360 Games On The G5</title>
  170. <link>http://macslash.org/article.pl?sid=05/05/20/1414246</link>
  171. <description>&lt;A HREF="http://jordanriceATgmail.com"&gt;NetCurl&lt;/A&gt; writes &lt;i&gt;"I wonder if well be able to play a much wider variety of games under Mac OS X in the near future? While browsing &lt;A HREF="http://www.anandtech.com/"&gt;anandtech.com&lt;/A&gt; today, I found &lt;A HREF="http://www.anandtech.com/tradeshows/showdoc.aspx?i=2420&amp;amp;p=5"&gt;this article&lt;/A&gt;.  Yup, Xbox 360 games at E3, played on G5s.  This could shake things up if we can get hold of the tools to run a wide variety of new (and old?) Xbox games."&lt;/i&gt;</description>
  172. <guid isPermaLink="false">05/05/20/[email protected]://macslash.org/article.pl?sid=05/05/20/1414246</guid>
  173. <dc:subject>let-the-conspiracy-theories-begin</dc:subject>
  174. <dc:date>2005-05-20T14:14:13-08:00</dc:date>
  175. </item>
  176. <item>
  177. <title>Is Steve Jobs The Frank Lloyd Wright Of Computers?</title>
  178. <link>http://macslash.org/article.pl?sid=05/05/20/1412248</link>
  179. <description>&lt;A HREF="http://www.osviews.com"&gt;Kelly McNeill&lt;/A&gt; writes &lt;i&gt;"Frank Lloyd Wright is often said to be a genius of architecture, yet despite all his genius, he insisted that his idealistic designs were maintained if even it were to the detriment of some functionality. In essence, when push came to shove, form trumped function in Frank Lloyd Wrights eyes. David K. Every submitted the following editorial to osOpinion/osViews, which &lt;A HREF="http://osviews.com/modules.php?op=modload&amp;amp;name=News&amp;amp;file=article&amp;amp;sid=4441"&gt;draws parallels&lt;/A&gt; between Frank Lloyd Wrights philosophy for design and that of Apples Steve Jobs"&lt;/i&gt; Living in Scottsdale where a lot of FLW designs are located I gotta say I hate his designs, but the only design I hated from Apple was the puck mouse, and I guess the Flower Power iMacs. :)</description>
  180. <guid isPermaLink="false">05/05/20/[email protected]://macslash.org/article.pl?sid=05/05/20/1412248</guid>
  181. <dc:subject>the-crazy-ones...</dc:subject>
  182. <dc:date>2005-05-20T14:11:09-08:00</dc:date>
  183. </item>
  184. <item>
  185. <title>Apple Recalling Batteries</title>
  186. <link>http://macslash.org/article.pl?sid=05/05/20/1025229</link>
  187. <description>According to &lt;a href="http://www.macworld.com/news/2005/05/20/recall/index.php?lsrc=mwrss"&gt;Macworld&lt;/a&gt;, Apple is recalling batteries that shipped in both PowerBooks and iBooks. Apparently the batteries in affected portables have an internal short in them that can cause overheating, posing a fire hazard. Happily, my sweet-sweet PowerBook is not on the affected list: &lt;a href="https://depot.info.apple.com/batteryexchange/index.html?lang=en"&gt;check yours now&lt;/a&gt;.</description>
  188. <guid isPermaLink="false">05/05/20/[email protected]://macslash.org/article.pl?sid=05/05/20/1025229</guid>
  189. <dc:subject>zzzzt!-zzzz-zzzzt!</dc:subject>
  190. <dc:date>2005-05-20T10:20:03-08:00</dc:date>
  191. </item>
  192. <item>
  193. <title>Still Have Bugs In Tiger?</title>
  194. <link>http://macslash.org/article.pl?sid=05/05/20/106242</link>
  195. <description>Over at &lt;a href="http://www.daringfireball.net"&gt;Daring Fireball&lt;/a&gt;, John Gruber has been pointing out how buggy Tiger has proven to be. His example of the blank dialogue box is pretty darned funny, but it reminded me of the one Tiger bug that keeps nibbling my butt: dropped connections in Safari. This seems to happen most often on sites where I log in. When I hit Return to log in, I immediately get one of the new-fangled Safari error pages, notifying me that the network connection has become unavailable. When I reload, I get the login page again, and I can usually get in. Very annoying behaviour! Have you seen this in your own experience? What other bugs have you discovered in Tiger that are driving you nuts?</description>
  196. <guid isPermaLink="false">05/05/20/[email protected]://macslash.org/article.pl?sid=05/05/20/106242</guid>
  197. <dc:subject>what-id-give-for-a-can-of-off</dc:subject>
  198. <dc:date>2005-05-20T10:00:14-08:00</dc:date>
  199. </item>
  200. <item>
  201. <title>Mac OS X Controlled Home Audio System?</title>
  202. <link>http://macslash.org/article.pl?sid=05/05/17/2018226</link>
  203. <description>piperepip writes &lt;i&gt;"I am a computer consultant and lately I have been receiving more and more calls from my higher-end clients to setup wholly automated, digital music systems.  My first instinct was to setup a Mac running iTunes an rip my clients CDs to the computer.  The computer is then hooked into the stereo either by cable or through an Airport Express - pretty standard.  So far my clients have LOVED the setup!&lt;BR&gt; &lt;BR&gt;
  204. Recently, though, a client asked me if I could setup his stereo system so that the Mac could also control his stereo components.  He wants to have his G4 Cube as the center of his media system, with his plasma screen setup as the screen and wireless keyboard and mouse.  He wants to be able to use his keyboard and mouse to change stations on the radio, raise and lower the volume, etc...  If we find the Cube to be underpowered or just not up to par, well buy him a new mini."&lt;/i&gt;</description>
  205. <guid isPermaLink="false">05/05/17/[email protected]://macslash.org/article.pl?sid=05/05/17/2018226</guid>
  206. <dc:subject>overdoing-it?</dc:subject>
  207. <dc:date>2005-05-19T20:17:44-08:00</dc:date>
  208. </item>
  209. <item>
  210. <title>Review Of Cocoa Bootcamp In Germany</title>
  211. <link>http://macslash.org/article.pl?sid=05/05/19/1017214</link>
  212. <description>&lt;A HREF="http://kihlbom.com/"&gt;Carl-Johan Kihlbom&lt;/A&gt; writes &lt;i&gt;"Since I read Aaron Hillegass book &lt;A HREF="http://www.amazon.com/exec/obidos/tg/ASIN/0321213149/"&gt;Cocoa Programming for Mac OS X&lt;/A&gt; Ive wanted to go to his Cocoa Bootcamp course, but I havent been able to afford both the trip to USA (from Sweden) and the course fee. So when I saw that Aaron was holding a Cocoa Bootcamp in Germany, I was quick to sign up!
  213. If youve been curious about what its like at one of these courses, you should definately read &lt;A HREF="http://kihlbom.com/blog/2005/05/17/cocoa-bootcamp-review"&gt;my review&lt;/A&gt;."&lt;/i&gt;</description>
  214. <guid isPermaLink="false">05/05/19/[email protected]://macslash.org/article.pl?sid=05/05/19/1017214</guid>
  215. <dc:subject>learning-cocoa</dc:subject>
  216. <dc:date>2005-05-19T10:15:16-08:00</dc:date>
  217. </item>
  218. </channel>
  219. </rss>
  220. ';
  221. */
  222. $bodyTextString=trim($bodyTextString);
  223. $len=strlen($bodyTextString);
  224. header("Content-Length: $len");
  225. echo $bodyTextString;
  226. ?>
  227.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda