<?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: AJAX Logfile Tailer &amp; Viewer</title>
	<atom:link href="http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/feed/" rel="self" type="application/rss+xml" />
	<link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/</link>
	<description>from John Minnihan, founder of Freepository.</description>
	<lastBuildDate>Fri, 05 Mar 2010 05:58:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John Minnihan</title>
		<link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/comment-page-1/#comment-44235</link>
		<dc:creator>John Minnihan</dc:creator>
		<pubDate>Wed, 03 Feb 2010 18:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-44235</guid>
		<description>Screen flicker on any div update is usually the result of a collision of heights of the elements that are changing.&lt;br&gt;&lt;br&gt;Be sure that there&#039;s adequate space (or at least no overlap) between the div you are updating and any adjacent divs.  The flicker is caused when the DOM renders the new placement &amp; has to &#039;adjust&#039; the overlap.</description>
		<content:encoded><![CDATA[<p>Screen flicker on any div update is usually the result of a collision of heights of the elements that are changing.</p>
<p>Be sure that there&#39;s adequate space (or at least no overlap) between the div you are updating and any adjacent divs.  The flicker is caused when the DOM renders the new placement &#038; has to &#39;adjust&#39; the overlap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/comment-page-1/#comment-44230</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 03 Feb 2010 02:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-44230</guid>
		<description>I notice there is a screen/div flicker/back-out when the div updates is there a way to eliminate this?&lt;br&gt;I have try&#039;ed to Google something but could not find anything relative.&lt;br&gt;Thanks for a great script thought.</description>
		<content:encoded><![CDATA[<p>I notice there is a screen/div flicker/back-out when the div updates is there a way to eliminate this?<br />I have try&#39;ed to Google something but could not find anything relative.<br />Thanks for a great script thought.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Minnihan</title>
		<link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/comment-page-1/#comment-44128</link>
		<dc:creator>John Minnihan</dc:creator>
		<pubDate>Wed, 20 Jan 2010 18:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-44128</guid>
		<description>In theory, that should be possible.  Create two of each of the functions or more cleanly, allow them to take arguments that point to the correct log file script &amp; div to update.&lt;br&gt;&lt;br&gt;Use my reload.php script, the page that opens in the test harness with the big &#039;Generate Log  Output&#039; button, as the way to test:&lt;br&gt;&lt;br&gt;&lt;?&lt;br&gt;$log = fopen(&quot;./ajax-logtail-viewer.log&quot;, &quot;a&quot;);&lt;br&gt;$ip = $_SERVER[&#039;REMOTE_ADDR&#039;];&lt;br&gt;$page = $_SERVER[&#039;SCRIPT_NAME&#039;];&lt;br&gt;fwrite($log, &quot;ALFV - &quot; . $ip . &quot; loaded &quot;  . $page . &quot; at &quot; . gmstrftime (&quot;%b %d %Y %H:%M:%S&quot;, time()) . &quot;n&quot;);&lt;br&gt;?&gt;&lt;br&gt;&lt;br&gt;&lt;html&gt;&lt;br&gt;&lt;br&gt;&lt;button style=&quot;font-size:30px;&quot; onclick=&quot;window.location.reload()&quot;;&gt;Generate Log Output&lt;/button&gt;&lt;br&gt;&lt;br&gt;&lt;br/&gt;&lt;br/&gt;&lt;br&gt;&lt;br&gt;Click the button you see above to reload this page.  It will generate log output that may be viewed in the Log Viewer.&lt;br&gt;&lt;/html&gt;&lt;br&gt;&lt;br&gt;Create two of these one, say reload-1.php and reload-2.php and make -1 point to the first log file &amp; -2 point to the second one.  This is just a means to generate output &amp; does not actually implement any part of the logtail viewer, so don&#039;t get too hung up on it.  Make corresponding adjustments in the logtail viewer itself to test this technique.&lt;br&gt;&lt;br&gt;If you get it to work like that, let me know.</description>
		<content:encoded><![CDATA[<p>In theory, that should be possible.  Create two of each of the functions or more cleanly, allow them to take arguments that point to the correct log file script &#038; div to update.</p>
<p>Use my reload.php script, the page that opens in the test harness with the big &#39;Generate Log  Output&#39; button, as the way to test:</p>
<p>&lt;?<br />$log = fopen(&#8220;./ajax-logtail-viewer.log&#8221;, &#8220;a&#8221;);<br />$ip = $_SERVER[&#39;REMOTE_ADDR&#39;];<br />$page = $_SERVER[&#39;SCRIPT_NAME&#39;];<br />fwrite($log, &#8220;ALFV &#8211; &#8221; . $ip . &#8221; loaded &#8221;  . $page . &#8221; at &#8221; . gmstrftime (&#8220;%b %d %Y %H:%M:%S&#8221;, time()) . &#8220;n&#8221;);<br />?&gt;</p>
<p>&lt;html&gt;</p>
<p>&lt;button style=&#8221;font-size:30px;&#8221; onclick=&#8221;window.location.reload()&#8221;;&gt;Generate Log Output&lt;/button&gt;</p>
<p>Click the button you see above to reload this page.  It will generate log output that may be viewed in the Log Viewer.<br />&lt;/html&gt;</p>
<p>Create two of these one, say reload-1.php and reload-2.php and make -1 point to the first log file &#038; -2 point to the second one.  This is just a means to generate output &#038; does not actually implement any part of the logtail viewer, so don&#39;t get too hung up on it.  Make corresponding adjustments in the logtail viewer itself to test this technique.</p>
<p>If you get it to work like that, let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/comment-page-1/#comment-44124</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 20 Jan 2010 09:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-44124</guid>
		<description>Is there a way to get two of these going on the same page with different logs?</description>
		<content:encoded><![CDATA[<p>Is there a way to get two of these going on the same page with different logs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Minnihan</title>
		<link>http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/comment-page-1/#comment-43888</link>
		<dc:creator>John Minnihan</dc:creator>
		<pubDate>Wed, 29 Jul 2009 20:40:19 +0000</pubDate>
		<guid isPermaLink="false">http://commavee.com/2007/04/13/ajax-logfile-tailer-viewer/#comment-43888</guid>
		<description>Hey all -&lt;br&gt;&lt;br&gt;To everyone who has visited this page, checked the example and found that it didn&#039;t refresh as advertised, please accept my apologies.&lt;br&gt;&lt;br&gt;I had made some server-side configuration changes to Apache that resulted in far-too-aggressive caching of page content.  This had the affect of not refreshing the logtail &lt;div&gt; in the example.&lt;br&gt;&lt;br&gt;There is (and was) nothing wrong with the script itself, so if you had downloaded it &amp; attempted to use it on your own server, it would have worked for you.&lt;br&gt;&lt;br&gt;Again, apologies to anyone that was blocked by this server-side configuration error on my part.  I&#039;ve restored the original config &amp; the example now functions as it should.</description>
		<content:encoded><![CDATA[<p>Hey all -</p>
<p>To everyone who has visited this page, checked the example and found that it didn&#39;t refresh as advertised, please accept my apologies.</p>
<p>I had made some server-side configuration changes to Apache that resulted in far-too-aggressive caching of page content.  This had the affect of not refreshing the logtail &lt;div&gt; in the example.</p>
<p>There is (and was) nothing wrong with the script itself, so if you had downloaded it &#038; attempted to use it on your own server, it would have worked for you.</p>
<p>Again, apologies to anyone that was blocked by this server-side configuration error on my part.  I&#39;ve restored the original config &#038; the example now functions as it should.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
