[pmwiki-users] Wordpress Import

Jon Haupt jhaupt at gmail.com
Mon Mar 6 11:16:56 CST 2006


On 3/6/06, Ian Barton <lists at manor-farm.org> wrote:
> As a medium term objective I want to move my personal diary, which is
> currently using WordPress, to PmWiki.
>
> Before I rushed in like a bull in a china shop, I thought I would float
> a few ideas here to see what people think.
>
> It's probably going to be a three stage process:
>
> Export WordPress entries as a text file.  I was planning to use the MT
> export format, which is well documented and seems to do everything I
> need. Also it saves me from documenting my own format:)
>
> Munge the exported file in something like jEdit to replace any WP markup
> with PMW markup. I onlu use a very limited subset of the markup, so this
> shouldn't be too difficult. Ultimately, this could be included in step 1
> with some sort of separate markup translation table.
>
> Step 3 would be to create PMW text files with one file for each post.
> Then again would it be better to have one file per day, and agreggate
> multi posts per day onto this page.
>
> What would the ideal format for page names be? Something like the PmCal
> YYYYMMDDDD, or something different.
>
> Categories - WP lets you have nested categories, so my page could belong
> to personal, house, computer, etc. I don't really anticipate nesting > 3
> categories deep. I have been reading a little about Categories in PMW,
> as I don't use them myself yet, some pointers on how they are stored in
> pages would be appreciated.
>
> Note I don't use Comments or trackbacks, so wouldn't plan on importing
> those.
>
> Ian.
>
>
I'm working on moving my own wordpress installation into PmWiki, and
along the lines of our recent discussions on blogging with PmWiki,
I've decided to take a different approach - rather than naming the
posts by date, I'm instead going to just place the posts in wiki pages
with normal titles; so like a post about library catalog lookup
scripts might be under /Library/LookupScripts.  Then I have to change
the creation time of the wiki page so that it matches up with what was
in the Wordpress post.  This is the most laborious part of the process
at the moment, until ctime is changeable somehow without editing the
wiki page file (argh-unix time!).  It's also the most important part
of the process, because pagelists sorted by creation time depend on,
obviously, the creation time being what I want it to be.

Anyhow, after the pages in place, creating bloglike lists and feeds is
possible using Pagelist, but will be even better when TrailLists are
done/improved because that will make it easier to have a blog that
crosses groups, I think.

Jon

--
Jon Haupt
Fine & Performing Arts Librarian
Iowa State University
152 Parks Library
Ames, IA 50011
515-294-0904
jhaupt at iastate.edu




More information about the pmwiki-users mailing list