|
@@ -3,8 +3,8 @@
|
|
|
<channel>
|
|
<channel>
|
|
|
<title>PHP PhantomJs</title>
|
|
<title>PHP PhantomJs</title>
|
|
|
<description>Run PhantomJS scripts through PHP</description>
|
|
<description>Run PhantomJS scripts through PHP</description>
|
|
|
- <link>/</link>
|
|
|
|
|
- <atom:link href="/feed.xml" rel="self" type="application/rss+xml" />
|
|
|
|
|
|
|
+ <link>http://jonnnnyw.github.io/php-phantomjs/</link>
|
|
|
|
|
+ <atom:link href="http://jonnnnyw.github.io/php-phantomjs/feed.xml" rel="self" type="application/rss+xml" />
|
|
|
|
|
|
|
|
<item>
|
|
<item>
|
|
|
<title>Introduction</title>
|
|
<title>Introduction</title>
|
|
@@ -55,7 +55,7 @@ code etc.</li>
|
|
|
|
|
|
|
|
<span class="nv">$ </span>composer require <span class="s2">&quot;jonnyw/php-phantomjs:3.*&quot;</span></code></pre></div>
|
|
<span class="nv">$ </span>composer require <span class="s2">&quot;jonnyw/php-phantomjs:3.*&quot;</span></code></pre></div>
|
|
|
|
|
|
|
|
-<p>If you would like to use another installation method or would like to see more detailed installation instructions, see the <a href="/installation.html">installation</a> documentation.</p>
|
|
|
|
|
|
|
+<p>If you would like to use another installation method or would like to see more detailed installation instructions, see the <a href="http://jonnnnyw.github.io/php-phantomjs/installation.html">installation</a> documentation.</p>
|
|
|
|
|
|
|
|
<h2 id="basic-usage">Basic Usage</h2>
|
|
<h2 id="basic-usage">Basic Usage</h2>
|
|
|
|
|
|
|
@@ -108,12 +108,12 @@ code etc.</li>
|
|
|
<span class="c1">// Send the request</span>
|
|
<span class="c1">// Send the request</span>
|
|
|
<span class="nv">$client</span><span class="o">-&gt;</span><span class="na">send</span><span class="p">(</span><span class="nv">$request</span><span class="p">,</span> <span class="nv">$response</span><span class="p">);</span></code></pre></div>
|
|
<span class="nv">$client</span><span class="o">-&gt;</span><span class="na">send</span><span class="p">(</span><span class="nv">$request</span><span class="p">,</span> <span class="nv">$response</span><span class="p">);</span></code></pre></div>
|
|
|
|
|
|
|
|
-<p>For more detailed examples see the <a href="/usage.html">usage</a> section, or to create your own custom scripts check out the <a href="/advanced.html">advanced</a> documentation.</p>
|
|
|
|
|
|
|
+<p>For more detailed examples see the <a href="http://jonnnnyw.github.io/php-phantomjs/usage.html">usage</a> section, or to create your own custom scripts check out the <a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">advanced</a> documentation.</p>
|
|
|
|
|
|
|
|
</description>
|
|
</description>
|
|
|
<pubDate>Mon, 28 Jul 2014 00:00:00 +0100</pubDate>
|
|
<pubDate>Mon, 28 Jul 2014 00:00:00 +0100</pubDate>
|
|
|
- <link>/introduction.html</link>
|
|
|
|
|
- <guid isPermaLink="true">/introduction.html</guid>
|
|
|
|
|
|
|
+ <link>http://jonnnnyw.github.io/php-phantomjs/introduction.html</link>
|
|
|
|
|
+ <guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/introduction.html</guid>
|
|
|
</item>
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
<item>
|
|
@@ -218,8 +218,8 @@ code etc.</li>
|
|
|
<p>Make sure the components are in your include path and that the PhantomJS executable is installed to your projects bin folder as mentioned in the <a href="#custom-installation">Custom Installation</a> section.</p>
|
|
<p>Make sure the components are in your include path and that the PhantomJS executable is installed to your projects bin folder as mentioned in the <a href="#custom-installation">Custom Installation</a> section.</p>
|
|
|
</description>
|
|
</description>
|
|
|
<pubDate>Sun, 27 Jul 2014 00:00:00 +0100</pubDate>
|
|
<pubDate>Sun, 27 Jul 2014 00:00:00 +0100</pubDate>
|
|
|
- <link>/installation.html</link>
|
|
|
|
|
- <guid isPermaLink="true">/installation.html</guid>
|
|
|
|
|
|
|
+ <link>http://jonnnnyw.github.io/php-phantomjs/installation.html</link>
|
|
|
|
|
+ <guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/installation.html</guid>
|
|
|
</item>
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
<item>
|
|
@@ -237,7 +237,7 @@ code etc.</li>
|
|
|
<li><a href="#custom-run-options">Custom Run Options</a></li>
|
|
<li><a href="#custom-run-options">Custom Run Options</a></li>
|
|
|
</ul>
|
|
</ul>
|
|
|
|
|
|
|
|
-<p>For more advanced customization or to load your own PhantomJS scripts, see the <a href="/advanced.html">advanced</a> documentation.</p>
|
|
|
|
|
|
|
+<p>For more advanced customization or to load your own PhantomJS scripts, see the <a href="http://jonnnnyw.github.io/php-phantomjs/advanced.html">advanced</a> documentation.</p>
|
|
|
|
|
|
|
|
<h2 id="basic-request">Basic Request</h2>
|
|
<h2 id="basic-request">Basic Request</h2>
|
|
|
|
|
|
|
@@ -398,7 +398,7 @@ code etc.</li>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
|
|
|
|
|
|
-<p>If the response contains a status code of 0, chances are the request failed. Check the request <a href="/debugging.html">debug log</a> for more detailed information about what may have gone wrong.</p>
|
|
|
|
|
|
|
+<p>If the response contains a status code of 0, chances are the request failed. Check the request <a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">debug log</a> for more detailed information about what may have gone wrong.</p>
|
|
|
|
|
|
|
|
<h2 id="screen-captures">Screen Captures</h2>
|
|
<h2 id="screen-captures">Screen Captures</h2>
|
|
|
|
|
|
|
@@ -518,8 +518,8 @@ code etc.</li>
|
|
|
<p>See the <a href="http://phantomjs.org/api/command-line.html">PhantomJS Documentation</a> for a full list of command line options.</p>
|
|
<p>See the <a href="http://phantomjs.org/api/command-line.html">PhantomJS Documentation</a> for a full list of command line options.</p>
|
|
|
</description>
|
|
</description>
|
|
|
<pubDate>Sat, 26 Jul 2014 00:00:00 +0100</pubDate>
|
|
<pubDate>Sat, 26 Jul 2014 00:00:00 +0100</pubDate>
|
|
|
- <link>/usage.html</link>
|
|
|
|
|
- <guid isPermaLink="true">/usage.html</guid>
|
|
|
|
|
|
|
+ <link>http://jonnnnyw.github.io/php-phantomjs/usage.html</link>
|
|
|
|
|
+ <guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/usage.html</guid>
|
|
|
</item>
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
<item>
|
|
@@ -796,7 +796,7 @@ code etc.</li>
|
|
|
|
|
|
|
|
<span class="o">...</span></code></pre></div>
|
|
<span class="o">...</span></code></pre></div>
|
|
|
|
|
|
|
|
-<p>Or if you are using a custom request as outlined in the <a href="#using-custom-request-parameters-in-your-script">custom request parameters</a> section, you can implement a getType method which returns the name of your procedure, eliminating the need to set the request type for each request:</p>
|
|
|
|
|
|
|
+<p>Or if you are using a custom request as outlined in the <a href="#using-custom-request-parameters-in-your-script">custom request parameters</a> section, you can implement a <code>getType()</code> method which returns the name of your procedure, eliminating the need to set the request type for each request:</p>
|
|
|
|
|
|
|
|
<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="cp">&lt;?php</span>
|
|
<div class="highlight"><pre><code class="language-php" data-lang="php"><span class="cp">&lt;?php</span>
|
|
|
|
|
|
|
@@ -840,11 +840,11 @@ code etc.</li>
|
|
|
<p>If you find that your script isn’t running or that you are receiving a status of ‘0’ back in the response, chances are you have a syntax error in you script. It pays to turn debugging on in the client <code>$client-&gt;debug(true)</code> which will then give you access to some log information through <code>$client-&gt;getLog()</code>.</p>
|
|
<p>If you find that your script isn’t running or that you are receiving a status of ‘0’ back in the response, chances are you have a syntax error in you script. It pays to turn debugging on in the client <code>$client-&gt;debug(true)</code> which will then give you access to some log information through <code>$client-&gt;getLog()</code>.</p>
|
|
|
</blockquote>
|
|
</blockquote>
|
|
|
|
|
|
|
|
-<p>See more detailed information about <a href="/debugging.html">debugging</a>.</p>
|
|
|
|
|
|
|
+<p>See more detailed information about <a href="http://jonnnnyw.github.io/php-phantomjs/debugging.html">debugging</a>.</p>
|
|
|
</description>
|
|
</description>
|
|
|
<pubDate>Fri, 25 Jul 2014 00:00:00 +0100</pubDate>
|
|
<pubDate>Fri, 25 Jul 2014 00:00:00 +0100</pubDate>
|
|
|
- <link>/advanced.html</link>
|
|
|
|
|
- <guid isPermaLink="true">/advanced.html</guid>
|
|
|
|
|
|
|
+ <link>http://jonnnnyw.github.io/php-phantomjs/advanced.html</link>
|
|
|
|
|
+ <guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/advanced.html</guid>
|
|
|
</item>
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
<item>
|
|
@@ -854,8 +854,8 @@ code etc.</li>
|
|
|
<p>In the meantime, check out the <a href="https://github.com/jonnnnyw/php-phantomjs/tree/master/examples">examples</a> in the Github repo.</p>
|
|
<p>In the meantime, check out the <a href="https://github.com/jonnnnyw/php-phantomjs/tree/master/examples">examples</a> in the Github repo.</p>
|
|
|
</description>
|
|
</description>
|
|
|
<pubDate>Thu, 24 Jul 2014 00:00:00 +0100</pubDate>
|
|
<pubDate>Thu, 24 Jul 2014 00:00:00 +0100</pubDate>
|
|
|
- <link>/debugging.html</link>
|
|
|
|
|
- <guid isPermaLink="true">/debugging.html</guid>
|
|
|
|
|
|
|
+ <link>http://jonnnnyw.github.io/php-phantomjs/debugging.html</link>
|
|
|
|
|
+ <guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/debugging.html</guid>
|
|
|
</item>
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
<item>
|
|
@@ -863,8 +863,8 @@ code etc.</li>
|
|
|
<description><p>This documentation page will be up in the next couple of days.</p>
|
|
<description><p>This documentation page will be up in the next couple of days.</p>
|
|
|
</description>
|
|
</description>
|
|
|
<pubDate>Wed, 23 Jul 2014 00:00:00 +0100</pubDate>
|
|
<pubDate>Wed, 23 Jul 2014 00:00:00 +0100</pubDate>
|
|
|
- <link>/troubleshooting.html</link>
|
|
|
|
|
- <guid isPermaLink="true">/troubleshooting.html</guid>
|
|
|
|
|
|
|
+ <link>http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html</link>
|
|
|
|
|
+ <guid isPermaLink="true">http://jonnnnyw.github.io/php-phantomjs/troubleshooting.html</guid>
|
|
|
</item>
|
|
</item>
|
|
|
|
|
|
|
|
</channel>
|
|
</channel>
|