This should work. There is now a migration function that is based upon a schema. The schema is flexible for most basic migrations (such as mengu's blog). However for more advanced migrations (such as my blog) you can still perform a custom migration by just using the data dictionary.
Included at the top of the file is information on the format of the migration schema dictionary, including what the names for the wordpress fields are. Schema's support basic if statements, so you can split posts and pages into two different DAL tables. Below this is two example schema's that are ready to use. The first one is a schema that will work with Mengu's blog. This one includes example if statements that can be used in the schema for simple logic. This works perfectly, tested :) The next one is a default schema, that includes more information, and does not split the posts. After this is a sample function on performing a custom migration. This function uses mengu's blog format for simplicity, however should help for anything more complex. Mengu, all you will need to do is to call the function schema_migrate, with the appropriate variables, so for you since I already wrote your schema schema_migrate(db, default_mengu_blog_schema, '/path/to/wordpress.2009-11-30.xml') -Thadeus On Tue, Dec 1, 2009 at 10:32 PM, Thadeus Burgess <[email protected]>wrote: > I will create a simple migration script that will import the data into DAL > if certain fields exist. As far as categories and tags go, I will assume > they shall exist in their own table, if anybody wants more custom control > over the migration (like I do for my blog), they can just use the function > themselves. > > I should be finished with the migration script in a couple of days at the > very latest. I will design it so that you can customize some of the fields, > this way it will integrate well with your blog Mengu. > > -Thadeus > > > > > > On Tue, Dec 1, 2009 at 10:15 PM, Mengu <[email protected]> wrote: > >> deus, >> >> you may know that i have been developing a web2py b >> > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

