Although I hesitate to call it a suggestion, I can tell you what I
did. Basically, I dumped the WP MySQL table to a file, and worked over
the HTML manually (using Emacs macros) to turn them into markdown.
There are probably better ways.
-k
-- If I haven't seen further, it is by standing in the footprints of giants
> Although I hesitate to call it a suggestion, I can tell you what I
> did. Basically, I dumped the WP MySQL table to a file, and worked over
> the HTML manually (using Emacs macros) to turn them into markdown.
> There are probably better ways.
On 20 June 2012 10:56, Ketil Malde <ke...@malde.org> wrote:
> mate...@loskot.net writes:
>> Would anyone care to give any suggestions about Wordpress to Hakyll
>> migration?
> Although I hesitate to call it a suggestion, I can tell you what I
> did. Basically, I dumped the WP MySQL table to a file, and worked over
> the HTML manually (using Emacs macros) to turn them into markdown.
I've thought about WP's raw data processing, but leaving it as last resort.
> There are probably better ways.
ATM, I'm a bit busy, but I think I'll try with migration through
planet/RSS engine
similar to this:
On Sunday, 24 June 2012 15:27:20 UTC+1, Mateusz Loskot wrote: > ATM, I'm a bit busy, but I think I'll try with migration through > planet/RSS engine similar to this:
> When I manage to do it, I'll post here about results.
I've tried to import my posts using the planet.rb [1] It seems to have problems with <!-- more --!> so it imports incomplete posts through the feed. It also seems to have problems with handling titles, so it generates large number of files with names like "2011-12-17-.markdown". Not to mention it does not seem to handle HTML to Markdown well, so most of my posts consist of HTML copied form original versions in WordPress.
>> When I manage to do it, I'll post here about results.
> I've tried to import my posts using the planet.rb [1]
> It seems to have problems with <!-- more --!> so it imports incomplete posts
> through the feed.
> It also seems to have problems with handling titles, so it generates large
> number of files with names like "2011-12-17-.markdown".
> Not to mention it does not seem to handle HTML to Markdown well,
> so most of my posts consist of HTML copied form original versions in
> WordPress.
I have just tried to move all my posts (~400) and pages from
Wordpress to Markdown using exitwp [1] and it works well.
The result is impressively good.
I have had to take care of manual intervention wherever I used [text]
or [sourcecode] tags reltaed to syntax highlighting plugin.
So, I think exitwp could be recommend to Hakyll users who want to migrate.
On Thu, Jun 28, 2012 at 1:30 AM, Mateusz Loskot <mate...@loskot.net> wrote:
> On 27 June 2012 00:22, <mate...@loskot.net> wrote:
>> On Sunday, 24 June 2012 15:27:20 UTC+1, Mateusz Loskot wrote:
>>> ATM, I'm a bit busy, but I think I'll try with migration through
>>> planet/RSS engine similar to this:
>>> When I manage to do it, I'll post here about results.
>> I've tried to import my posts using the planet.rb [1]
>> It seems to have problems with <!-- more --!> so it imports incomplete posts
>> through the feed.
>> It also seems to have problems with handling titles, so it generates large
>> number of files with names like "2011-12-17-.markdown".
>> Not to mention it does not seem to handle HTML to Markdown well,
>> so most of my posts consist of HTML copied form original versions in
>> WordPress.
> I have just tried to move all my posts (~400) and pages from
> Wordpress to Markdown using exitwp [1] and it works well.
> The result is impressively good.
> I have had to take care of manual intervention wherever I used [text]
> or [sourcecode] tags reltaed to syntax highlighting plugin.
> So, I think exitwp could be recommend to Hakyll users who want to migrate.
On 28 June 2012 08:43, Jasper Van der Jeugt <m...@jaspervdj.be> wrote:
> exitwp certainly sounds interesting. You're always welcome to write a
> short tutorial on it, or I could just link to it in the Hakyll FAQ?
I haven't completed my migration yet and there may be some issues hiding.
So it's not ready to wrap up.
Once it's done, I'll try to describe the procedure.
On Thursday, June 28, 2012 4:36:40 AM UTC-4, Mateusz Loskot wrote:
> On 28 June 2012 08:43, Jasper Van der Jeugt <m...@jaspervdj.be<javascript:>> > wrote: > > exitwp certainly sounds interesting. You're always welcome to write a > > short tutorial on it, or I could just link to it in the Hakyll FAQ?
> I haven't completed my migration yet and there may be some issues hiding. > So it's not ready to wrap up. > Once it's done, I'll try to describe the procedure.
Any updates? I'd love to be able to do this as well.
I would also love to be able to use HAML[1] and SCSS[2] (oh, how lovely they are!) with Hakyll, but Turbinado[3] hasn't been updated in years ]=
As for Turbinado, I'm not sure I understand. Hakyll generates a
static website that you can then serve using whatever server you like.
I used to use Cherokee, now use nginx, but I don't see any reason why
you couldn't use something like Turbinado or some other Haskell-based
server. That's one of the nice things about Hakyll: it doesn't tie
you to any particular server infrastructure.
Cheers,
Ian.
On 1 September 2012 03:36, <danny.picciri...@gmail.com> wrote:
> On Thursday, June 28, 2012 4:36:40 AM UTC-4, Mateusz Loskot wrote:
>> On 28 June 2012 08:43, Jasper Van der Jeugt <m...@jaspervdj.be> wrote:
>> > exitwp certainly sounds interesting. You're always welcome to write a
>> > short tutorial on it, or I could just link to it in the Hakyll FAQ?
>> I haven't completed my migration yet and there may be some issues hiding.
>> So it's not ready to wrap up.
>> Once it's done, I'll try to describe the procedure.
> Any updates? I'd love to be able to do this as well.
> I would also love to be able to use HAML[1] and SCSS[2] (oh, how lovely they
> are!) with Hakyll, but Turbinado[3] hasn't been updated in years ]=
> I'm bumping up this fairly old thread, but I have the very same question
> and the thread has no follow-ups.
> Would anyone care to give any suggestions about Wordpress to Hakyll
> migration?
It took me a while, but I have finally moved my blog to Hakyll [1].
So, I just posted explanation [2] on how I migrated my posts from WordPress to
Markdown in format and structure consumable by Hakyll.
Perhaps it will be helpful for others looking for easy ways to switch to Hakyll.