<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Mon, 20 May 2013 12:03:27 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Syntax Highlighting for Technical Presentations]]></title>
      <guid>http://www.phpdeveloper.org/news/12113</guid>
      <link>http://www.phpdeveloper.org/news/12113</link>
      <description><![CDATA[<p>
If you've given any kind of technical presentation, you know that presenting code samples (clearly) can be one of the larger challenges. <i>Matthew Weier O'Phinney</i> has <a href="http://weierophinney.net/matthew/archives/210-Syntax-Highlighting-for-Technical-Presentations.html">found a solution</a> that works well for him and his slides - <a href="http://www.andre-simon.de/">Highlight</a>.
</p>
<blockquote>
Being a technical presenter, I've often run up against the issue of how to present code snippets. The easiest route is to simply cut-and-paste into your presentation software. However, such code is basically unreadable. [...] The first trick I tried was to take screenshots of gvim. However, this had distinct downsides. [...] The next trick I tried was to use Zend Studio or Eclipse to create my screen shots.
</blockquote>
<p>
He talks about <a href="http://www.andre-simon.de/">the tool</a> (Highlight) and its use - basically you specify the input, output and the language it needs to highlight for with more fine-tuning options like font size, line width and more. Compare <a href="http://weierophinney.net/matthew/uploads/2009-03-10-VimExample.png">this</a> and <a href="http://weierophinney.net/matthew/uploads/2009-03-10-EclipseExample.png">this</a> to the end result of Highlight <a href="http://weierophinney.net/matthew/uploads/2009-03-10-Highlight.png">here</a> to get a feeling for how the product might look.
</p>]]></description>
      <pubDate>Wed, 11 Mar 2009 10:22:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Clay Loveless' Blog: PHP MimeViewer for Trac]]></title>
      <guid>http://www.phpdeveloper.org/news/6345</guid>
      <link>http://www.phpdeveloper.org/news/6345</link>
      <description><![CDATA[<p>
<i>Clay Loveless</i>, spurred on by a comment from a visitor to his site, has <a href="http://killersoft.com/randomstrings/2006/09/24/php-mimeviewer-for-trac/">modified his Trac package</a> to get things working correctly with the syntax highlighting.
</p>
<blockquote>
<p>
As John Herren pointed out in the comments to yesterday's post, my suggestion for PHP syntax coloring wasn't working for several versions of Trac.
</p>
<p>
After a little digging, it turned out that my CSS rules were based on the non-standard SilverCity highlighting output, rather than the newer and more common native PHP highlighting.
</p>
</blockquote>
<p>
His <a href="http://killersoft.com/randomstrings/2006/09/24/php-mimeviewer-for-trac/">solution</a> is to create a simple shell script, <a href="http://pearified.com/index.php?package=Tools_PHP_MimeView">php_mimeview</a>, to make adding cirrect syntax highlighting as easy as changing your config.
</p>]]></description>
      <pubDate>Mon, 25 Sep 2006 07:33:21 -0500</pubDate>
    </item>
  </channel>
</rss>
