<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Including free-form PHP into WordPress</title>
	<atom:link href="http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/</link>
	<description>Random thoughts and notes to self</description>
	<lastBuildDate>Fri, 23 Dec 2011 20:21:20 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Liena Aifen</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1331</link>
		<dc:creator>Liena Aifen</dc:creator>
		<pubDate>Mon, 20 Dec 2010 08:22:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1331</guid>
		<description>Finally i found it, thanks for sharing</description>
		<content:encoded><![CDATA[<p>Finally i found it, thanks for sharing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lee</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1279</link>
		<dc:creator>lee</dc:creator>
		<pubDate>Wed, 10 Nov 2010 15:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1279</guid>
		<description>i wish i can adjust the font size to 1000px then i&#039;ll write a big thank you! cheers :D</description>
		<content:encoded><![CDATA[<p>i wish i can adjust the font size to 1000px then i&#8217;ll write a big thank you! cheers <img src='http://www.myvirtualdisplay.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1228</link>
		<dc:creator>Tracy</dc:creator>
		<pubDate>Tue, 22 Jun 2010 16:59:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1228</guid>
		<description>Thank you for explaining that to me.

I was finally able to get the results I wanted.  (for the most part)  http://www.tracyandcarol.com/the_tracy_times/resumes/tracys-resume/</description>
		<content:encoded><![CDATA[<p>Thank you for explaining that to me.</p>
<p>I was finally able to get the results I wanted.  (for the most part)  <a href="http://www.tracyandcarol.com/the_tracy_times/resumes/tracys-resume/" rel="nofollow">http://www.tracyandcarol.com/the_tracy_times/resumes/tracys-resume/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NC</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1227</link>
		<dc:creator>NC</dc:creator>
		<pubDate>Sat, 19 Jun 2010 23:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1227</guid>
		<description>I look at your “Resume Test” page: 

http://www.tracyandcarol.com/the_tracy_times/resumes/my-resume-test/

If you look at the source code and search for any of the tags mentioned, you&#039;ll find two instances of each.  The outer one comes from your WordPress template files, the other, from the HTML file you include.</description>
		<content:encoded><![CDATA[<p>I look at your “Resume Test” page: </p>
<p><a href="http://www.tracyandcarol.com/the_tracy_times/resumes/my-resume-test/" rel="nofollow">http://www.tracyandcarol.com/the_tracy_times/resumes/my-resume-test/</a></p>
<p>If you look at the source code and search for any of the tags mentioned, you&#8217;ll find two instances of each.  The outer one comes from your WordPress template files, the other, from the HTML file you include.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1226</link>
		<dc:creator>Tracy</dc:creator>
		<pubDate>Sat, 19 Jun 2010 12:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1226</guid>
		<description>Where do you look to see the double tags?  When I look at the source code I see the code for the entire site, not just the page.</description>
		<content:encoded><![CDATA[<p>Where do you look to see the double tags?  When I look at the source code I see the code for the entire site, not just the page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NC</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1225</link>
		<dc:creator>NC</dc:creator>
		<pubDate>Sat, 19 Jun 2010 01:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1225</guid>
		<description>It appears that you are using the plugin to produce malformed HTML.  Your &quot;Resume Test&quot; page has two !DOCTYPE declarations, two &lt;html&gt; tags, two &lt;head&gt; tags and two &lt;body&gt; tags.  Chances are, browsers simply don&#039;t know what to do with two instances of the &lt;body&gt; tag, so the styling you apply to the &lt;body&gt; tag in the static HTML is simply ignored...</description>
		<content:encoded><![CDATA[<p>It appears that you are using the plugin to produce malformed HTML.  Your &#8220;Resume Test&#8221; page has two !DOCTYPE declarations, two &lt;html&gt; tags, two &lt;head&gt; tags and two &lt;body&gt; tags.  Chances are, browsers simply don&#8217;t know what to do with two instances of the &lt;body&gt; tag, so the styling you apply to the &lt;body&gt; tag in the static HTML is simply ignored&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1224</link>
		<dc:creator>Tracy</dc:creator>
		<pubDate>Fri, 18 Jun 2010 23:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1224</guid>
		<description>The link to my style sheet was relative, but making it absolute did not solve the problem.  Nor did your other suggestion.

I did upgrade the plugin to 0.4, but that did not help.

The problem is across all browsers.

EDIT - I was just able to specify a color, in the external CSS file, for some text.  The colored text displayed as it was supposed to.  It looks as if the only problem is with the background image in my style sheet.  I&#039;m using the absolute path to it.  It displays on the HTML file outside of WordPress.  http://www.tracyandcarol.com/html/resume.html

But it doesn&#039;t display when I try to include it in WP  http://www.tracyandcarol.com/the_tracy_times/resumes/my-resume-test/</description>
		<content:encoded><![CDATA[<p>The link to my style sheet was relative, but making it absolute did not solve the problem.  Nor did your other suggestion.</p>
<p>I did upgrade the plugin to 0.4, but that did not help.</p>
<p>The problem is across all browsers.</p>
<p>EDIT &#8211; I was just able to specify a color, in the external CSS file, for some text.  The colored text displayed as it was supposed to.  It looks as if the only problem is with the background image in my style sheet.  I&#8217;m using the absolute path to it.  It displays on the HTML file outside of WordPress.  <a href="http://www.tracyandcarol.com/html/resume.html" rel="nofollow">http://www.tracyandcarol.com/html/resume.html</a></p>
<p>But it doesn&#8217;t display when I try to include it in WP  <a href="http://www.tracyandcarol.com/the_tracy_times/resumes/my-resume-test/" rel="nofollow">http://www.tracyandcarol.com/the_tracy_times/resumes/my-resume-test/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NC</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1223</link>
		<dc:creator>NC</dc:creator>
		<pubDate>Fri, 18 Jun 2010 22:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1223</guid>
		<description>By any chance, is the link to the style sheet relative (e.g., &lt;strong&gt;example.css&lt;/strong&gt;)?  If so, does rewriting it as absolute (say, &lt;strong&gt;http&lt;/strong&gt;:&lt;strong&gt;//example.com/example.css&lt;/strong&gt;) solve the problem?  Also, is the inability to show style consistent across browsers?

Also, if all else fails, you can always attempt to include the stylesheet directly: 

&lt;code&gt;&lt;style type=&quot;text/css&quot;&gt; 
[include_html: http&lt;strong&gt;:&lt;/strong&gt;//example.com/example.css] 
&lt;/style&gt;
[include_html: http&lt;strong&gt;:&lt;/strong&gt;//example.com/example.htm]&lt;/code&gt; 

This is not the cleanest solution in that the &lt;strong&gt;example.html&lt;/strong&gt; will still be asking for a non-existent stylesheet, but the styles it requires will nevertheless be defined. </description>
		<content:encoded><![CDATA[<p>By any chance, is the link to the style sheet relative (e.g., <strong>example.css</strong>)?  If so, does rewriting it as absolute (say, <strong>http</strong>:<strong>//example.com/example.css</strong>) solve the problem?  Also, is the inability to show style consistent across browsers?</p>
<p>Also, if all else fails, you can always attempt to include the stylesheet directly: </p>
<p><code>&lt;style type="text/css"&gt;<br />
[include_html: http<strong>:</strong>//example.com/example.css]<br />
&lt;/style&gt;<br />
[include_html: http<strong>:</strong>//example.com/example.htm]</code> </p>
<p>This is not the cleanest solution in that the <strong>example.html</strong> will still be asking for a non-existent stylesheet, but the styles it requires will nevertheless be defined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1222</link>
		<dc:creator>Tracy</dc:creator>
		<pubDate>Fri, 18 Jun 2010 22:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1222</guid>
		<description>Does this plugin work with pages that use CSS?  I&#039;ve tried to &quot;include&quot; a page that uses an external style sheet, but cannot get the styles to show.  I&#039;ve had no luck when I try them as an internal style sheet either.  The page itself works fine.</description>
		<content:encoded><![CDATA[<p>Does this plugin work with pages that use CSS?  I&#8217;ve tried to &#8220;include&#8221; a page that uses an external style sheet, but cannot get the styles to show.  I&#8217;ve had no luck when I try them as an internal style sheet either.  The page itself works fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VickiLH2</title>
		<link>http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/comment-page-1/#comment-1153</link>
		<dc:creator>VickiLH2</dc:creator>
		<pubDate>Sat, 05 Sep 2009 19:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.myvirtualdisplay.com/2008/09/11/including-free-form-php-into-wordpress/#comment-1153</guid>
		<description>Aha!  I got this to work with allow_url_fopen set to OFF.  I edited the include-html.php file.  I substituted this:
&lt;pre&gt;$replacement = &#039;&lt;!-- iHTMLstart --&gt;&#039; .
  file_get_contents($URL) .
  &#039;&lt;!-- iHTMLend --&gt;&#039;;
&lt;/pre&gt;

with this:

&lt;pre&gt;$ch = curl_init();
$timeout = 5; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, $URL);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);
$replacement = &#039;&lt;!-- iHTMLstart --&gt;&#039; .
  $file_contents .         
  &#039;&lt;!-- iHTMLend --&gt;&#039;;
&lt;/pre&gt;

It works!!  Best, Vicki</description>
		<content:encoded><![CDATA[<p>Aha!  I got this to work with allow_url_fopen set to OFF.  I edited the include-html.php file.  I substituted this:</p>
<pre>$replacement = '&lt;!-- iHTMLstart -->' .
  file_get_contents($URL) .
  '&lt;!-- iHTMLend -->';
</pre>
<p>with this:</p>
<pre>$ch = curl_init();
$timeout = 5; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, $URL);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);
$replacement = '&lt;!-- iHTMLstart -->' .
  $file_contents .
  '&lt;!-- iHTMLend -->';
</pre>
<p>It works!!  Best, Vicki</p>
]]></content:encoded>
	</item>
</channel>
</rss>

