<?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:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Yabfog &#187; b2evolution</title>
	<atom:link href="http://yabfog.com/blog/tag/b2evolution/feed" rel="self" type="application/rss+xml" />
	<link>http://yabfog.com/blog</link>
	<description>Yet another blog full of gas</description>
	<lastBuildDate>Tue, 13 Dec 2011 02:45:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<cloud domain='yabfog.com' port='80' path='/blog/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>More Trackback Spam</title>
		<link>http://yabfog.com/blog/2005/09/07/more_trackback_spam</link>
		<comments>http://yabfog.com/blog/2005/09/07/more_trackback_spam#comments</comments>
		<pubDate>Wed, 07 Sep 2005 16:56:02 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[b2evolution]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This is a follow-up to a previous post about trackback spam. I've noticed in my server logs that many spammers are still trying furiously to leave trackback spam at the default address. Since that address doesn't exist, they simply get 404 errors and try again. I already was using a custom error page, and now [...]]]></description>
			<content:encoded><![CDATA[<p>This is a follow-up to a <a href="http://yabfog.com/blog/2005/08/30/trackback_spam">previous post about trackback spam</a>.</p>
<p>I've noticed in my server logs that many spammers are still trying furiously to leave trackback spam at the default address. Since that address doesn't exist, they simply get 404 errors and try again. I already was using a <a href="http://yabfog.com/files/error.phps">custom error page</a>, and now I've implemented a method to ban any IP address that repeatedly calls any script in the <code>htsrv</code> directory that generates a server error (e.g., 404 Not Found).</p>
<p>Here's the script: <a href="http://yabfog.com/files/checkban.phps">checkban</a>. I call the function checkBan from my error document. I also intend to call it from other scripts (see <a href="http://forums.b2evolution.net/viewtopic.php?p=23293#23293">BlockUntrustedVisitors</a>) .</p>
<p>You'll also need to add something like the following to your <code>.htaccess</code> file to use this custom error page:</p>
<pre>ErrorDocument 400 /blog/error.php?400
ErrorDocument 401 /blog/error.php?401
ErrorDocument 403 /blog/error.php?403
ErrorDocument 404 /blog/error.php?404
ErrorDocument 500 /blog/error.php?500</pre>
<p>My forum post: <a href="http://forums.b2evolution.net/viewtopic.php?p=25346#25346">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://yabfog.com/blog/2005/09/07/more_trackback_spam/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>Trackback Spam</title>
		<link>http://yabfog.com/blog/2005/08/30/trackback_spam</link>
		<comments>http://yabfog.com/blog/2005/08/30/trackback_spam#comments</comments>
		<pubDate>Tue, 30 Aug 2005 20:27:57 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[b2evolution]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[As of its most recent version, b2evolution has a problem with trackback spam. Several b2e users (including Whoo and Graham) have suggested renaming the directory that contains (among other things) the trackback script. In theory, this should eliminate spam from bots but should not effect legitimate commenters and pingers. Here's a perl script I wrote [...]]]></description>
			<content:encoded><![CDATA[<p>As of its most recent version, <a href="http://www.b2evolution.com">b2evolution</a> has a problem with <a href="http://en.wikipedia.org/wiki/Trackback">trackback spam</a>. Several b2e users (including <a href="http://www.village-idiot.org/archives/2005/03/05/sp-am-again/">Whoo</a> and <a href="http://tin-men.net/blog/how_i_ve_killed_all_spam_on_my_site">Graham</a>)  have suggested renaming the directory that contains (among other things) the trackback script. In theory, this should eliminate spam from bots but should not effect legitimate commenters and pingers.</p>
<p>Here's a perl script I wrote to automate Whoo and Graham's suggestion: <a href="http://yabfog.com/files/hidehtsrv.pl">hidehtsrv.pl</a>. I suggest creating a cron job to run hidehtsrv.pl periodically. <b>Note:</b> this script requires another of my perl scripts, <a href="http://yabfog.com/files/randpass.pl">randpass.pl</a>, a pseudo-random string generator.</p>
<p>Here's a <a href="http://forums.b2evolution.net/viewtopic.php?t=4593">b2evolution forum thread about trackback spam</a>, and here's a <a href="http://forums.b2evolution.net/viewtopic.php?t=2788">b2evolution forum thread about why renaming is effective</a>.</p>
<p>See also my post about <a href="http://yabfog.com/blog/2005/05/31/blog_spam">comment and referrer spam</a> and my <a href="http://forums.b2evolution.net/viewtopic.php?p=24926#24926">b2evolution forums post</a> about this solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://yabfog.com/blog/2005/08/30/trackback_spam/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
	</item>
		<item>
		<title>MySQLicious-based del.icio.us Sidebar Item</title>
		<link>http://yabfog.com/blog/2005/08/15/mysqlicious_based_del_icio_us_sidebar_it</link>
		<comments>http://yabfog.com/blog/2005/08/15/mysqlicious_based_del_icio_us_sidebar_it#comments</comments>
		<pubDate>Mon, 15 Aug 2005 22:08:06 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[b2evolution]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Walter Cruz told me about MySQLicious, which mirrors your del.icio.us bookmarks in a MySQL database. I think it works much better than my previous del.icio.us sidebar solution, which used Magpie to snarf the del.icio.us RSS feed and built the sidebar item from the RSS feed. Here's the setup as I'm using it: Setup MySQLicious according [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.waltercruz.com/">Walter Cruz</a> told me about <a href="http://nanovivid.com/projects/mysqlicious/">MySQLicious</a>, which mirrors your del.icio.us bookmarks in a MySQL database. I think it works much better than <a href="http://yabfog.com/blog/2005/05/17/del_icio_us_sidebar_item">my previous del.icio.us sidebar solution</a>, which used Magpie to snarf the del.icio.us RSS feed and built the sidebar item from the RSS feed.</p>
<p>Here's the setup as I'm using it:</p>
<ol>
<li>Setup MySQLicious according to its instructions, but <strong>ensure that you use the same database that you use for your b2e installation</strong>.</li>
<li>Copy <a href="http://yabfog.com/files/_mysqlicious.phps">_mysqlicious.php</a> to your preferred location (I put it in the same directory as my theme files).</li>
<li>Modify your _main.php file to call _mysqlicious.php as a sidebar item. Two variables ($deliciousUsername and $MySQLicious_Table) must be set. In addition, you may set a third variable, $MySQLicious_items, which determines how many bookmarks will be displayed.</li>
</ol>
<p><strong>Note: Ensure that your MySQLicious setup complies with the <a href="http://del.icio.us/doc/about">del.icio.us rules of usage</a> so you don't get banned.</strong></p>
<p>Here's the b2evolution forum <a href="http://forums.b2evolution.net/viewtopic.php?t=2401&amp;highlight=">thread</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://yabfog.com/blog/2005/08/15/mysqlicious_based_del_icio_us_sidebar_it/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
	</item>
		<item>
		<title>Category list modification (b2e)</title>
		<link>http://yabfog.com/blog/2005/07/21/category_list_modification_b2e</link>
		<comments>http://yabfog.com/blog/2005/07/21/category_list_modification_b2e#comments</comments>
		<pubDate>Thu, 21 Jul 2005 16:22:47 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[b2evolution]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Similar to the change I made to the blosxom categorylist plugin, I modified b2evolution's category list module to only list a category if there are posts in that category. I also inserted a space between the checkbox and the category item. This change goes in the file: {YOUR_BLOG_ROOT_DIRECTORY}/skins/_categories.php Here's a running tally of the diffs. [...]]]></description>
			<content:encoded><![CDATA[<p>Similar to the change I made to the <a href="http://yabfog.com/blog/2005/05/03/categorylist_modification">blosxom categorylist plugin</a>, I modified b2evolution's category list module to only list a category if there are posts in that category. I also inserted a space between the checkbox and the category item.</p>
<p>This change goes in the file: {YOUR_BLOG_ROOT_DIRECTORY}/skins/_categories.php</p>
<p>Here's a <a href="http://yabfog.com/files/_categories.php.diffs">running tally of the diffs</a>.</p>
<p>And here's my <a href="http://forums.b2evolution.net/viewtopic.php?p=22827#22827">post on the b2evolution forums</a> about this.</p>
]]></content:encoded>
			<wfw:commentRss>http://yabfog.com/blog/2005/07/21/category_list_modification_b2e/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>Blog spam</title>
		<link>http://yabfog.com/blog/2005/05/31/blog_spam</link>
		<comments>http://yabfog.com/blog/2005/05/31/blog_spam#comments</comments>
		<pubDate>Tue, 31 May 2005 20:41:35 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[b2evolution]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Blog spam is becoming a serious problem. This site has been up for less than a month, and already I'm annoyed by one type of blog spam: referral spam. Another kind is comment spam or trackback spam. Good discussion and some suggestions are on the b2evolution forums here, and my referral spam solution is here.]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Blog_spam">Blog spam</a> is becoming a serious problem. This site has been up for less than a month, and already I'm annoyed by one type of blog spam: referral spam. Another kind is comment spam or trackback spam. Good discussion and some suggestions are on the b2evolution forums <a href="http://forums.b2evolution.net/viewtopic.php?t=3764">here</a>, and my referral spam solution is <a href="http://forums.b2evolution.net/viewtopic.php?p=20550#20550">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://yabfog.com/blog/2005/05/31/blog_spam/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>del.icio.us Sidebar Item</title>
		<link>http://yabfog.com/blog/2005/05/17/del_icio_us_sidebar_item</link>
		<comments>http://yabfog.com/blog/2005/05/17/del_icio_us_sidebar_item#comments</comments>
		<pubDate>Wed, 18 May 2005 03:36:04 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[b2evolution]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[del.icio.us seems like the greatest thing right now. It's a social bookmark manager. I'm using the following code right now to include a random set of my del.icio.us bookmarks on this page. Discussion here. Changed _main.php: code snippet Added Magpie to my PHP include path -- actually, using .htaccess: php_value include_path "{new path, including Magpie}" [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://del.icio.us" title="del.icio.us">del.icio.us</a> seems like the greatest thing right now. It's a social bookmark manager.</p>
<p>I'm using the following code right now to include a random set of my del.icio.us bookmarks on this page. Discussion <a href="http://forums.b2evolution.net/viewtopic.php?t=2401">here</a>.<br />
<span id="more-15"></span></p>
<ol>
<li>Changed _main.php:
<ul>
<li><a href="http://yabfog.com/files/main_snippet.phps" target="_blank">code snippet</a>
</li>
</ul>
</li>
<li>Added Magpie to my PHP include path -- actually, using .htaccess:
<ul>
<li><code>php_value include_path "{new path, including Magpie}"</code>
</li>
</ul>
</li>
<li>Created _delicious.php:
<ul>
<li><a href="http://yabfog.com/files/_delicious.phps" target="_blank">latest source</a></li>
</ul>
</li>
<li>Finished product: YABFOG
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://yabfog.com/blog/2005/05/17/del_icio_us_sidebar_item/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
	</item>
		<item>
		<title>TrackBack Ping Bookmarklet</title>
		<link>http://yabfog.com/blog/2005/05/05/trackback_ping_bookmarklet</link>
		<comments>http://yabfog.com/blog/2005/05/05/trackback_ping_bookmarklet#comments</comments>
		<pubDate>Thu, 05 May 2005 19:13:20 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[b2evolution]]></category>
		<category><![CDATA[blosxom]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I've made a TrackBack Ping Bookmarklet for Firefox -- and mine actually works! Others I've seen don't use the "post" method, which is required by the TrackBack specification. Here's my TrackBack Ping Bookmarklet. Drag it to your toolbar. Select the URL to which you want to send a TrackBack Ping, then click the Bookmarklet. Fill [...]]]></description>
			<content:encoded><![CDATA[<p>I've made a TrackBack Ping Bookmarklet for Firefox -- and mine actually works! Others I've seen don't use the "post" method, which is required by the <a href="http://www.sixapart.com/pronet/docs/trackback_spec">TrackBack specification</a>. Here's my <a href="javascript:Q%3Dwindow.getSelection();newWindow%3Dwindow.open('','','height%3D400%2Cwidth%3D600');newWindow.document.write('%3Chtml%3E%3Chead%3E%3Ctitle%3ETrackBack%20Ping%20Bookmarklet%3C/title%3E%3Cstyle%20type%3D%22text/css%22%3E%20body%20td%20%7B%20font-family%3AVerdana%3B%20font-size%3A8pt%3B%20%7D%20td%20%7B%20vertical-align%3Atop%3B%20padding-bottom%3A6px%3B%20%7D%20table%20%7B%20cellpadding%3A0%3B%20width%3A100%25%3B%20min-width%3A400px%3B%20%7D%20input%5Btype%3D%22text%22%5D%20%7B%20width%3A100%25%3B%20%7D%20textarea%20%7B%20width%3A100%25%20%7D%3C/style%3E%3Chead%3E%3Cbody%3E%3Ctable%3E%3Cform%20method%3D%22post%22%20action%3D%22%27+Q+%27%22%3E%3Ctr%3E%3Ctd%3EURL%20to%20TrackBack%20Ping%3A%20%3C/td%3E%3Ctd%3E%27+Q+%27%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EYour%20Blog%20Name%3A%20%3C/td%3E%3Ctd%3E%3Cinput%20type%3D%22text%22%20name%3D%22blog_name%22%20value%3D%22%22%20/%3E%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EYour%20Blog%20Title%3A%20%3C/td%3E%3Ctd%3E%3Cinput%20type%3D%22text%22%20name%3D%22title%22%20/%3E%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EYour%20Blog%20URL%3A%20%3C/td%3E%3Ctd%3E%3Cinput%20type%3D%22text%22%20name%3D%22url%22%20value%3D%22%22%20/%3E%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3EYour%20Blog%20Excerpt%3A%20%3C/td%3E%3Ctd%3E%3Ctextarea%20name%3D%22excerpt%22%20rows%3D%226%22%3E%3C/textarea%3E%3C/td%3E%3C/tr%3E%3Ctr%3E%3Ctd%3E%26nbsp%3B%3C/td%3E%3Ctd%3E%3Cinput%20type%3D%22Submit%22%20value%3D%22TrackBack%20Ping%22%20/%3E%3C/td%3E%3C/tr%3E%3C/form%3E%3C/table%3E%3C/body%3E%3C/html%3E');newWindow.document.close();">TrackBack Ping Bookmarklet</a>. Drag it to your toolbar. Select the URL to which you want to send a TrackBack Ping, then click the Bookmarklet. Fill in your blog information, and click the button. TODO: Add a method to pull your blog information from the TrackBack RDF you should have on your permalink page.</p>
]]></content:encoded>
			<wfw:commentRss>http://yabfog.com/blog/2005/05/05/trackback_ping_bookmarklet/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
	</item>
	</channel>
</rss>

