<?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>Thu, 15 May 2008 22:46:33 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[MSBWare.com: XML to Array]]></title>
      <guid>http://www.phpdeveloper.org/news/9967</guid>
      <link>http://www.phpdeveloper.org/news/9967</link>
      <description><![CDATA[<p>
<i>Michael</i> has posted <a href="http://www.msbware.com/articles/scripts/xml_to_array.html">a simple script</a> today that takes in XML data and spits back out an array on the other side:
</p>
<blockquote>
The function takes the specified XML data (which must be in valid XML format) and converts into an array.  Any attributes in the XML elements are dropped an only the element values are placed in the array.
</blockquote>
<p>
<a href="http://www.msbware.com/articles/scripts/xml_to_array.html">The code</a> uses a combination of XPath, DOM, and regular expressions to parse the given XML content.
</p>]]></description>
      <pubDate>Mon, 14 Apr 2008 10:23:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tiffany Brown's Blog: Turn text files into pull down menus]]></title>
      <guid>http://www.phpdeveloper.org/news/9710</guid>
      <link>http://www.phpdeveloper.org/news/9710</link>
      <description><![CDATA[<p>
<i>Tiffany Brown</i> shares <a href="http://tiffanybbrown.com/2008/02/26/turn-text-files-into-pull-down-menus/">a quick function</a> she whipped up to create dropdown menus from the contents of a newline separated text file (or files).
</p>
<blockquote>
I developed this PHP function for a project I'm working on. I'm posting it here in case I need it again, or in case you find it handy.
</blockquote>
<p>
The <a href="http://tiffanybbrown.com/2008/02/26/turn-text-files-into-pull-down-menus/">function</a> turns each line into an option tag making defining custom menus based on the contents of dynamically-given text files easy.
</p>
<p>
This could also be easily adapted to create navigations menus at the top of your pages with a few modifications to the HTML tags being used and some CSS to change the look of the list.
</p>]]></description>
      <pubDate>Wed, 27 Feb 2008 09:35:00 -0600</pubDate>
    </item>
  </channel>
</rss>
