<?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 for actionshrimp.com</title>
	<atom:link href="http://www.actionshrimp.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actionshrimp.com</link>
	<description>fun and geekery</description>
	<lastBuildDate>Sat, 04 Feb 2012 14:59:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on CakePHP: PagesController with Admin Routing by Emanuele</title>
		<link>http://www.actionshrimp.com/2009/04/cakephp-pagescontroller-with-admin-routing/comment-page-1/#comment-26522</link>
		<dc:creator>Emanuele</dc:creator>
		<pubDate>Sat, 04 Feb 2012 14:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=272#comment-26522</guid>
		<description>For cakephp 2.0 I adapted this article:

http://nuts-and-bolts-of-cakephp.com/2011/03/15/dealing-with-static-pages-v2-or-3/

for the admin static pages, in this way:

 $staticAdminPages = array(
          &#039;tools&#039;
  );
  
  $staticAdminList = implode(&#039;&#124;&#039;, $staticAdminPages);
  
  Router::connect(&#039;/admin/:static&#039;, array(
          &#039;plugin&#039; =&gt; false,
          &#039;controller&#039; =&gt; &#039;pages&#039;,
          &#039;action&#039; =&gt; &#039;display&#039;, &#039;admin&#039; =&gt; true), array(
                  &#039;static&#039; =&gt; $staticAdminList,
                  &#039;pass&#039; =&gt; array(&#039;static&#039;)
                  )
          );

Obviously I wrote the admin_display function but I left these lines unchanged:

if (!empty($path[0])) {
   $page = $path[0];
}

Now I am able to connect to this url: 
http://server/site/admin/tools

