<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Extracting text from Word Documents via PHP and COM</title>
	<atom:link href="http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/</link>
	<description>Keeping webmasters up-to-date on technology.</description>
	<pubDate>Fri, 21 Nov 2008 00:09:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: shanker</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-5138</link>
		<dc:creator>shanker</dc:creator>
		<pubDate>Fri, 26 Sep 2008 07:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-5138</guid>
		<description>Extracting text from Word Documents via PHP and COM:(I have implemented your code in my application it is working properly in my localhost.
But in server i am getting the following error.
Fatal error: Class 'COM' not found in /www/htdocs/v138698/LSP/QuickQuote/index2.php on line 223
The code is not working in linux server.
please tell me how to run this code without errors in linux server.

Thanks in advance,

Shanker</description>
		<content:encoded><![CDATA[<p>Extracting text from Word Documents via PHP and COM:(I have implemented your code in my application it is working properly in my localhost.<br />
But in server i am getting the following error.<br />
Fatal error: Class &#8216;COM&#8217; not found in /www/htdocs/v138698/LSP/QuickQuote/index2.php on line 223<br />
The code is not working in linux server.<br />
please tell me how to run this code without errors in linux server.</p>
<p>Thanks in advance,</p>
<p>Shanker</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-3458</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sat, 09 Aug 2008 20:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-3458</guid>
		<description>// Extract content.
$content = (string) $word-&#62;ActiveDocument-&#62;Content;

This command does work, however it only brings back the plain text of the document, you loose all the formatting of the original document.

Do you know how you can get the formatted text (spacing, tabs, bolding, fonts...) of the word document back into php ?

Thanks.</description>
		<content:encoded><![CDATA[<p>// Extract content.<br />
$content = (string) $word-&gt;ActiveDocument-&gt;Content;</p>
<p>This command does work, however it only brings back the plain text of the document, you loose all the formatting of the original document.</p>
<p>Do you know how you can get the formatted text (spacing, tabs, bolding, fonts&#8230;) of the word document back into php ?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akash Mehta</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-331</link>
		<dc:creator>Akash Mehta</dc:creator>
		<pubDate>Thu, 17 Apr 2008 01:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-331</guid>
		<description>@John: The best way is to install a Word-file-reading application on the server, and call the binary via exec(). Try http://directory.fsf.org/project/catdoc/, wv or antiword. This blog post - http://tech.forumone.com/archives/53-Extracting-text-from-Office-and-PDF-files.html - may also help.</description>
		<content:encoded><![CDATA[<p>@John: The best way is to install a Word-file-reading application on the server, and call the binary via exec(). Try <a href="http://directory.fsf.org/project/catdoc/" rel="nofollow">http://directory.fsf.org/project/catdoc/</a>, wv or antiword. This blog post - <a href="http://tech.forumone.com/archives/53-Extracting-text-from-Office-and-PDF-files.html" rel="nofollow">http://tech.forumone.com/archives/53-Extracting-text-from-Office-and-PDF-files.html</a> - may also help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-329</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 16 Apr 2008 22:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/#comment-329</guid>
		<description>Have you figured out a way to do this on a unix box?</description>
		<content:encoded><![CDATA[<p>Have you figured out a way to do this on a unix box?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
