<?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>Fri, 16 May 2008 00:43:17 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Extracting text from Word Documents via PHP and COM]]></title>
      <guid>http://www.phpdeveloper.org/news/9861</guid>
      <link>http://www.phpdeveloper.org/news/9861</link>
      <description><![CDATA[<p>
In a <a href="http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/">recent blog post</a> <i>Akash Mehta</i> showed how to reach into a Microsoft document (a Word file) and pull out the content inside via a PHP script.
</p>
<blockquote>
Communicating via COM in PHP is easy as ever; especially for people coming from a VB background where executing complex tasks in MS-applications is a piece of cake, you will feel right at home in PHP. In fact, VB COM calls can be converted to PHP COM calls in just a few simple search and replaces.
</blockquote>
<p>
He shows how to use the COM extension in a (Windows) PHP installation to access the text inside the document and manipulate the contents however you'd like (even writing them back out to another Word file).
</p>]]></description>
      <pubDate>Wed, 26 Mar 2008 12:02:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Justin Silverton's Blog:  Excel and php without COM]]></title>
      <guid>http://www.phpdeveloper.org/news/5057</guid>
      <link>http://www.phpdeveloper.org/news/5057</link>
      <description><![CDATA[At times, working within the confines of a Microsoft world can be frustrating, especially when it comes to making more advanced versions of files (i.e. a "real" Excel file versus a CSV). In <a href="http://blinduser.blogspot.com/2006/03/excel-and-php-without-com.html">this example</a>, <i>Justin Silverton</i> gives us an example of how to do just that - use PEAR to create an Excel 5 file.
<p>
He uses the <a href="http://pear.php.net/package/Spreadsheet_Excel_Writer">Spreadsheet_Excel_Writer</a> package to create the file without the need for getting COM in the mix. The package makes it simple to take in a dataset and write it out to a workbook - complete with column headers.
<p>
He <a href="http://blinduser.blogspot.com/2006/03/excel-and-php-without-com.html">shows</a> two ways to save the file as well - creating a local file (on the web server) and pushing it out to the browser.
<p>
It's a simple introduction, but it's a starting place - especially for those with a project plan that requires it.]]></description>
      <pubDate>Tue, 28 Mar 2006 07:01:46 -0600</pubDate>
    </item>
  </channel>
</rss>
