[wp-hackers] Making the move from categories to terms

Brian Layman Brian at TheCodeCave.com
Thu May 24 21:37:20 GMT 2007


Aaron wrote:
> for those of us running trunk that found out this morning that our
> categories were gone (but fortunately still have the categories
> table), what needs to happen to bring the data from categories into
> Terms?

For any not following the testers threads, Ryan has posted this over
there, but I don't think it made it to Hackers:

Re: Beware Trunk
"A lot more just went in.  There's still a ways to go, but the new
taxonomy is almost usable.  Note that all of your existing categories
and tags will no longer show up since there isn't any upgrade code
yet.  If someone wants to work on a migrator that migrates the old
tag/cat schema to the new taxonomy schema, the taxonomy API should be
up to the challenge.  Let's bundle it as an importer like we do with
UTW and the cat to tag migrator.  And speaking of UTW and cat2tag,
both of those importers need to be updated.

If you get errors like "Duplicate entry 'x' for key 1", you probably
have an early version of the term_relationships table that had a bad
primary key.  Delete that table and bump $db_version in version.php to
force another upgrade.

Ryan"

______________________________________________
Brian Layman
b5media Inc.
www.b5Media.com / www.TheCodeCave.com
Skype: BrianLayman
Cell: (330) 858-3446
Fax: (416) 849-0347
TF: 866-652-7189


-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Aaron
Brazell
Sent: Thursday, May 24, 2007 4:06 PM
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] Making the move from categories to terms


So for those of us running trunk that found out this morning that our
categories were gone (but fortunately still have the categories
table), what needs to happen to bring the data from categories into
terms. I'm not sure of the big picture and want to make sure before I
script a solution for my blog.
--
Aaron Brazell
Director of Technology, b5media
"A Global New Media Company"

www:: www.b5media.com
my www: www.technosailor.com
phone:: 410-608-6620
fax:: 416-849-0347
skype:: technosailor

Everything contained in this email is confidential and stuff.




_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list