<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Playing With Sharp Objects - Latest Comments in MonkeyChow now with Wordpress&amp;nbsp;support</title><link>http://shokk.disqus.com/</link><description></description><language>en</language><lastBuildDate>Sat, 10 Jan 2009 17:51:10 -0000</lastBuildDate><item><title>Re: MonkeyChow now with Wordpress&amp;nbsp;support</title><link>http://www.shokk.com/blog/articles/2008/11/09/monkeychow-now-with-wordpress-support/#comment-5049000</link><description>My recommendation right now is that the default table names be used until the multiuser support is available.  The changes required to support multiple users are very challenging for me, due to a number of factors...&lt;br&gt;&lt;br&gt;First and foremost, I'm just now starting to pick up on the more advanced features of mySQL - I have until now gotten away with not using things like JOINs but I need to quickly learn how this can help my system.  Being able to do these things in one atomic query rather than a bunch of different queries aided by some PHP will make things faster and more efficient, since mySQL is designed to do all that data sifting for us.&lt;br&gt;&lt;br&gt;There are also a number of places in the code that reference things like items.id and feeds.id that should really be items.item_id and feeds.feed_id to help me use those higher level functions.  This means that I must now go back through all the code and replace instances of "id" with the correct one so that column names match when I try to do a JOIN - that is lot of code to go through while not breaking anything.  &lt;br&gt;&lt;br&gt;Some of this recoding is due to my lack of functions for handing these individual tasks, which makes it easier for me when I'm coding the first time since I have to plan less, but harder when I have to go back into the code, which means more wasted time in the long run.  So, there needs to be some smarter coding on my part.&lt;br&gt;&lt;br&gt;Once this new version is ready, I'll release it as 1.0 with as much of the code cleaned up as possible and the start of modular style templates so that people can make their feed reader unique for their community.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shokk</dc:creator><pubDate>Sat, 10 Jan 2009 17:51:10 -0000</pubDate></item><item><title>Re: MonkeyChow now with Wordpress&amp;nbsp;support</title><link>http://www.shokk.com/blog/articles/2008/11/09/monkeychow-now-with-wordpress-support/#comment-3969354</link><description>The good news is that as of just now the multiuser support is in.  The bad news is that the hard coded "items" and "feeds" are everywhere, though I have most of it out, so it should not be too long before I have another tarball that will be free of the hard coded entries.&lt;br&gt;&lt;br&gt;There will be database changes with this newer version, so I will be sure to put a warning in the next post about that.  I'll need some extra testing time in here before I risk everyone else's database.&lt;br&gt;&lt;br&gt;More coming soon.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shokk</dc:creator><pubDate>Sun, 23 Nov 2008 12:30:10 -0000</pubDate></item><item><title>Re: MonkeyChow now with Wordpress&amp;nbsp;support</title><link>http://www.shokk.com/blog/articles/2008/11/09/monkeychow-now-with-wordpress-support/#comment-3965948</link><description>Thanks for the quick response. The heart surgery sounds interesting. I'll fix it myself if I can, if not I'll wait for the multiuser version.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">paulzag</dc:creator><pubDate>Sun, 23 Nov 2008 03:31:32 -0000</pubDate></item><item><title>Re: MonkeyChow now with Wordpress&amp;nbsp;support</title><link>http://www.shokk.com/blog/articles/2008/11/09/monkeychow-now-with-wordpress-support/#comment-3948389</link><description>Paul,&lt;br&gt;Thank you very much for bringing this to my attention.  It was replete with hard coded 'feeds' and 'items' thanks to my sloppy coding practice.  I've replaced it in a number of spots, but likely it's not the only place where it's hard coded.  I'll try to go through it this weekend, but I won't be able to get a tarball out yet since I'm still breaking MonkeyChow to get the multiuser support in.  We're half-way through heart surgery so it's too laet to turn back. =-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shokk</dc:creator><pubDate>Fri, 21 Nov 2008 21:16:32 -0000</pubDate></item><item><title>Re: MonkeyChow now with Wordpress&amp;nbsp;support</title><link>http://www.shokk.com/blog/articles/2008/11/09/monkeychow-now-with-wordpress-support/#comment-3934266</link><description>It looks like init.php is hard coded as well. &lt;br&gt;    $sql = "select aging from feeds where id='$id'";&lt;br&gt;    $sql = "delete from items where `feed_id`=$id and `star`!=1 and `read`=1 and to_days(CURDATE()) - to_days(`timestamp`)  &amp;gt; $keep_days";&lt;br&gt;&lt;br&gt;I'm using the 9 November tarball</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">paulzag</dc:creator><pubDate>Fri, 21 Nov 2008 11:14:13 -0000</pubDate></item><item><title>Re: MonkeyChow now with Wordpress&amp;nbsp;support</title><link>http://www.shokk.com/blog/articles/2008/11/09/monkeychow-now-with-wordpress-support/#comment-3934203</link><description>Paul, &lt;br&gt;Good catch!  I'll get this in for the next release, which will include multi-user support.  Coming soon...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shokk</dc:creator><pubDate>Fri, 21 Nov 2008 11:11:05 -0000</pubDate></item><item><title>Re: MonkeyChow now with Wordpress&amp;nbsp;support</title><link>http://www.shokk.com/blog/articles/2008/11/09/monkeychow-now-with-wordpress-support/#comment-3933997</link><description>I am using a custom prefix in my install ("wp_mc_") and got the error Creating indexes...&lt;br&gt;Can't create index. Mysql says: Table 'user763_blog.items' doesn't exist&lt;br&gt;&lt;br&gt;In install.php line 135 I had to change it to &lt;br&gt;if(!fof_do_query("ALTER TABLE `$FOF_ITEM_TABLE` ADD INDEX `feed_id_idx` ( `feed_id` )", 1) &amp;&amp; mysql_errno() != 1061)&lt;br&gt;&lt;br&gt;similar for line 140&lt;br&gt;&lt;br&gt;the items table name is hard coded in those lines instead of taking the value from config.php</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">paulzag</dc:creator><pubDate>Fri, 21 Nov 2008 10:59:34 -0000</pubDate></item></channel></rss>