<?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>Ellis Web Development &#187; WP Plugins</title>
	<atom:link href="http://ellisweb.net/category/code/wp-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://ellisweb.net</link>
	<description>Thoughts &#38; Articles on ASP.net, C#, Software Development and Technology by Yaakov Ellis</description>
	<lastBuildDate>Mon, 07 May 2012 07:45:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Mint Popular Posts Release 1.0</title>
		<link>http://ellisweb.net/2007/12/mint-popular-posts-release-10/</link>
		<comments>http://ellisweb.net/2007/12/mint-popular-posts-release-10/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 18:47:01 +0000</pubDate>
		<dc:creator>Yaakov Ellis</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[popular-posts]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://ellisweb.net/2007/12/mint-popular-posts-release-10/</guid>
		<description><![CDATA[I just posted the files for release 1.0 of the Mint Popular Posts plugin. I am calling it 1.0 (instead of 0.97 which had been the next sequential release number) since this is adding some nice, shiny functionality (options panel in admin to control caching and external DB, widget-capable) and … <a href="http://ellisweb.net/2007/12/mint-popular-posts-release-10/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>I just posted the files for <a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts.zip">release 1.0</a> of the <a href="http://ellisweb.net/2006/03/wp-mint-popular-posts/">Mint Popular Posts</a> plugin.</p>
<p>I am calling it 1.0 (instead of 0.97 which had been the next sequential release number) since this is adding some nice, shiny functionality (options panel in admin to control caching and external DB, widget-capable) and since the initial release was over a year and a half ago and it is about time that it comes out of <em>&#8220;beta&#8221;</em>. (And since the version numbers are basically arbitrary, it doesn&#8217;t really matter anyways).</p>
<p>Special thanks for <a href="http://www.shokk.com/blog/">Ernie Oporto</a> for his contributions of the bulk of the widget and options code.</p>
]]></content:encoded>
			<wfw:commentRss>http://ellisweb.net/2007/12/mint-popular-posts-release-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mint Popular Posts 0.93 Released</title>
		<link>http://ellisweb.net/2007/02/mint-popular-posts-093-released/</link>
		<comments>http://ellisweb.net/2007/02/mint-popular-posts-093-released/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 16:43:14 +0000</pubDate>
		<dc:creator>Yaakov Ellis</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ellisweb.net/2007/02/mint-popular-posts-093-released/</guid>
		<description><![CDATA[I have just released version 0.93 of the Mint Popuplar Posts plugin for WordPress. This version adds the ability to pull your Mint data from a DB other than the database in which you have installed WordPress (the most requested feature so far). (Cre If your Mint install is located … <a href="http://ellisweb.net/2007/02/mint-popular-posts-093-released/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>I have just released <a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts.zip">version 0.93</a> of the <a href="http://ellisweb.net/2006/03/wp-mint-popular-posts/">Mint Popuplar Posts plugin</a> for WordPress. This version adds the ability to pull your Mint data from a DB other than the database in which you have installed WordPress (the most requested feature so far). (Cre</p>
<p>If your Mint install is located in the same DB as your wordpress data, there is no need to install this update.</p>
<p>For those trying out the plugin, please let me know if you run into any problems or bugs.</p>
<p>Anyone have requests for the next feature to add?</p>
]]></content:encoded>
			<wfw:commentRss>http://ellisweb.net/2007/02/mint-popular-posts-093-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WP: Mint Popular Posts</title>
		<link>http://ellisweb.net/2006/03/wp-mint-popular-posts/</link>
		<comments>http://ellisweb.net/2006/03/wp-mint-popular-posts/#comments</comments>
		<pubDate>Sun, 26 Mar 2006 20:59:08 +0000</pubDate>
		<dc:creator>Yaakov Ellis</dc:creator>
				<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ellisweb.net/2006/03/wp-mint-popular-posts/</guid>
		<description><![CDATA[Mint Popular Posts is a WordPress plugin that for use in conjunction with the Mint. Mint is a php/mysql stats program that stores data (by default) in tables in the same DB that you would use for WordPress. Thus a WP-plugin to access the stats table and return a list … <a href="http://ellisweb.net/2006/03/wp-mint-popular-posts/"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Mint Popular Posts </strong>is a WordPress plugin that for use in conjunction with the <a href="http://haveamint.com">Mint</a>. Mint is a php/mysql stats program that stores data (by default) in tables in the same DB that you would use for WordPress. Thus a WP-plugin to access the stats table and return a list of the most popular posts.<span id="more-76"></span></p>
<p><strong>Download</strong>: <a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts.zip" title="Mint Popular Posts (v0.9)" id="p75">mint-popular-posts.zip</a></p>
<p><strong>Versions</strong>:</p>
<ul>
<li>0.9 &#8211; March 26, 2006 &#8211; Initial Release</li>
<li>0.91 &#8211; March 28, 2006 &#8211; Added wildcards for ignore filter, extension filter</li>
<li><a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts-0.92.zip">0.92</a> &#8211; April 6, 2006 &#8211; Bug Fix (thanks <a href="http://5thirtyone.com/">Derek</a>!)</li>
<li><a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts.zip-0.931">0.93</a> &#8211; February 20, 2007 &#8211; Added ability to pull data from different DB (based on <a href="http://eirikso.com/misc/MintPopular.txt">code</a> by <a href="http://eirikso.com/">erikso</a> <a href="http://ellisweb.net/2006/03/wp-mint-popular-posts/#comment-1600">below</a>)</li>
<li><a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts-0.931.zip">0.931</a> &#8211; February 21, 2007 &#8211; Added README file to download</li>
<li><a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts-0.94.zip">0.94</a> &#8211; February 22, 2007 &#8211; Changed $text_to_remove to a comma-separated list</li>
<li><a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts-0.941.zip">0.941</a> &#8211; February 27, 2007 &#8211; <a href="http://ellisweb.net/2006/03/wp-mint-popular-posts/#comment-12321">Bug fix</a> (when caching results from external DB)</li>
<li><a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts-0.95.zip">0.95</a> &#8211; April 15, 2007 &#8211; Bug fixes (double-comma can be used in parameters 3 and 4, $pre and $post parameters <a href="http://ellisweb.net/2006/03/wp-mint-popular-posts/#comment-21226">now working</a>)</li>
<li><a href="http://www.ellisweb.net/wp-content/uploads/mint-popular-posts-0.96.zip">0.96</a> &#8211; September 5, 2007 &#8211; Changed caching mechanism to work with built-in WordPress caching (based on work done by <a href="http://http://turmsegler.net/20070904/wp-plugin-mintpopularpostswphttp://turmsegler.net/20070904/wp-plugin-mintpopularpostswp">Benjamin Stein</a>)</li>
<li><strong><a href="eb.net/wp-content/uploads/mint-popular-posts.zip">1.0</a></strong> &#8211; December 18, 2007 &#8211; Can now be added to layout as a widget. Control panel added in Options section of Admin to control caching, external DB and widget settings. Thanks to <a href="http://www.shokk.com/blog/">Ernie Oporto</a> for contributing to this release.</li>
</ul>
<p><strong>History</strong>:</p>
<ul>
<li>The <a href="http://www.xlab.co.uk/weblog/632">original algorithm</a> was written by Phillip Lindsay of <a href="http://www.xlab.co.uk">xlab</a>.</li>
<li>The <a href="http://www.projectarcanum.com/archive/2006/02/16/popular-posts-with-mint/">algorithm was extended</a> by <a href="http://www.projectarcanum.com/archive/author/cody/">Cody Williams</a> of <a href="http://www.projectarcanum.com">Project Arcanum</a>.</li>
<li>I have done the following:
<ul>
<li>Packaged the algorithm into wp-plugin format</li>
<li>Included extra options for formatting, and customization in the function-call</li>
</ul>
</li>
</ul>
<p><strong>Notes: </strong>The following options can be set through the WordPress Admin &gt; Options &gt; Mint Popular Posts page</p>
<ul>
<li><em>External DB</em>: If your Mint data is hosted in a different database from your WordPress install, you can indicate this and set the external DB credentials</li>
<li><em>Caching</em>: If you would like to take advantage of the caching mechanism, indicate this on the options page</li>
<li><em>Widget Options</em>: If you will be using this as a widget and would like to use non-default parameters, you can set up the different parameters to be used in the options section</li>
</ul>
<p><strong>Function Call </strong>(with default settings):</p>
<p>getPopularPosts(<br />
$num_posts = 10,<br />
$prev_days = 0,<br />
$text_to_remove = &#8221;,<br />
$ignore_list = &#8221;,<br />
$ignore_extensions = &#8221;,<br />
$include_count = false,<br />
$include_www = false,<br />
$pre = &#8216;&lt;li&gt;&#8217;,<br />
$post = &#8216;&lt;/li&gt;&#8217;<br />
)</p>
<p><strong>Parameters:</strong></p>
<ol>
<li><em>$num_posts</em>: The number of posts to display (Default: 10)</li>
<li><em>$prev_days</em>: How many days would you like the list to run for? For all posts, enter 0 (default). Any other number (X) will retrieve the top posts in the last X days</li>
<li><em>$text_to_remove</em>: Comma-separated list of the text to remove from each post title that is displayed. For example, if every title begins with &#8220;Ellis Web » &#8221; it would be redundant to enter this as part of the link text for every post listed. Use a double-comma (&#8220;,,&#8221;) if you have a comma inside text that you would like to remove (this way it will not be treated as a field delimiter)</li>
<li><em>$ignore_list</em>: comma-separated list of urls (including http://) that should not be counted in the popular posts list. Wildcard = * or %. Use a double-comma (&#8220;,,&#8221;) if you have a comma inside text that you would like to remove (this way it will not be treated as a field delimiter)</li>
<li><em>$ignore_extensions</em>: commas-separated list of file extensions to ignore. Wildcard = * or % (Added v0.91)</li>
<li><em>$include_count</em>: should the count for each post be displayed?</li>
<li><em>$include_www</em>: should a &#8220;www&#8221; be appended to the beginning of every url (changing http://ellisweb.net into http://www.ellisweb.net). (Default: false)</li>
<li><em>$pre</em>: The html that should be included before every post listing (default: &lt;li&gt;)</li>
<li><em>$post</em>: The html that should be included after every post listing (default:&lt;/li&gt;)</li>
</ol>
<p><strong>Usage: </strong>&lt;?php getPopularPosts(10,7,&#8221;Website Name&#8221;); ?&gt; will print out an ordered list of the top 10 posts from the last seven days</p>
<p><strong>Future Plans</strong>:</p>
<ul>
<li><strike>Allow users to save settings for the plugin in an extension of the Admin &gt; Options menu</strike></li>
<li>Provide a function to retrieve a list of most popular &#8220;watched&#8221; items</li>
<li>Add function that can be called in the loop to retrieve number of hits on a specific page</li>
<li><strike>Allow option to turn caching on or off</strike> (0.96)</li>
<li><del datetime="2006-03-28T19:34:53+00:00">Better Filter settings</del> (0.91)
<ul>
<li><del datetime="2006-03-28T19:34:53+00:00">Allow wildcards</del> (0.91)</li>
<li><del datetime="2006-03-28T19:34:53+00:00">Filter out entries with designated file extensions</del> (0.91)</li>
</ul>
</li>
<li><strike>Allow retrieval of Mint data from different DB</strike> (0.93)</li>
<li><strike>Changed $text_to_temove to comma-separated list</strike> (0.94)</li>
<li><strike>Allow plugin to be added to layout as a widget</strike></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ellisweb.net/2006/03/wp-mint-popular-posts/feed/</wfw:commentRss>
		<slash:comments>126</slash:comments>
		</item>
	</channel>
</rss>

