Richard Jones
00a0d14702
Tidied up indentation
2011-07-04 05:09:50 -07:00
Richard Jones
8c35cc957b
Create import_hash with .new(0) so that we don't have to check if
...
a hash exists before incrementing it.
2011-07-04 04:59:40 -07:00
Richard Jones
eb6a2b9bd0
Now creates _<directory> for each post type (e.g. _posts, _pages, _attachments)
2011-06-28 07:21:45 -07:00
Richard Jones
29c4808f2a
Drafts are now marked as published:false
2011-06-28 06:31:03 -07:00
Richard Jones
3389c6d508
Sometimes wp:post_name can be empty (e.g. when a post is still draft), in this case we make up an appropriate permalink_title that will be used as the filename. The importer can always rename the file later on, and at least the file is unlikely to have been overwritten by another draft on the same day.
2011-06-28 02:31:42 -07:00
Richard Jones
365f57e8b3
Added meta tag import goodness. This for instance allows you to preserve all your hard-worked on WP SEO keywords, images, alternative images and other yummy-ness.
...
Replaced PubDate with wp:post_date, this is better than PubDate since some of the posts you import could be a draft (in this case the pubDate is invalid and contains a non-sensical value).
Added wp:status so we now know whether the post is published, draft or in the trash.
Added wp:post_type so we differentiate between posts and image or other post types
2011-06-28 02:05:51 -07:00
Tom Preston-Werner
13f1cf5832
Merge pull request #328 from shoaibkamil/master
...
Bugfix in tumblr importer
2011-05-30 11:22:23 -07:00
Nicholas Chen
5788ca88f8
Changed [:state] check RE and required YAML
...
1) The published state is actually stored as "published" in the database but the regular expression checks for "Published" and thus will actually skip all published posts.
2) The to_yaml method is not immediately available without the "require 'yaml'" directive. This caused the migration script to fail while executing it following the instructions.
Tested with Typo 5.3
2011-05-14 10:09:59 -07:00
shoaibkamil
1f4dd4ed61
Fixed bug in "conversation" importing where <section> and <dialog> tags were not being closed.
2011-05-11 22:06:53 -07:00
Tom Preston-Werner
f808c98232
Clean up Enki importer and update History.
2011-05-09 00:59:40 -07:00
Tom Preston-Werner
0dc55aacff
Merge remote-tracking branch 'rodrigopinto/master'
2011-05-09 00:55:55 -07:00
Tom Preston-Werner
b86bc97c5f
Clean up Tumblr importer and update History.
2011-05-09 00:54:26 -07:00
Tom Preston-Werner
9cc9c233d0
Merge remote-tracking branch 'tonycosentini/master'
2011-05-09 00:41:07 -07:00
Tom Preston-Werner
aa0d82fa96
Clean up migrators formatting.
2011-05-08 15:08:53 -07:00
Tony Cosentini
e12cbdbea2
Added Tumblr migrator.
2011-05-02 14:31:01 -04:00
Rodrigo Pinto
55f42d26be
adding enki migrator
2011-04-28 21:28:13 -03:00
Tom Preston-Werner
68eaadd13a
Merge remote-tracking branch 'MattHall/cli' into test
2011-03-10 23:01:18 -08:00
Tom Preston-Werner
01a90904e2
Merge remote-tracking branch 'phatblat/master' into test
2011-03-10 22:51:58 -08:00
Tom Preston-Werner
d2814cf750
Merge remote-tracking branch 'elia/master' into devel
2011-03-10 22:38:17 -08:00
Tom Preston-Werner
f58a821e20
Merge remote-tracking branch 'MattHall/posterous' into devel
2011-03-10 21:20:38 -08:00
Elia Schito
034b06431e
Remove double directory creation.
2011-01-27 13:13:12 +01:00
Elia Schito
c70dac3cee
Take permalink name directly from worpress export file.
2011-01-27 13:12:08 +01:00
Elia Schito
ca48ea91e6
Merged wordpress.com migrator fix from 'heuripedes/jekyll'
2011-01-27 12:14:22 +01:00
Elia Schito
f68bbcbe8d
The Wordpress.com migrator now works and gathers categories as tags.
2011-01-27 02:12:42 -08:00
Ben Chatelain
d61c1e930a
Fix compile error by making QUERY lowercase (local instead of const)
2011-01-23 15:30:41 -07:00
Ben Chatelain
bc3771aa22
Change TABLE_PREFIX from class member to 4th parameter of process method (now lowercase)
...
Move QUERY into process method
2011-01-23 15:25:33 -07:00
Ben Chatelain
e902bb9c30
Change TABLE_PREFIX back to default
2011-01-23 15:21:29 -07:00
Ben Chatelain
42f63f919f
Add Jekyll::WordPress.TABLE_PREFIX and inclusion in QUERY
2011-01-23 15:19:26 -07:00
Jeff Hodges
b3634b522a
adding date to wordpress migrator
2011-01-12 19:37:38 -08:00
Matt Hall
84c1a72443
Updating CLI for importing
2010-12-19 17:38:14 +00:00
Matt Hall
c1f0e070c9
Adding Posterous Importer
2010-12-19 16:27:22 +00:00
Higor Eurípedes
9e0eb75170
updated/fixed wordpress.com migration script
2010-12-15 15:44:01 -03:00
Tom Preston-Werner
36b1f8f9b1
Add Marley migrator. Closes #28 .
2010-12-14 15:12:12 -08:00
Matt Di Pasquale
e8fd7ebbc3
Add Drupal migrator
2010-11-30 17:11:23 -05:00
Tom Preston-Werner
53b999418c
Merge remote branch 'stmpjmpr/master'
2010-11-20 11:37:22 -06:00
Scott Hill
00146909f9
Merge remote branch 'remotes/mojombo/master'
2010-11-19 02:38:50 -08:00
Scott Hill
a556e4f29e
Swapping a '-' for the word separator for imported entries since that's the MT style, and I don't want to break existing permalinks.
2010-11-19 02:36:56 -08:00
Tomasz Stachewicz
9396c9d04c
migrators now open Sequel connection to mysql with utf8 encoding. Closes GH-220
2010-11-18 18:14:08 +01:00
Matt Hall
b6678d4e43
Added Wordpress.com migrator
2010-09-02 13:36:31 +01:00
Scott Hill
b3cec39843
Now adding a "date" to the YAML front-matter of a post, based on the original date the post was authored according to MT.
2010-08-06 10:33:59 -07:00
Scott Hill
f6acbb869e
Changed the date used by Jekyll to be the date the post was authored on instead of the date it was created. If the latter is used on an imported post, it gets the import date instead of the date the post was originally written.
2010-08-06 01:26:32 -07:00
Scott Hill
adf9ca5a05
Added code to change the extension of a post based on the format used to write the post in MT.
2010-08-05 15:36:14 -07:00
Gaute Hope
2c542a652d
converters/wordpress.rb missing require 'yaml' for to_yaml function. fixes #151 .
2010-04-21 14:47:46 -07:00
Kris Brown
ff3ca307b9
converters moved to migrators as they should be called this
2010-02-27 20:08:51 +00:00