Saying honestly I'd like to rewrite importer to use Wordpress'
exported XML, but now it just uses database, and you need to point
Django to database with Wordpress tables.
Though there was some reports that Wordpress has changed database
schema since wpimport was written and it may not work. :-( I haven't
got time to look at that, but we have plans to write something like
generic importing framework for simplification of new import
facilities creation.
P.S. If you have skills and passion to fix WP importer, I'll be really
glad to include your fixes. :D
--
Alexander
2.2.something :-)
> 2. You are tied to using Mysql unless you convert your Wordpress DB
> from mysql into whatever else.. I wanted to use sqlite, personally and
> it's not trivial to move from mysql to sqlite and then I found out it
> was expecting an old schema.. so I gave up :).
You're done this with dumpdata/loaddata, right? Hmmm... maybe I'll
write some tutorial for those who want to change their DBMS.
> I think importing via XML would be a much better approach, though I
> don't have the time to do this at the moment.
Hehe. There is already working XML-importer from Greg Hearsfield,
which I probably will merge tomorrow into main repository. ;-)
--
Alexander
Place in byteflow root directory, and run to see usage information. I
haven't yet cleaned it up to run in a directory like apps/import, but
that should happen by this weekend. I've only tried it on a couple
WXR exports so far, so please let me know your findings if you use it.
-Greg
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "byteflow-users" group.
> To post to this group, send email to byteflo...@googlegroups.com
> To unsubscribe from this group, send email to byteflow-user...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/byteflow-users?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
Nice to hear that. :-) If I'll get time in next few days, I'll
probably try to integrate it...
By the way, maybe it'll be better to integrate it as manage.py command
and not web interface? Thought we'll lost ability to choose what we
want to import, but do we really need it?
--
Alexander
I tried to start on making it into a proper django app (instead of a
script) last week, but really didn't get anywhere. Integrating it
into manage.py sounds like a good idea to me.
Corbin, thanks for testing, and thanks for the patches!
-Greg Heartsfield