<?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 Aknosis.com</title>
	<atom:link href="http://aknosis.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://aknosis.com</link>
	<description>Once you go Ak, you don&#039;t go back.</description>
	<lastBuildDate>Fri, 04 Nov 2011 19:02:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<meta name="generator" content="deStyle 0.9.3" />
	<item>
		<title>Comment on Using jQuery to rewrite relative urls to absolute urls &#8211; [revisited] by Paul Giberson</title>
		<link>http://aknosis.com/2011/07/17/using-jquery-to-rewrite-relative-urls-to-absolute-urls-revisited/comment-page-1/#comment-110</link>
		<dc:creator>Paul Giberson</dc:creator>
		<pubDate>Fri, 04 Nov 2011 19:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://aknosis.com/?p=508#comment-110</guid>
		<description>This should work:
$(&#039;img&#039;).not(&#039;[src^=&quot;http&quot;],[src^=&quot;https&quot;],[href^=&quot;data:&quot;]&#039;).each(function() {
            $(this).attr(&#039;src&#039;, function(index, value) {
                if (value.substr(0,1) !== &quot;/&quot;) {
                    value = window.location.pathname + value;
                }
                return &quot;http://mynewurl.com&quot; + value;
            });
        });
</description>
		<content:encoded><![CDATA[<p>This should work:<br />
$(&#8216;img&#8217;).not(&#8216;[src^="http"],[src^="https"],[href^="data:"]&#8216;).each(function() {<br />
            $(this).attr(&#8216;src&#8217;, function(index, value) {<br />
                if (value.substr(0,1) !== &#8220;/&#8221;) {<br />
                    value = window.location.pathname + value;<br />
                }<br />
                return &#8220;http://mynewurl.com&#8221; + value;<br />
            });<br />
        });</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using jQuery to rewrite relative urls to absolute urls &#8211; [revisited] by Nemi</title>
		<link>http://aknosis.com/2011/07/17/using-jquery-to-rewrite-relative-urls-to-absolute-urls-revisited/comment-page-1/#comment-109</link>
		<dc:creator>Nemi</dc:creator>
		<pubDate>Fri, 04 Nov 2011 18:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://aknosis.com/?p=508#comment-109</guid>
		<description>Why  this doesnt work for img ? I think problem is not selector with more then one condition in filter. How to do it for img src ?</description>
		<content:encoded><![CDATA[<p>Why  this doesnt work for img ? I think problem is not selector with more then one condition in filter. How to do it for img src ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Quicktip: Check if a class constant exists in PHP by Paul Giberson</title>
		<link>http://aknosis.com/2011/06/29/check-if-a-class-constant-exists-in-php/comment-page-1/#comment-108</link>
		<dc:creator>Paul Giberson</dc:creator>
		<pubDate>Tue, 11 Oct 2011 19:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://aknosis.com/?p=487#comment-108</guid>
		<description>Glad you found it useful.</description>
		<content:encoded><![CDATA[<p>Glad you found it useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Quicktip: Check if a class constant exists in PHP by Alex</title>
		<link>http://aknosis.com/2011/06/29/check-if-a-class-constant-exists-in-php/comment-page-1/#comment-107</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 11 Oct 2011 18:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://aknosis.com/?p=487#comment-107</guid>
		<description>Thanks for this!

I used this as part of a regex function within a validation class, allowing me to pass a pattern or the name of a constant containing a pattern to validate a string.</description>
		<content:encoded><![CDATA[<p>Thanks for this!</p>
<p>I used this as part of a regex function within a validation class, allowing me to pass a pattern or the name of a constant containing a pattern to validate a string.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using jQuery to rewrite relative urls to absolute urls &#8211; [revisited] by Paul Giberson</title>
		<link>http://aknosis.com/2011/07/17/using-jquery-to-rewrite-relative-urls-to-absolute-urls-revisited/comment-page-1/#comment-106</link>
		<dc:creator>Paul Giberson</dc:creator>
		<pubDate>Tue, 26 Jul 2011 21:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://aknosis.com/?p=508#comment-106</guid>
		<description>If all you want to do is remove the href before the hash that isn&#039;t too tough, but you would need to update the selector based on the context of its use. See: http://jsfiddle.net/aknosis/c2yaw/

You may also have to tweak the regex for replacing the href but that code works for the example you have.</description>
		<content:encoded><![CDATA[<p>If all you want to do is remove the href before the hash that isn&#8217;t too tough, but you would need to update the selector based on the context of its use. See: http://jsfiddle.net/aknosis/c2yaw/</p>
<p>You may also have to tweak the regex for replacing the href but that code works for the example you have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using jQuery to rewrite relative urls to absolute urls &#8211; [revisited] by Josh</title>
		<link>http://aknosis.com/2011/07/17/using-jquery-to-rewrite-relative-urls-to-absolute-urls-revisited/comment-page-1/#comment-105</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 26 Jul 2011 20:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://aknosis.com/?p=508#comment-105</guid>
		<description>Thanks for the post! I&#039;d like to do something similar, but just take out the absolute URL from the href attribute. That is take href=&quot;/name1/name2#name3&quot; and make it href=&quot;/#name3&quot;. Any advice?</description>
		<content:encoded><![CDATA[<p>Thanks for the post! I&#8217;d like to do something similar, but just take out the absolute URL from the href attribute. That is take href=&#8221;/name1/name2#name3&#8243; and make it href=&#8221;/#name3&#8243;. Any advice?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using jQuery to rewrite relative urls to absolute urls &#8211; [revisited] by Josh</title>
		<link>http://aknosis.com/2011/07/17/using-jquery-to-rewrite-relative-urls-to-absolute-urls-revisited/comment-page-1/#comment-104</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 26 Jul 2011 20:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://aknosis.com/?p=508#comment-104</guid>
		<description>Thanks for the post! I&#039;d like to do something similar, but just take out the absolute URL from the href attribute. That is take &lt;a href=&quot;/name1/name2#name3&quot; rel=&quot;nofollow&quot;&gt; and make it  &lt;/a&gt;&lt;a href=&quot;/#name3&quot; rel=&quot;nofollow&quot;&gt;. Any advice? &lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the post! I&#8217;d like to do something similar, but just take out the absolute URL from the href attribute. That is take <a href="/name1/name2#name3" rel="nofollow"> and make it  </a><a href="/#name3" rel="nofollow">. Any advice? </a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hiding Unnecessary Response Headers Apache/PHP by Hiding Unnecessary Response Headers Apache/PHP » Aknosis.com : FRIENDDAT BLOG</title>
		<link>http://aknosis.com/2009/10/13/hiding-unnecessary-response-headers-apachephp/comment-page-1/#comment-101</link>
		<dc:creator>Hiding Unnecessary Response Headers Apache/PHP » Aknosis.com : FRIENDDAT BLOG</dc:creator>
		<pubDate>Tue, 03 May 2011 00:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.aknosis.com/?p=164#comment-101</guid>
		<description>[...] here to see the original: Hiding Unnecessary Response Headers Apache/PHP » Aknosis.com  Category: TipsTags: ber-techie &gt; giberson &gt; his-tweets &gt; known-insecure &gt; PHP &gt; response &gt; [...]</description>
		<content:encoded><![CDATA[<p>[...] here to see the original: Hiding Unnecessary Response Headers Apache/PHP » Aknosis.com  Category: TipsTags: ber-techie &gt; giberson &gt; his-tweets &gt; known-insecure &gt; PHP &gt; response &gt; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automating MySQL Database Backups on the Command Line via mysqldump by Aknosis</title>
		<link>http://aknosis.com/2009/10/25/automating-mysql-database-backups-on-the-command-line-via-mysqldump/comment-page-1/#comment-37</link>
		<dc:creator>Aknosis</dc:creator>
		<pubDate>Fri, 18 Dec 2009 05:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.aknosis.com/?p=278#comment-37</guid>
		<description>Good to hear.

Sorry about the syntax highlighting, could not get it to work on this post!</description>
		<content:encoded><![CDATA[<p>Good to hear.</p>
<p>Sorry about the syntax highlighting, could not get it to work on this post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automating MySQL Database Backups on the Command Line via mysqldump by brittany</title>
		<link>http://aknosis.com/2009/10/25/automating-mysql-database-backups-on-the-command-line-via-mysqldump/comment-page-1/#comment-36</link>
		<dc:creator>brittany</dc:creator>
		<pubDate>Thu, 17 Dec 2009 18:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.aknosis.com/?p=278#comment-36</guid>
		<description>Thanks! Short, sweet, and helpful.</description>
		<content:encoded><![CDATA[<p>Thanks! Short, sweet, and helpful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

