<?xml version="1.0" encoding="utf-8"?>

<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:cc="http://web.resource.org/cc/"
  xmlns="http://purl.org/rss/1.0/">

<channel rdf:about="http://mt-hacks.com/">
<title>BlacklistStats v0.5 Beta</title>
<link>http://mt-hacks.com/20040302-blackliststats-v05-beta.html</link>
<description>BlacklistStats v0.5 Beta Discussion at MT-Hacks.com</description>
<dc:language>en-us</dc:language>
<dc:creator>Mark</dc:creator>
<dc:date>2004-03-02T22:10:02-05:00</dc:date>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=4.25b2-en" />

<cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/1.0/" />


<items>
<rdf:Seq>
<rdf:li rdf:resource="http://mt-hacks.com/20040302-blackliststats-v05-beta.html#057764" />

<rdf:li rdf:resource="http://mt-hacks.com/20040302-blackliststats-v05-beta.html#057805" />

<rdf:li rdf:resource="http://mt-hacks.com/20040302-blackliststats-v05-beta.html#139258" />

<rdf:li rdf:resource="http://mt-hacks.com/20040302-blackliststats-v05-beta.html#339817" />

<rdf:li rdf:resource="http://mt-hacks.com/20040302-blackliststats-v05-beta.html#340630" />
</rdf:Seq>
</items>

</channel>

<item rdf:about="http://mt-hacks.com/20040302-blackliststats-v05-beta.html">
<title>BlacklistStats v0.5 Beta</title>
<link>http://mt-hacks.com/20040302-blackliststats-v05-beta.html</link>
<description><![CDATA[<p>This plugin is designed to be used with <a href="http://www.jayallen.org/projects/mt-blacklist/">MT-BlackList</a>.  The plugin gives you the ability easily see stats about what is being blocked by your blacklist, including the ability to summarize and rank blacklist entries.</p>

<p>BlacklistStats is an adaptation of the <a href="http://www.rayners.org/2002/12/01/mtsearches.php">Searches</a> plugin by David Raynes.  99.9% of the credit goes to David, as I modified only a very small portion of the code to create this plugin.</p>

<p><b>Instructions</b></p>

<p>1.  Download the plugin:  </p>

<p><MTIfMemberLoggedIn><a href="http://mt-hacks.com/downloads/blackliststats.zip">blackliststats.zip</a></MTIfMemberLoggedIn></p>

<p>2.  Upload the "blackliststats.pl" file to the plugins directory in your MT installation.</p>

<p>3.  Begin using the template tags described below</p>

<p><b>Template Tags</b></p>

<p><b>MTBlacklistStats</b> - A container tag used for displaying statistics about your blacklist activity.  The tags below must be used within an MTBlacklistStats container.</p>

<p>arguments:</p>

<p><i>days</i>: to include blocks from only the last n days (e.g. &ltMTBlacklistStats days="7"&gt) <br />
<i>lastn</i>: to include n searches in the list (e.g. &ltMTBlacklistStats lastn="5"&gt)<br />
<i>unique</i>: to include only the latest instance of a particular blacklist entry (e.g. &ltMTBlacklistStats unique="1"&gt) <br />
<i>rank</i>: orders the blacklist entries by rank, the most common being the first (e.g. &ltMTBlacklistStats rank="1"&gt), implies unique </p>

<p><b>MTBlacklistValue</b> - The blacklist entry that caused the comment/trackback to be blocked (ie. viagra.com).</p>

<p><b>MTBlacklistDate</b> - The date that the comment was blocked.  This tag takes a "format" argument, which works the same as <a href="http://www.movabletype.org/docs/mtmanual_tags.html#date%20tag%20formats">MT Date formats</a>.</p>

<p><b>MTBlacklistIP</b> - The IP address of the person (or server) of the blocked comment/trackback.</p>

<p><b>MTBlacklistBlog</b> - The name of the blog on which the blog occured.  This is useful if you have more than one blog.</p>

<p><b>MTBlacklistType</b> - The type of block:  'comment' or 'trackback'</p>

<p><b>MTBlacklistRank</b> - The rank of the blacklist entry.  For example, the blacklist entry that resulted in the highest number of blocks would be ranked #1.</p>

<p><b>MTBlacklistTotal</b> - The total number of blocks for a blacklist entry.  For example if 5 comments were blocked containing "viagra.com", this tag would have a value of 5.</p>

<p>Also included in the zip file is a sample template.  The template creates two tables:</p>

<p><b>Blacklist Stats</b> - lists each block by date, most recent listed first.</p>

<p><b>Rankings</b> - lists each blacklist entry, ranked from the most blocks to the least.</p>

<p>You may need to adjust the stylesheet and image paths.  I used the stylesheet used by the MT admin interface.</p>

<p>Notes:</p>

<p>1.  If you want keep your stats private, be sure to build the stats file in a protected area.</p>

<p>2.  It may be a good idea to uncheck "Rebuild this template automatically..." and just manually rebuild the stats from time to time (especially if you have a large activity log).</p>

<p>3.  The plugin pulls data from the activity log.  <i>If you reset the activity log, your BlacklistStats will also be reset</i>.</p>

<p><br />
</p>]]></description>
<dc:subject>BlacklistStats</dc:subject>
<dc:creator>Mark</dc:creator>
<dc:date>2004-03-02T22:10:02-05:00</dc:date>
</item>


