<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>froginmythroat (FIMT) &#187; WordPress</title>
	<atom:link href="http://froginmythroat.com/category/code/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://froginmythroat.com</link>
	<description>looking for identity in a transcultural world...</description>
	<lastBuildDate>Mon, 13 Dec 2010 19:08:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='froginmythroat.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>froginmythroat (FIMT) &#187; WordPress</title>
		<link>http://froginmythroat.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://froginmythroat.com/osd.xml" title="froginmythroat (FIMT)" />
	<atom:link rel='hub' href='http://froginmythroat.com/?pushpress=hub'/>
		<item>
		<title>wp_ozh_clickcounter v1.01fimt</title>
		<link>http://froginmythroat.com/2005/08/07/wp_ozh_clickcounter-v101fimt/</link>
		<comments>http://froginmythroat.com/2005/08/07/wp_ozh_clickcounter-v101fimt/#comments</comments>
		<pubDate>Sun, 07 Aug 2005 08:01:32 +0000</pubDate>
		<dc:creator>Croaky</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://froginmythroat.no-ip.com/wp/?p=70</guid>
		<description><![CDATA[I have modified the WordPress plugin wp_ozh_clickcounter v1.01 so it: can be used to track clicks on links/blogroll can ignore bots can ignore admin clicks ignores links to local absolute URLs. $wp_ozh_click['do_comments'] = 1 Tracking link/blogroll clicks wp_ozh_click_modifyhrefs(get_links()) doesn&#8217;t work because the default action of get_links is to echo links, not return them. However calling [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=froginmythroat.com&amp;blog=2811670&amp;post=60&amp;subd=froginmythroat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have modified the WordPress plugin <a href="http://frenchfragfactory.net/ozh/archives/2004/09/17/click-counter-plugin-for-wordpress/">wp_ozh_clickcounter</a> v1.01 so it:</p>
<ul>
<li>can be used to track clicks on links/blogroll </li>
<li>can ignore bots </li>
<li> can ignore admin clicks </li>
<li>ignores links to local absolute URLs. </li>
<li>$wp_ozh_click['do_comments'] = 1</li>
</ul>
<p><span id="more-60"></span></p>
<h3>Tracking link/blogroll clicks</h3>
<p>wp_ozh_click_modifyhrefs(get_links()) doesn&#8217;t work because the default action of get_links is to echo links, not return them. However calling get_links with the 11th parameter set to false will return the links instead of echoing them, eg:</p>
<p>    cat_id, &#8216;&lt;li&gt;&#8217;, &#8216;&lt;/li&gt;&#8217;, &#8216;&lt;br /&gt;&#8217;, FALSE, &#8216;id&#8217;, TRUE, TRUE, -1, true, false)); ?&gt;</p>
<p>However, get_links() returns links with the href wrapped in single quotes, so in addition modifications to the orginal plugin are required. These modifications are included in the version below.</p>
<h3>Ignore bots</h3>
<p>When a bot crawls a link it will increment the number of clicks. The modified plugin can check to see if a bot is crawling the link and not increment the count.</p>
<p>Set $wp_ozh_click['log_bots'] = 0; (default)</p>
<h3>Ignore admin clicks</h3>
<p>When the admin user is logged on, the modified plugin can ignore clicks.</p>
<p>Set $wp_ozh_click['log_admin_clicks'] = 1; (default)</p>
<h3>Ignore local absolute URL links</h3>
<p>If you use the &lt;!&#8211;more&#8211;&gt; tag in posts, then the link to the rest of the post will be an absolute URL that will be tracked.  v1.01fimt ignores absolute local URLs as well as relative local URLs,  unless explicity told otherwise by placing the count tag in the link.</p>
<h3>Links in comments are tracked by default</h3>
<p>$wp_ozh_click['do_comments'] = 1 is set in the plugin. All other settings are the same as v1.01.</p>
<p><a href="/wp/wp-content/files/wp_ozh_clickcounter_v101fimt.zip">Download v1.01fimt.</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/froginmythroat.wordpress.com/60/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/froginmythroat.wordpress.com/60/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/froginmythroat.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/froginmythroat.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/froginmythroat.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/froginmythroat.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/froginmythroat.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/froginmythroat.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/froginmythroat.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/froginmythroat.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/froginmythroat.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/froginmythroat.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/froginmythroat.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/froginmythroat.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/froginmythroat.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/froginmythroat.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=froginmythroat.com&amp;blog=2811670&amp;post=60&amp;subd=froginmythroat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://froginmythroat.com/2005/08/07/wp_ozh_clickcounter-v101fimt/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff4ec23d2312cb0178796bf9bd1898c1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Croaky</media:title>
		</media:content>
	</item>
	</channel>
</rss>
