<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sheepdog IT &#187; WebHosting</title>
	<atom:link href="http://www.sheepdogit.com/category/webhosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sheepdogit.com</link>
	<description>Herding Penguins for over 5 years</description>
	<lastBuildDate>Tue, 15 Jun 2010 20:35:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Generating Website Snapshots (Thumbnails)</title>
		<link>http://www.sheepdogit.com/2007/07/01/generating-website-snapshots-thumbnails/</link>
		<comments>http://www.sheepdogit.com/2007/07/01/generating-website-snapshots-thumbnails/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 06:29:58 +0000</pubDate>
		<dc:creator>Bozzie</dc:creator>
				<category><![CDATA[WebHosting]]></category>

		<guid isPermaLink="false">http://bozziesfw.wordpress.com/2007/07/01/generating-website-snapshots-thumbnails/</guid>
		<description><![CDATA[How can I capture a snapshot of a web page and save it as a JPEG or PNG file? Today I briefly looked into this question.
On-line Snapshot Generators
Two classes of snapshot generators are available on the web.  BrowserCam and NetRenderer support web site developers who need to verify their web designs on multiple platforms [...]]]></description>
			<content:encoded><![CDATA[<p>How can I capture a snapshot of a web page and save it as a JPEG or PNG file? Today I briefly looked into this question.</p>
<h4>On-line Snapshot Generators</h4>
<p>Two classes of snapshot generators are available on the web.  <a title="BrowserCam" href="http://www.browsercam.com/">BrowserCam</a> and <a title="IE NetRenderer" href="http://www.ipinfo.info/netrenderer/">NetRenderer</a> support web site developers who need to verify their web designs on multiple platforms and browser versions. These snapshots are full-size and present exactly what would appear on a user&#8217;s screen.  NetRenderer describes their solution as follows: &#8220;<em>we use a proprietary C# application to control parallel rendering and to generate the virtual screenshot images</em>.&#8221;  BrowserCam allows you to connect to their rendering machine using VNC.</p>
<p>The second class of web-available snapshot generators offer their service to website authors as a way of enriching their site&#8217;s graphics.   These are typically thumbnail images, in terms of size, detail, and function. This class of generator is more in line with my possible use for snapshots.</p>
<p>Wordpress offers Snap&#8217;s snapshot generator on all links within these blogs (to go to their site, hover on any link then click on the SnapShot logo in the lower-right footer). New snapshots are generated relatively quickly (i.e. minutes, not hours).</p>
<p>A similar offering comes from<a href="http://www.shrinktheweb.com"> ShrinkTheWeb</a>. Let&#8217;s try it on the <a href="http://www.nypl.org/">New York Public Library</a> web site:</p>
<p><img style="border: 2px solid black; margin: 10px;" src="http://www.shrinktheweb.com/xino.php?embed=1&amp;u=d146d&amp;STWAccessKeyId=b777ca5c8473b5a&amp;Size=xlg&amp;Url=www.nypl.org" border="2" alt="ShrinkTheWeb website thumbnail" hspace="10" vspace="10" width="480" height="360" align="middle" /></p>
<p>Although NYPL might be cached, I tried it on an unlisted site and the thumbnail appeared within 10 seconds. The engine is usually available and offers parameters to control the size and quality of the snapshot.  The image is directly embeddable in my web page, unlike Snap.</p>
<p>If you compare the actual web site to the various thumbnail engines, notice that Java, Flash, and JavaScript generated graphics may not appear.  I would expect that BrowserCam would be most faithful in this regard, since one actually connects to a real browser.</p>
<p>Currently I can&#8217;t easily gain possession of the image file. I could capture the image with <em>wget</em> or Curl, but that&#8217;s not the same as directly generating the image.  And Snap displays the image only in a pop-up.</p>
<h4>Command Line Snapshot Generation</h4>
<p>Ideally, I&#8217;d like to replicate snapshot functionality on a local workstation.  In Linux, I would hope to generate a thumbnail by providing a URL and a view-port size to Firefox or Konqueror, then requesting that it save the image to a file in my preferred format. Something like this:</p>
<pre>   browser --background --size 800x600 --jpeg www.yahoo.com &gt; yh.jpg</pre>
<p>Alas, <em>man </em>pages and user documentation gave no evidence that Firefox, Opera, or Konqueror support a background mode of operation.  Others have succeeded, however. In his <a title="Planet-PHP Website Thumbnails" rel="bookmark" href="http://blog.joshuaeichorn.com/archives/2005/08/25/planet-php-website-thumbnails/">Planet-PHP Website Thumbnails</a> entry from 2005, J Eichorn describes using Mozilla in just such a fashion.  <strong>Update:</strong> This functionality is available online at <a href="http://bluga.net/webthumb">Bluga.net Webthumbs</a>.</p>
<p>Things have evolved from 2005 &#8212; now I guess SeaMonkey is the suite offering.  If one wants access to the rendering engine, the Mozilla web site suggests embedding the <a href="http://developer.mozilla.org/en/docs/Gecko">Gecko engine</a> directly using the <a href="http://developer.mozilla.org/en/docs/Toolkit_API">Toolkit API</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sheepdogit.com/2007/07/01/generating-website-snapshots-thumbnails/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Web Hosting Notes, Requirements, Comparison</title>
		<link>http://www.sheepdogit.com/2007/06/03/web-hosting-notes-requirements-comparison/</link>
		<comments>http://www.sheepdogit.com/2007/06/03/web-hosting-notes-requirements-comparison/#comments</comments>
		<pubDate>Sun, 03 Jun 2007 11:12:04 +0000</pubDate>
		<dc:creator>Bozzie</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[WebHosting]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://bozziesfw.wordpress.com/2007/06/03/linux-isp-notes-requirements-comparison/</guid>
		<description><![CDATA[I now have 3 different Apache hosting environments: my openSUSE 10.2 workstation, GoDaddy, and A2Hosting. Signing up for a month is the only way to determine if a web application will work on an ISP&#8217;s service.  Their hosting environments are all slightly different.  Here are the issues I&#8217;ve encountered getting a PHP web [...]]]></description>
			<content:encoded><![CDATA[<p>I now have 3 different Apache hosting environments: my openSUSE 10.2 workstation, GoDaddy, and A2Hosting. Signing up for a month is the only way to determine if a web application will work on an ISP&#8217;s service.  Their hosting environments are all slightly different.  Here are the issues I&#8217;ve encountered getting a PHP web application running on each system.</p>
<h3>openSUSE 10.2</h3>
<ul>
<li>Apache2, PHP 5.2, mod_php, mod_rewrite.</li>
<li>PHP <i>magic_quotes_gpc</i> is set to <i>off</i> in openSUSE (the proper choice, but <i>not</i> the PHP default as I painfully learned when installing at the ISPs).</li>
<li>PEAR supported in the Apache PHP include path.</li>
<li>Subdirectories written into by the application (e.g. Smarty template compilation area) need world-write privilege.</li>
</ul>
<h3>GoDaddy Hosting</h3>
<ul>
<li>Apache1.3, PHP4 (5.1.4 optional), CGI/fastCGI, mod_rewrite.</li>
<li> Cannot use <i>php_flag</i> because using CGI, must use <i>php5.ini</i> instead.</li>
<li>Switch from PHP 4 to 5 in <i>.htaccess</i>:<br />
<i>AddHandler x-httpd-php5 .php<br />
AddHandler x-httpd-php  .php4</i></li>
<li>PHP <i>magic_quotes_gpc</i> on by default, turn off with local <i>php5.ini</i> file.</li>
<li>AllowOverride Options disabled, can&#8217;t use in <i>.htaccess</i>.</li>
<li>Files created by web site users (i.e. by the <i>httpd</i> user) have the same uid/gid as my ftp login user.  An excellent configuration approach, as I don&#8217;t need to give world write privileges to local data subdirectories.</li>
<li>ini_set(&#8217;session.cache_limiter&#8217;, &#8216;private&#8217;) causes server 500 error.</li>
</ul>
<h3>A2 Hosting</h3>
<ul>
<li>Apache 1.x (server_signature empty), PHP 5.2, mod_php, mod_rewrite.</li>
<li>PHP <i>magic_quotes_gpc</i> is on by default, turn off using <i>php_flag</i> (here is the <a href="http://us.php.net/manual/en/configuration.changes.php#configuration.changes.apache" title="PHP Manual"><i>Running PHP as an Apache Module</i></a> PHP man page describing how to use <i>php.ini </i>directives within <i>.htaccess</i>).</li>
<li>Subdirectories written to by the application need world-write privilege.  My ftp area is a <i>public_html</i> directory, so A2 uses <i>mod_userdir.</i> The home directory looks similar to my local workstation.</li>
<li>ini_set(&#8217;session.cache_limiter&#8217;, &#8216;private&#8217;) works fine. Moved this parameter to a <i>php_flag</i> directive.</li>
<li>A2 mentions PEAR support on their web page, but they don&#8217;t add the directory to the PHP include path and only offer a handful of modules.  Will add modules per customer request, but what will happen if they move my account to a different server?</li>
</ul>
<h3>Web Hosting Requirements</h3>
<ul>
<li>PHP Extensions: CURL, XMLWriter.</li>
<li>Apache Modules: rewrite.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sheepdogit.com/2007/06/03/web-hosting-notes-requirements-comparison/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
