<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: GnuCash to MySQL export script</title>
	<link>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/</link>
	<description>Stay curious!</description>
	<pubDate>Sat, 06 Sep 2008 02:06:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Andrew</title>
		<link>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-15062</link>
		<author>Andrew</author>
		<pubDate>Tue, 26 Aug 2008 20:54:50 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-15062</guid>
		<description>Sweet, I was just about to code something similar myself when I found your script.  Worked perfectly first time.  I'll get a lot of use out of this.  Thanks so much for sharing it!</description>
		<content:encoded><![CDATA[<p>Sweet, I was just about to code something similar myself when I found your script.  Worked perfectly first time.  I&#8217;ll get a lot of use out of this.  Thanks so much for sharing it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: basman</title>
		<link>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-14202</link>
		<author>basman</author>
		<pubDate>Thu, 31 Jan 2008 10:02:37 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-14202</guid>
		<description>Version 0.1.8 of gnucash2mysql shortens all account and transaction id's by one char since it creates id fields of 31 characters in length. Gnucash (I am using version 2.2.1) uses IDs of 32 characters in length.

Here is my patch:

--- gnucash2mysql-orig  2007-08-27 16:59:26.000000000  0200
    gnucash2mysql       2008-01-31 10:33:15.000000000  0100
@@ -416,10  416,10 @@
 drop table if exists account;
 
 create table account (
-    id char(31) not null primary key,
     id char(32) not null primary key,
     name varchar(255),
     type varchar(50),
-    parent char(31),         
     parent char(32),         
     description varchar(255),
     is_placeholder tinyint not null default 0,
     index(parent),
@@ -430,17  430,17 @@
 ) type=InnoDB;
 
 create table transaction (
-    id char(31) not null primary key,
     id char(32) not null primary key,
     posted date not null,
     description varchar(255),
     index(posted)
 ) type=InnoDB;
 
 create table split (
-    id char(31) not null primary key,
-    transaction char(31) not null,
     id char(32) not null primary key,
     transaction char(32) not null,
     status char(1) not null default '',
-    account char(31) not null,
     account char(32) not null,
     amount decimal(8,2) not null,
     memo varchar(255),
     foreign key FK_split_transaction(transaction)</description>
		<content:encoded><![CDATA[<p>Version 0.1.8 of gnucash2mysql shortens all account and transaction id&#8217;s by one char since it creates id fields of 31 characters in length. Gnucash (I am using version 2.2.1) uses IDs of 32 characters in length.</p>
<p>Here is my patch:</p>
<p>&#8212; gnucash2mysql-orig  2007-08-27 16:59:26.000000000  0200<br />
    gnucash2mysql       2008-01-31 10:33:15.000000000  0100<br />
@@ -416,10  416,10 @@<br />
 drop table if exists account;</p>
<p> create table account (<br />
-    id char(31) not null primary key,<br />
     id char(32) not null primary key,<br />
     name varchar(255),<br />
     type varchar(50),<br />
-    parent char(31),<br />
     parent char(32),<br />
     description varchar(255),<br />
     is_placeholder tinyint not null default 0,<br />
     index(parent),<br />
@@ -430,17  430,17 @@<br />
 ) type=InnoDB;</p>
<p> create table transaction (<br />
-    id char(31) not null primary key,<br />
     id char(32) not null primary key,<br />
     posted date not null,<br />
     description varchar(255),<br />
     index(posted)<br />
 ) type=InnoDB;</p>
<p> create table split (<br />
-    id char(31) not null primary key,<br />
-    transaction char(31) not null,<br />
     id char(32) not null primary key,<br />
     transaction char(32) not null,<br />
     status char(1) not null default &#8221;,<br />
-    account char(31) not null,<br />
     account char(32) not null,<br />
     amount decimal(8,2) not null,<br />
     memo varchar(255),<br />
     foreign key FK_split_transaction(transaction)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-5705</link>
		<author>Xaprb</author>
		<pubDate>Fri, 13 Apr 2007 12:34:51 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-5705</guid>
		<description>&lt;p&gt;Sorry, that was an old link.  The link at the very top of the article is correct.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Sorry, that was an old link.  The link at the very top of the article is correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atongen</title>
		<link>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-5670</link>
		<author>atongen</author>
		<pubDate>Thu, 12 Apr 2007 04:43:54 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-5670</guid>
		<description>&lt;p&gt;Where is the script?  The link above returns a 404!&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Where is the script?  The link above returns a 404!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blog of Leonid Mamchenkov &#187; Daily del.icio.us bookmarks</title>
		<link>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-1083</link>
		<author>Blog of Leonid Mamchenkov &#187; Daily del.icio.us bookmarks</author>
		<pubDate>Wed, 12 Jul 2006 00:11:53 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/03/12/gnucash-to-mysql-export-script/#comment-1083</guid>
		<description>&lt;p&gt;[...] GnuCash to MySQL export script - Xaprb Tagged as: accounting finance gnucash mysql scripting scripts software tools     Tagged as: Links [...]&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>[&#8230;] GnuCash to MySQL export script - Xaprb Tagged as: accounting finance gnucash mysql scripting scripts software tools     Tagged as: Links [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
