<?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>Sun, 19 May 2013 02:37:33 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[David Coallier's Blog: Quick Tip - PHP, SimpleXML and CDATA]]></title>
      <guid>http://www.phpdeveloper.org/news/8982</guid>
      <link>http://www.phpdeveloper.org/news/8982</link>
      <description><![CDATA[<p>
<i>David Coallier</i> has <a href="http://blog.agoraproduction.com/index.php?/archives/53-Quick-Tip-PHP,-SimpleXML-and-CDATA.html">shared a quick tip</a> today about the PHP/SimpleXML/CDATA combination and the creation of auto-generated classes.
</p>
<blockquote>
I thought, hey I wonder how long it'd take in php.. so I was
working on it and I actually couldn't remember all those funny extra
parameters in simplexml_* so if you are googling and cannot find
something that says exactly what you want well here it is.
</blockquote>
<p>
His example includes two additional parameters in his simplexml_load_string call to handle the CDATA section correctly and make accessing the data inside the block just like getting at anything else in the object.
</p>
<p>
Note that <i>Rob Richards</i> has also commented on the post that this issue was corrected a while back and it shouldn't be needed anymore, but could effect older versions of the SimpleXML functionality.
</p>]]></description>
      <pubDate>Tue, 06 Nov 2007 11:16:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Trimming an image]]></title>
      <guid>http://www.phpdeveloper.org/news/8965</guid>
      <link>http://www.phpdeveloper.org/news/8965</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> shows how, in his <a href="http://valokuva.org/?p=69">latest blog post</a>, to take an image and trim it down with Imagick to get rid of extra surrounding background information.
</p>
<blockquote>
<p>
Especially product images usually "suffer" from this issue; the product itself is composited on a white background and there are large areas of white around the object.
</p>
<p>
This is a simple example to demonstrate how to easily trim the areas off the image and only display the parts where the object lies.
</p>
</blockquote>
<p>
His <a href="http://valokuva.org/?p=69">example code</a>, a quick 16 line affair, takes in the test image, looks for a RGB value given and uses the built-in trimImage function to reduce its size.
</p>]]></description>
      <pubDate>Fri, 02 Nov 2007 12:58:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Stamatiou's Blog: 5 Ways to Speed Up Your Site]]></title>
      <guid>http://www.phpdeveloper.org/news/5658</guid>
      <link>http://www.phpdeveloper.org/news/5658</link>
      <description><![CDATA[<p>
<i>Paul Stamatiou</i> shares with us today <a href="http://paulstamatiou.com/2006/06/22/5-ways-to-speed-up-your-site/">five ways to speed up your site</a>, some quick and easy recommendations to making your site fly.
</p>
<blockquote>
<p>
Throughout the blogosphere I'm always seeing these blogs, that while they look great, are horribly slow and overburdened. Over the past few months I have become somewhat of a website optimization specialist, bringing my own site from an over 250kB homepage to its current 34kB. 
</p>
<p>
I will help you achieve some of the same success with a few, powerful tips. Most of these are common sense, but I can't stress their importance enough. I will concentrate on the website and not the server in this article, as there are too many things to discuss when it comes to server optimization.
</p>
</blockquote>
<p>
The <a href="http://paulstamatiou.com/2006/06/22/5-ways-to-speed-up-your-site/">five tips</a> mentioned include "Reduce Overall Latency by Reducing HTTP Requests" and "Compression", each with a paragraph or so of explaination as to what it is and how to implement it. There's even a PHP-specific one that talks about a paring down of the bits of functionality that really aren't needed.
</p>]]></description>
      <pubDate>Thu, 22 Jun 2006 07:31:06 -0500</pubDate>
    </item>
  </channel>
</rss>