Enjoy it!</description>
		<content:encoded><![CDATA[<p>For cakephp 2.0 I adapted this article:</p>
<p><a href="http://nuts-and-bolts-of-cakephp.com/2011/03/15/dealing-with-static-pages-v2-or-3/" rel="nofollow">http://nuts-and-bolts-of-cakephp.com/2011/03/15/dealing-with-static-pages-v2-or-3/</a></p>
<p>for the admin static pages, in this way:</p>
<p> $staticAdminPages = array(<br />
          &#8216;tools&#8217;<br />
  );</p>
<p>  $staticAdminList = implode(&#8216;|&#8217;, $staticAdminPages);</p>
<p>  Router::connect(&#8216;/admin/:static&#8217;, array(<br />
          &#8216;plugin&#8217; =&gt; false,<br />
          &#8216;controller&#8217; =&gt; &#8216;pages&#8217;,<br />
          &#8216;action&#8217; =&gt; &#8216;display&#8217;, &#8216;admin&#8217; =&gt; true), array(<br />
                  &#8216;static&#8217; =&gt; $staticAdminList,<br />
                  &#8216;pass&#8217; =&gt; array(&#8216;static&#8217;)<br />
                  )<br />
          );</p>
<p>Obviously I wrote the admin_display function but I left these lines unchanged:</p>
<p>if (!empty($path[0])) {<br />
   $page = $path[0];<br />
}</p>
<p>Now I am able to connect to this url:<br />
<a href="http://server/site/admin/tools" rel="nofollow">http://server/site/admin/tools</a></p>
<p>Enjoy it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Lightbox with Apache directory listings as an image gallery by ndv2</title>
		<link>http://www.actionshrimp.com/2009/03/using-lightbox-with-apache-directory-listings-as-an-image-gallery/comment-page-1/#comment-26521</link>
		<dc:creator>ndv2</dc:creator>
		<pubDate>Sat, 28 Jan 2012 02:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=79#comment-26521</guid>
		<description>Hi,
    I just wanted to contribute a little bit here. For sites with very large images lightbox has a tendency to be unusable. To fix it do the following (lightbox v2.05):

- In lightbox.css, change line 2 from:
#lightbox img{ width: auto; height: auto;}
to
#lightbox img{ max-width: 800px; width: auto; height: auto; }

- In lightbox.js, right before &quot;Bug Fixed by Andy Scott&quot;, line 260, add:
if (imgPreloader.width &gt; 800) {
imgPreloader.height = imgPreloader.height / imgPreloader.width * 800;
imgPreloader.width = 800;
}
-- if the above doesn&#039;t display correctly in this post, I got the info from:
http://lokeshdhakar.com/forums/discussion/5362/solved-how-to-limit-displayed-image-width-size/p1


    I also had an issue where the images loaded far down on the page in firefox 9. To fix that:

- In lightbox.js change line 231 from:
var lightboxTop = arrayPageScroll[1] + (document.viewport.getHeight() / 10);
to
var lightboxTop = arrayPageScroll[1] + 120;


    Thats it. Thanks for these instructions Matt. You saved me a lot of time</description>
		<content:encoded><![CDATA[<p>Hi,<br />
    I just wanted to contribute a little bit here. For sites with very large images lightbox has a tendency to be unusable. To fix it do the following (lightbox v2.05):</p>
<p>- In lightbox.css, change line 2 from:<br />
#lightbox img{ width: auto; height: auto;}<br />
to<br />
#lightbox img{ max-width: 800px; width: auto; height: auto; }</p>
<p>- In lightbox.js, right before &#8220;Bug Fixed by Andy Scott&#8221;, line 260, add:<br />
if (imgPreloader.width &gt; 800) {<br />
imgPreloader.height = imgPreloader.height / imgPreloader.width * 800;<br />
imgPreloader.width = 800;<br />
}<br />
&#8211; if the above doesn&#8217;t display correctly in this post, I got the info from:<br />
<a href="http://lokeshdhakar.com/forums/discussion/5362/solved-how-to-limit-displayed-image-width-size/p1" rel="nofollow">http://lokeshdhakar.com/forums/discussion/5362/solved-how-to-limit-displayed-image-width-size/p1</a></p>
<p>    I also had an issue where the images loaded far down on the page in firefox 9. To fix that:</p>
<p>- In lightbox.js change line 231 from:<br />
var lightboxTop = arrayPageScroll[1] + (document.viewport.getHeight() / 10);<br />
to<br />
var lightboxTop = arrayPageScroll[1] + 120;</p>
<p>    Thats it. Thanks for these instructions Matt. You saved me a lot of time</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Speech Bubble Popups containing a View for Android MapView by Dorkmaster Flek</title>
		<link>http://www.actionshrimp.com/2011/05/speech-bubble-popups-containing-a-view-for-android-mapview/comment-page-1/#comment-26519</link>
		<dc:creator>Dorkmaster Flek</dc:creator>
		<pubDate>Tue, 24 Jan 2012 19:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=361#comment-26519</guid>
		<description>Thank you for this example!  I&#039;ve been searching for a way to do this and nothing has been this clean and easy to understand.  I knew it had to be related to adding the custom popup view to the MapView group.</description>
		<content:encoded><![CDATA[<p>Thank you for this example!  I&#8217;ve been searching for a way to do this and nothing has been this clean and easy to understand.  I knew it had to be related to adding the custom popup view to the MapView group.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim XPath Plugin by Marc</title>
		<link>http://www.actionshrimp.com/2011/04/vim-xpath-plugin/comment-page-1/#comment-26518</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Tue, 24 Jan 2012 15:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=324#comment-26518</guid>
		<description>I did a brew install on the Mac and that&#039;s what I ended up with.

I&#039;m not quite sure how to go about nuking it correctly and getting the &#039;correct&#039; one.</description>
		<content:encoded><![CDATA[<p>I did a brew install on the Mac and that&#8217;s what I ended up with.</p>
<p>I&#8217;m not quite sure how to go about nuking it correctly and getting the &#8216;correct&#8217; one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Lightbox with Apache directory listings as an image gallery by Matt</title>
		<link>http://www.actionshrimp.com/2009/03/using-lightbox-with-apache-directory-listings-as-an-image-gallery/comment-page-1/#comment-26517</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 23 Jan 2012 13:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=79#comment-26517</guid>
		<description>Hi Nick

I don&#039;t think this functionality has changed since Apache 1.3.6.  Is HeaderName working?  Are you sure you have mod_autoindex enabled?  

Do you have an AllowOverride directive in your config?  You must have at least AllowOverride Indexes for this to work, although this shouldn&#039;t make a difference if putting ReadmeName in the main config file doesn&#039;t work.

Matt</description>
		<content:encoded><![CDATA[<p>Hi Nick</p>
<p>I don&#8217;t think this functionality has changed since Apache 1.3.6.  Is HeaderName working?  Are you sure you have mod_autoindex enabled?  </p>
<p>Do you have an AllowOverride directive in your config?  You must have at least AllowOverride Indexes for this to work, although this shouldn&#8217;t make a difference if putting ReadmeName in the main config file doesn&#8217;t work.</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Lightbox with Apache directory listings as an image gallery by Nick</title>
		<link>http://www.actionshrimp.com/2009/03/using-lightbox-with-apache-directory-listings-as-an-image-gallery/comment-page-1/#comment-26515</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sun, 22 Jan 2012 22:31:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=79#comment-26515</guid>
		<description>Hi Matt,

thank you for your great tutorial.

I tried to establish this simple galery but i got a problem with the apache (version 2.2) 

errorlog says the following: 

&quot;.htaccess: ReadmeName not allowed here&quot;

even in the cfg file ReadmeName is not working, maybe this issue is connected with some changes in the autoindex mod -&gt; http://httpd.apache.org/docs/current/mod/mod_autoindex.html 
do you have any idea what could be wrong?

thank you for an reply!

greets,
nick</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>thank you for your great tutorial.</p>
<p>I tried to establish this simple galery but i got a problem with the apache (version 2.2) </p>
<p>errorlog says the following: </p>
<p>&#8220;.htaccess: ReadmeName not allowed here&#8221;</p>
<p>even in the cfg file ReadmeName is not working, maybe this issue is connected with some changes in the autoindex mod -&gt; <a href="http://httpd.apache.org/docs/current/mod/mod_autoindex.html" rel="nofollow">http://httpd.apache.org/docs/current/mod/mod_autoindex.html</a><br />
do you have any idea what could be wrong?</p>
<p>thank you for an reply!</p>
<p>greets,<br />
nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim XPath Plugin by Dave</title>
		<link>http://www.actionshrimp.com/2011/04/vim-xpath-plugin/comment-page-1/#comment-26513</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 16 Jan 2012 23:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=324#comment-26513</guid>
		<description>Glad it&#039;s sorted Marc - I should probably tidy it up so it can use either etree implementation. Out of interest where did you get the version of lxml without etree? All the versions on their page seem to include it, was it an older version bundled with a package manager or something?</description>
		<content:encoded><![CDATA[<p>Glad it&#8217;s sorted Marc &#8211; I should probably tidy it up so it can use either etree implementation. Out of interest where did you get the version of lxml without etree? All the versions on their page seem to include it, was it an older version bundled with a package manager or something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim XPath Plugin by Marc</title>
		<link>http://www.actionshrimp.com/2011/04/vim-xpath-plugin/comment-page-1/#comment-26512</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Sun, 15 Jan 2012 17:26:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=324#comment-26512</guid>
		<description>Turns out, the lxml version that I have doesn&#039;t have lxml.etree. 

The code relies on methods in that specific etree implementation (as opposed to others in lxml like xml.etree.cElementTree)</description>
		<content:encoded><![CDATA[<p>Turns out, the lxml version that I have doesn&#8217;t have lxml.etree. </p>
<p>The code relies on methods in that specific etree implementation (as opposed to others in lxml like xml.etree.cElementTree)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim XPath Plugin by Marc</title>
		<link>http://www.actionshrimp.com/2011/04/vim-xpath-plugin/comment-page-1/#comment-26511</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Sat, 14 Jan 2012 17:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=324#comment-26511</guid>
		<description>I have the same problem

When I :python import lxml

I get no message at all.

I have lxml installed with python 2.7, vim is also built with +python

Running MacVim on Lion</description>
		<content:encoded><![CDATA[<p>I have the same problem</p>
<p>When I :python import lxml</p>
<p>I get no message at all.</p>
<p>I have lxml installed with python 2.7, vim is also built with +python</p>
<p>Running MacVim on Lion</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Speech Bubble Popups containing a View for Android MapView by DanielVast</title>
		<link>http://www.actionshrimp.com/2011/05/speech-bubble-popups-containing-a-view-for-android-mapview/comment-page-1/#comment-26509</link>
		<dc:creator>DanielVast</dc:creator>
		<pubDate>Fri, 30 Dec 2011 13:38:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionshrimp.com/?p=361#comment-26509</guid>
		<description>Thank you very nuch man been searching for this for a while now you have saved me :)</description>
		<content:encoded><![CDATA[<p>Thank you very nuch man been searching for this for a while now you have saved me <img src='http://www.actionshrimp.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

