jekyll-import 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-import/importers/wordpress.rb +2 -2
- data/lib/jekyll-import/importers/wordpressdotcom.rb +1 -0
- data/lib/jekyll-import/version.rb +1 -1
- metadata +3 -96
- data/.gitignore +0 -21
- data/.travis.yml +0 -14
- data/Gemfile +0 -2
- data/History.markdown +0 -135
- data/Rakefile +0 -209
- data/jekyll-import.gemspec +0 -60
- data/script/bootstrap +0 -3
- data/script/cibuild +0 -3
- data/site/.gitignore +0 -4
- data/site/CNAME +0 -1
- data/site/README +0 -1
- data/site/_config.yml +0 -7
- data/site/_includes/analytics.html +0 -32
- data/site/_includes/docs_contents.html +0 -10
- data/site/_includes/docs_contents_mobile.html +0 -14
- data/site/_includes/docs_option.html +0 -11
- data/site/_includes/docs_ul.html +0 -20
- data/site/_includes/footer.html +0 -15
- data/site/_includes/header.html +0 -18
- data/site/_includes/news_contents.html +0 -23
- data/site/_includes/news_contents_mobile.html +0 -11
- data/site/_includes/news_item.html +0 -24
- data/site/_includes/primary-nav-items.html +0 -14
- data/site/_includes/section_nav.html +0 -22
- data/site/_includes/top.html +0 -17
- data/site/_layouts/default.html +0 -12
- data/site/_layouts/docs.html +0 -29
- data/site/_layouts/news.html +0 -19
- data/site/_layouts/news_item.html +0 -27
- data/site/_posts/2013-11-09-jekyll-import-0-1-0-beta4-release.markdown +0 -23
- data/site/_posts/2013-11-18-jekyll-import-0-1-0-rc1-released.markdown +0 -17
- data/site/_posts/2013-12-17-jekyll-import-0-1-0-released.markdown +0 -67
- data/site/_posts/2014-03-16-jekyll-import-0-2-0-released.markdown +0 -16
- data/site/_posts/2014-05-23-jekyll-import-0-3-0-released.markdown +0 -22
- data/site/_posts/2014-06-29-jekyll-import-0-4-0-released.markdown +0 -19
- data/site/css/gridism.css +0 -110
- data/site/css/normalize.css +0 -1
- data/site/css/pygments.css +0 -70
- data/site/css/style.css +0 -945
- data/site/docs/behance.md +0 -20
- data/site/docs/contributing.md +0 -8
- data/site/docs/csv.md +0 -37
- data/site/docs/drupal6.md +0 -24
- data/site/docs/drupal7.md +0 -24
- data/site/docs/easyblog.md +0 -25
- data/site/docs/enki.md +0 -23
- data/site/docs/ghost.md +0 -19
- data/site/docs/google_reader.md +0 -19
- data/site/docs/history.md +0 -130
- data/site/docs/index.md +0 -17
- data/site/docs/installation.md +0 -26
- data/site/docs/joomla.md +0 -26
- data/site/docs/jrnl.md +0 -23
- data/site/docs/marley.md +0 -20
- data/site/docs/mephisto.md +0 -23
- data/site/docs/mt.md +0 -39
- data/site/docs/posterous.md +0 -25
- data/site/docs/rss.md +0 -19
- data/site/docs/s9y.md +0 -19
- data/site/docs/textpattern.md +0 -30
- data/site/docs/third-party.md +0 -30
- data/site/docs/tumblr.md +0 -24
- data/site/docs/typo.md +0 -26
- data/site/docs/usage.md +0 -29
- data/site/docs/wordpress.md +0 -41
- data/site/docs/wordpressdotcom.md +0 -47
- data/site/favicon.png +0 -0
- data/site/feed.xml +0 -36
- data/site/img/article-footer.png +0 -0
- data/site/img/footer-arrow.png +0 -0
- data/site/img/footer-logo.png +0 -0
- data/site/img/logo-2x.png +0 -0
- data/site/img/octojekyll.png +0 -0
- data/site/img/tube.png +0 -0
- data/site/img/tube1x.png +0 -0
- data/site/index.html +0 -95
- data/site/js/modernizr-2.5.3.min.js +0 -4
- data/site/news/index.html +0 -10
- data/site/news/releases/index.html +0 -10
- data/test/helper.rb +0 -50
- data/test/test_jrnl_importer.rb +0 -39
- data/test/test_mt_importer.rb +0 -104
- data/test/test_tumblr_importer.rb +0 -108
- data/test/test_util.rb +0 -10
- data/test/test_wordpress_importer.rb +0 -9
- data/test/test_wordpressdotcom_importer.rb +0 -8
data/site/docs/behance.md
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Behance
|
4
|
-
prev_section: usage
|
5
|
-
link_source: behance
|
6
|
-
next_section: csv
|
7
|
-
permalink: /docs/behance/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from your [Behance](http://behance.com), generate an API token for your user account and run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::Behance.run({
|
15
|
-
"user" => "my_username",
|
16
|
-
"api_token" => "my_api_token"
|
17
|
-
})'
|
18
|
-
{% endhighlight %}
|
19
|
-
|
20
|
-
Both `user` and `api_token` are required.
|
data/site/docs/contributing.md
DELETED
data/site/docs/csv.md
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: CSV
|
4
|
-
prev_section: behance
|
5
|
-
link_source: csv
|
6
|
-
next_section: drupal6
|
7
|
-
permalink: /docs/csv/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from a CSV file, run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::CSV.run({
|
15
|
-
"file" => "my_posts.csv"
|
16
|
-
})'
|
17
|
-
{% endhighlight %}
|
18
|
-
|
19
|
-
Your file CSV file will be read in with the following columns:
|
20
|
-
|
21
|
-
1. title
|
22
|
-
2. permalink
|
23
|
-
3. body
|
24
|
-
4. published_at
|
25
|
-
5. filter (e.g. markdown, textile)
|
26
|
-
|
27
|
-
If you wish to specify custom front matter for each of your posts, you
|
28
|
-
can use the `no-front-matter` option to prevent the default front matter
|
29
|
-
from being written to the imported files:
|
30
|
-
|
31
|
-
{% highlight bash %}
|
32
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
33
|
-
JekyllImport::Importers::CSV.run({
|
34
|
-
"file" => "my_posts.csv",
|
35
|
-
"no-front-matter" => true
|
36
|
-
})'
|
37
|
-
{% endhighlight %}
|
data/site/docs/drupal6.md
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Drupal 6
|
4
|
-
prev_section: csv
|
5
|
-
link_source: drupal6
|
6
|
-
next_section: drupal7
|
7
|
-
permalink: /docs/drupal6/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from a [Drupal 6](http://drupal.org) installation, run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::Drupal6.run({
|
15
|
-
"dbname" => "name",
|
16
|
-
"user" => "myuser",
|
17
|
-
"password" => "mypassword",
|
18
|
-
"host" => "myhost",
|
19
|
-
"prefix" => "mytableprefix"
|
20
|
-
})'
|
21
|
-
{% endhighlight %}
|
22
|
-
|
23
|
-
The only required fields are `dbname` and `user`. `password` defaults to `""`,
|
24
|
-
`host` defaults to `"localhost"`, and `prefix` defaults to `""`.
|
data/site/docs/drupal7.md
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Drupal 7
|
4
|
-
prev_section: drupal6
|
5
|
-
link_source: drupal7
|
6
|
-
next_section: easyblog
|
7
|
-
permalink: /docs/drupal7/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from a [Drupal 7](http://drupal.org) installation, run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::Drupal7.run({
|
15
|
-
"dbname" => "name",
|
16
|
-
"user" => "myuser",
|
17
|
-
"password" => "mypassword",
|
18
|
-
"host" => "myhost",
|
19
|
-
"prefix" => "mytableprefix"
|
20
|
-
})'
|
21
|
-
{% endhighlight %}
|
22
|
-
|
23
|
-
The only required fields are `dbname` and `user`. `password` defaults to `""`,
|
24
|
-
`host` defaults to `"localhost"`, and `prefix` defaults to `""`.
|
data/site/docs/easyblog.md
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: EasyBlog
|
4
|
-
prev_section: drupal7
|
5
|
-
link_source: easyblog
|
6
|
-
next_section: enki
|
7
|
-
permalink: /docs/easyblog/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from a [EasyBlog](http://stackideas.com/easyblog) installation, run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::Easyblog.run({
|
15
|
-
"dbname" => "name",
|
16
|
-
"user" => "myuser",
|
17
|
-
"password" => "mypassword",
|
18
|
-
"host" => "myhost",
|
19
|
-
"prefix" => "mytableprefix"
|
20
|
-
})'
|
21
|
-
{% endhighlight %}
|
22
|
-
|
23
|
-
The only required fields are `dbname` and `user`. `password` defaults to `""`,
|
24
|
-
`host` defaults to `"localhost"`
|
25
|
-
`prefix` defaults to `"jos_"`. This will export all articles (in any state). Category and tags will be included in export.
|
data/site/docs/enki.md
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Enki
|
4
|
-
prev_section: easyblog
|
5
|
-
link_source: enki
|
6
|
-
next_section: ghost
|
7
|
-
permalink: /docs/enki/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from a [Enki](http://enkiblog.com) installation, run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::Enki.run({
|
15
|
-
"dbname" => "name",
|
16
|
-
"user" => "myuser",
|
17
|
-
"password" => "mypassword",
|
18
|
-
"host" => "myhost"
|
19
|
-
})'
|
20
|
-
{% endhighlight %}
|
21
|
-
|
22
|
-
The only required fields are `dbname` and `user`. `password` defaults to `""`
|
23
|
-
and `host` defaults to `"localhost"`.
|
data/site/docs/ghost.md
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Ghost
|
4
|
-
prev_section: enki
|
5
|
-
link_source: ghost
|
6
|
-
next_section: google_reader
|
7
|
-
permalink: /docs/ghost/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from your self-hosted Ghost instance, you first have to download your ghost.db from your server and run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::Ghost.run({
|
15
|
-
"dbfile" => "/path/to/your/ghost.db"
|
16
|
-
})'
|
17
|
-
{% endhighlight %}
|
18
|
-
|
19
|
-
There are no required fields. `dbfile` defaults to `"ghost.db"`.
|
data/site/docs/google_reader.md
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Google Reader
|
4
|
-
prev_section: enki
|
5
|
-
link_source: google_reader
|
6
|
-
next_section: joomla
|
7
|
-
permalink: /docs/google_reader/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from a [Google Reader](http://reader.google.com) XML dump file, run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::GoogleReader.run({
|
15
|
-
"source" => "my_file.xml"
|
16
|
-
})'
|
17
|
-
{% endhighlight %}
|
18
|
-
|
19
|
-
The `source` field is required.
|
data/site/docs/history.md
DELETED
@@ -1,130 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: History
|
4
|
-
permalink: "/docs/history/"
|
5
|
-
prev_section: contributing
|
6
|
-
---
|
7
|
-
|
8
|
-
## 0.4.0 / 2014-06-29
|
9
|
-
|
10
|
-
### Minor Enhancements
|
11
|
-
|
12
|
-
- Add easyblog importer ([#136]({{ site.repository }}/issues/136))
|
13
|
-
- WordPress: import draft posts into `_drafts` folder ([#147]({{ site.repository }}/issues/147))
|
14
|
-
- Be really permissive about which Jekyll version to use
|
15
|
-
|
16
|
-
### Bug Fixes
|
17
|
-
|
18
|
-
- Tumblr: Photo posts with multiple photos will now all import ([#145]({{ site.repository }}/issues/145))
|
19
|
-
|
20
|
-
### Site Enhancements
|
21
|
-
|
22
|
-
- Fix table prefix key in WordPress docs. ([#150]({{ site.repository }}/issues/150))
|
23
|
-
|
24
|
-
### Development Fixes
|
25
|
-
|
26
|
-
- Add GitHub `script/*` conventions for easy pick-up. ([#146]({{ site.repository }}/issues/146))
|
27
|
-
|
28
|
-
## 0.3.0 / 2014-05-23
|
29
|
-
|
30
|
-
### Minor Enhancements
|
31
|
-
|
32
|
-
- Import WordPress.org `author` data as hash ([#139]({{ site.repository }}/issues/139))
|
33
|
-
- Add `socket` option to the WordPress importer ([#140]({{ site.repository }}/issues/140))
|
34
|
-
- Allow the CSV importer to skip writing front matter ([#143]({{ site.repository }}/issues/143))
|
35
|
-
- WordPress.com: Download images locally and update links to them ([#134]({{ site.repository }}/issues/134))
|
36
|
-
- WordPress: Import WP pages as proper Jekyll pages instead of as posts ([#137]({{ site.repository }}/issues/137))
|
37
|
-
|
38
|
-
### Bug Fixes
|
39
|
-
|
40
|
-
- Replace errant `continue` expression with the valid `next` expression ([#133]({{ site.repository }}/issues/133))
|
41
|
-
|
42
|
-
## 0.2.0 / 2014-03-16
|
43
|
-
|
44
|
-
### Major Enhancements
|
45
|
-
- Add comments to MovableType importer ([#66]({{ site.repository }}/issues/66))
|
46
|
-
- Support auto-paragraph Wordpress convention ([#125]({{ site.repository }}/issues/125))
|
47
|
-
|
48
|
-
### Minor Enhancements
|
49
|
-
- Extract author info from wordpress XML files ([#131]({{ site.repository }}/issues/131))
|
50
|
-
|
51
|
-
### Bug Fixes
|
52
|
-
- Require YAML library in Enki importer ([#112]({{ site.repository }}/issues/112))
|
53
|
-
- Fix !ruby/string:Sequel::SQL::Blob error in MT excerpts ([#113]({{ site.repository }}/issues/113))
|
54
|
-
- Drupal6: Ensure post "tags" is "", never nil ([#117]({{ site.repository }}/issues/117))
|
55
|
-
- Fixes a bug where the Tumblr importer would write posts with `nil`
|
56
|
-
content ([#118]({{ site.repository }}/issues/118))
|
57
|
-
- Change Drupal7 layout to `post` rather than `default` ([#124]({{ site.repository }}/issues/124))
|
58
|
-
- WordPress: Use explicit `#to_s` when outputting post dates ([#129]({{ site.repository }}/issues/129))
|
59
|
-
|
60
|
-
### Site Enhancements
|
61
|
-
- Fixed error in quickstart code, added required design changes/reflow ([#120]({{ site.repository }}/issues/120))
|
62
|
-
- Fix example parameter names for Tumblr importer ([#122]({{ site.repository }}/issues/122))
|
63
|
-
- Add note to WordPress installer docs page that indicates what the importer
|
64
|
-
does and doesn't do. ([#127]({{ site.repository }}/issues/127))
|
65
|
-
|
66
|
-
### Development Fixes
|
67
|
-
- Bring gemspec into the 2010's ([#130]({{ site.repository }}/issues/130))
|
68
|
-
|
69
|
-
## 0.1.0 / 2013-12-18
|
70
|
-
|
71
|
-
### Major Enhancements
|
72
|
-
- Add 'Ghost' importer ([#100]({{ site.repository }}/issues/100))
|
73
|
-
- Add 'Behance' importer ([#46]({{ site.repository }}/issues/46), [#104]({{ site.repository }}/issues/104))
|
74
|
-
- Add the optional ability to include images in a posterous migration ([#5]({{ site.repository }}/issues/5))
|
75
|
-
- Posterous archive (unzipped directory) importer added ([#12]({{ site.repository }}/issues/12))
|
76
|
-
- Improve MovableType importer ([#13]({{ site.repository }}/issues/13))
|
77
|
-
- Add an importer for Google Reader blog exports ([#36]({{ site.repository }}/issues/36))
|
78
|
-
- Remove dependency on html2text in the tumblr importer ([#33]({{ site.repository }}/issues/33))
|
79
|
-
- Add the ability to import .jrnl files ([#51]({{ site.repository }}/issues/51))
|
80
|
-
- Handle missing gems a bit more gracefully ([#59]({{ site.repository }}/issues/59))
|
81
|
-
|
82
|
-
### Minor Enhancements
|
83
|
-
- Add date and redirection pages for blogs imported from Tumblr ([#54]({{ site.repository }}/issues/54))
|
84
|
-
- Various Tumblr Enhancements ([#27]({{ site.repository }}/issues/27))
|
85
|
-
- Adding tags to Typo and forcing their encoding to UTF-8 ([#11]({{ site.repository }}/issues/11))
|
86
|
-
- S9Y Importer: specify data source using --source option ([#18]({{ site.repository }}/issues/18))
|
87
|
-
- Add taxonomy (`tags`) to Drupal6 migration ([#15]({{ site.repository }}/issues/15))
|
88
|
-
- Differentiate between categories and tags in the WordpressDotCom
|
89
|
-
importer ([#31]({{ site.repository }}/issues/31))
|
90
|
-
- Use tumblr slug for post is available, use that instead ([#39]({{ site.repository }}/issues/39), [#40]({{ site.repository }}/issues/40))
|
91
|
-
- Drupal 7 importer should use latest revision of a post ([#38]({{ site.repository }}/issues/38))
|
92
|
-
- Improve the handling of tags in the Drupal 6 importer. Tags with
|
93
|
-
spaces are handled now and the importer doesn't eat tags anymore. ([#42]({{ site.repository }}/issues/42))
|
94
|
-
- Upgrade to `jekyll ~> 1.3` and `safe_yaml ~> 0.9.7`
|
95
|
-
- Add license to gemspec ([#83]({{ site.repository }}/issues/83))
|
96
|
-
- Add an `Importer.run` method for easy invocation ([#88]({{ site.repository }}/issues/88))
|
97
|
-
|
98
|
-
### Bug Fixes
|
99
|
-
- Remove usage of `Hash#at` in Tumblr importer ([#14]({{ site.repository }}/issues/14))
|
100
|
-
- Force encoding of Drupal 6.x titles to UTF-8 ([#22]({{ site.repository }}/issues/22))
|
101
|
-
- Update wordpressdotcom.rb to use its method parameter correctly ([#24]({{ site.repository }}/issues/24))
|
102
|
-
- Use MySQL2 adapter for WordPress importer to fix broken front-matter ([#20]({{ site.repository }}/issues/20))
|
103
|
-
- Fix WordPress import initialize parameters due to new Jekyll setup ([#19]({{ site.repository }}/issues/19))
|
104
|
-
- Fixed misspelling in method name ([#17]({{ site.repository }}/issues/17))
|
105
|
-
- Fix Drupal 7 importer so it compares node ID's properly between `node` and
|
106
|
-
`field_data_body` tables ([#38]({{ site.repository }}/issues/38))
|
107
|
-
- Fix prefix replacement for Drupal6 ([#41]({{ site.repository }}/issues/41))
|
108
|
-
- Fix an exception when a Movable Type blog did not have additional
|
109
|
-
entry text ([#45]({{ site.repository }}/issues/45))
|
110
|
-
- Create `_layouts/` before writing refresh.html in Drupal migrators ([#48]({{ site.repository }}/issues/48))
|
111
|
-
- Fix bug where post date in `MT` importer was not imported for older versions
|
112
|
-
of MT sites ([#62]({{ site.repository }}/issues/62))
|
113
|
-
- Fix interface of importers' `#process` method ([#69]({{ site.repository }}/issues/69))
|
114
|
-
- RSS importer should specify `--source` option ([#81]({{ site.repository }}/issues/81))
|
115
|
-
- Fix fetching of parameters from options hash ([#86]({{ site.repository }}/issues/86))
|
116
|
-
- Drupal6: Fix NoMethodError on untagged post ([#93]({{ site.repository }}/issues/93))
|
117
|
-
- S9Y: Use RSS parser from `rss` package, not the RSS importer ([#102]({{ site.repository }}/issues/102))
|
118
|
-
- Support as much of the current Commander interface as possible ([#103]({{ site.repository }}/issues/103))
|
119
|
-
|
120
|
-
### Site Enhancements
|
121
|
-
- Add the site ([#87]({{ site.repository }}/issues/87))
|
122
|
-
|
123
|
-
### Development Fixes
|
124
|
-
- Update usage docs in RSS importer ([#35]({{ site.repository }}/issues/35))
|
125
|
-
- Added initial version of a test case for Tumblr ([#43]({{ site.repository }}/issues/43))
|
126
|
-
- Remove some outdated comments in the Drupal migrators ([#50]({{ site.repository }}/issues/50))
|
127
|
-
- Update the README to be more informative ([#52]({{ site.repository }}/issues/52))
|
128
|
-
- Add comment to Wordpress importer on how to install mysql with
|
129
|
-
MacPorts ([#56]({{ site.repository }}/issues/56))
|
130
|
-
- Correcting the homepage URL so links from rubygems.org will work ([#63]({{ site.repository }}/issues/63))
|
data/site/docs/index.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Getting started
|
4
|
-
next_section: installation
|
5
|
-
permalink: /docs/home/
|
6
|
-
---
|
7
|
-
|
8
|
-
If you’re switching to Jekyll from another blogging system, Jekyll’s importers
|
9
|
-
can help you with the move. Most methods listed on this page require read access
|
10
|
-
to the database from your old system to generate posts for Jekyll. Each method
|
11
|
-
generates `.markdown` posts in the `_posts` directory based on the entries in
|
12
|
-
the foreign system.
|
13
|
-
|
14
|
-
## Other Systems
|
15
|
-
|
16
|
-
If you have a system for which there is currently no migrator, consider writing
|
17
|
-
one and sending us [a pull request](https://github.com/jekyll/jekyll-import).
|
data/site/docs/installation.md
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Installation
|
4
|
-
prev_section: home
|
5
|
-
next_section: usage
|
6
|
-
permalink: /docs/installation/
|
7
|
-
---
|
8
|
-
|
9
|
-
Because the importers have many of their own dependencies, they are made
|
10
|
-
available via a separate gem called
|
11
|
-
[`jekyll-import`](https://github.com/jekyll/jekyll-import). To use them, all
|
12
|
-
you need to do is install the gem, and they will become available as part of
|
13
|
-
Jekyll's standard command line interface.
|
14
|
-
|
15
|
-
{% highlight bash %}
|
16
|
-
$ gem install jekyll-import
|
17
|
-
{% endhighlight %}
|
18
|
-
|
19
|
-
<div class="note warning">
|
20
|
-
<h5>Jekyll-import requires you to manually install some dependencies.</h5>
|
21
|
-
<p markdown="1">If you are importing your blog from Drupal 6,7, Joomla,
|
22
|
-
Mephisto, Movable Type, Textpattern, or Typo (with mysql db), you need to install
|
23
|
-
`mysql` and `sequel` gems. If you are importing from a WordPress database, you
|
24
|
-
need to install `mysql2` and `sequel` gems, and if you are importing from Enki
|
25
|
-
or Typo (with postgresql db) you need to install `pg` and `sequel` gems.</p>
|
26
|
-
</div>
|
data/site/docs/joomla.md
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Joomla
|
4
|
-
prev_section: google_reader
|
5
|
-
link_source: joomla
|
6
|
-
next_section: jrnl
|
7
|
-
permalink: /docs/joomla/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from a [Joomla](http://joomla.org) installation, run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::Joomla.run({
|
15
|
-
"dbname" => "name",
|
16
|
-
"user" => "myuser",
|
17
|
-
"password" => "mypassword",
|
18
|
-
"host" => "myhost",
|
19
|
-
"section" => "thesection",
|
20
|
-
"prefix" => "mytableprefix"
|
21
|
-
})'
|
22
|
-
{% endhighlight %}
|
23
|
-
|
24
|
-
The only required fields are `dbname` and `user`. `password` defaults to `""`,
|
25
|
-
`host` defaults to `"localhost"`, and `section` defaults to `"1"` and `prefix`
|
26
|
-
defaults to `"jos_"`.
|
data/site/docs/jrnl.md
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: docs
|
3
|
-
title: Jrnl
|
4
|
-
prev_section: joomla
|
5
|
-
link_source: jrnl
|
6
|
-
next_section: marley
|
7
|
-
permalink: /docs/jrnl/
|
8
|
-
---
|
9
|
-
|
10
|
-
To import your posts from [Jrnl](http://maebert.github.io/jrnl/), run:
|
11
|
-
|
12
|
-
{% highlight bash %}
|
13
|
-
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
-
JekyllImport::Importers::Jrnl.run({
|
15
|
-
"file" => "~/journal.txt",
|
16
|
-
"time_format" => "%Y-%m-%d %H:%M",
|
17
|
-
"extension" => "md",
|
18
|
-
"layout" => "post"
|
19
|
-
})'
|
20
|
-
{% endhighlight %}
|
21
|
-
|
22
|
-
None of the fields are mandatory. The default to the values in the example
|
23
|
-
block above.
|