<item rdf:about="http://mt-hacks.com/20040302-blackliststats-v05-beta.html">
<title>BlacklistStats v0.5 Beta</title>
<link>http://mt-hacks.com/20040302-blackliststats-v05-beta.html#057764</link>
<description><![CDATA[<p>I installed this using plugin manager which doesn't always really work. However, where will I find this once I install it? When I log into blacklist?</p>]]></description>
<dc:subject>BlacklistStats</dc:subject>
<dc:creator>joey</dc:creator>
<dc:date>2004-10-29T22:43:07-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20040302-blackliststats-v05-beta.html">
<title>BlacklistStats v0.5 Beta</title>
<link>http://mt-hacks.com/20040302-blackliststats-v05-beta.html#057805</link>
<description><![CDATA[<p>No, it won't show up in MT-Blacklist.  To use the plugin, add the template tags described above to your templates.</p>]]></description>
<dc:subject>BlacklistStats</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2004-10-30T09:28:20-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20040302-blackliststats-v05-beta.html">
<title>BlacklistStats v0.5 Beta</title>
<link>http://mt-hacks.com/20040302-blackliststats-v05-beta.html#139258</link>
<description><![CDATA[<p>So does this still work with MT 3.2 and later versions of the BlackList?  I can't get it to work...  It sees the tags but outputs nothing (I do have data in my blacklist log).  Maybe it used to do the logs different (did it share the system log?)...</p>]]></description>
<dc:subject>BlacklistStats</dc:subject>
<dc:creator>Gary LaPointe</dc:creator>
<dc:date>2005-12-02T15:29:39-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20040302-blackliststats-v05-beta.html">
<title>BlacklistStats v0.5 Beta</title>
<link>http://mt-hacks.com/20040302-blackliststats-v05-beta.html#339817</link>
<description><![CDATA[<p>did it share the system log</p>]]></description>
<dc:subject>BlacklistStats</dc:subject>
<dc:creator>شات صوتي</dc:creator>
<dc:date>2010-01-18T15:53:55-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20040302-blackliststats-v05-beta.html">
<title>BlacklistStats v0.5 Beta</title>
<link>http://mt-hacks.com/20040302-blackliststats-v05-beta.html#340630</link>
<description><![CDATA[<p> can't get it to work... It sees the tags but outputs nothing (I do have data in my blacklist log). </p>]]></description>
<dc:subject>BlacklistStats</dc:subject>
<dc:creator>video izle</dc:creator>
<dc:date>2010-02-05T16:08:20-05:00</dc:date>
</item>


</rdf:RDF>