jekyll-import 0.1.0.beta4 → 0.1.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.markdown +5 -0
- data/Rakefile +114 -11
- data/jekyll-import.gemspec +67 -2
- data/lib/jekyll-import.rb +3 -5
- data/lib/jekyll-import/importer.rb +6 -0
- data/lib/jekyll-import/importers/rss.rb +2 -2
- data/lib/jekyll-import/importers/s9y.rb +1 -1
- data/lib/jekyll-import/importers/textpattern.rb +1 -1
- data/site/.gitignore +4 -0
- data/site/CNAME +1 -0
- data/site/README +1 -0
- data/site/_config.yml +7 -0
- data/site/_includes/analytics.html +32 -0
- data/site/_includes/docs_contents.html +10 -0
- data/site/_includes/docs_contents_mobile.html +14 -0
- data/site/_includes/docs_option.html +11 -0
- data/site/_includes/docs_ul.html +20 -0
- data/site/_includes/footer.html +15 -0
- data/site/_includes/header.html +18 -0
- data/site/_includes/news_contents.html +23 -0
- data/site/_includes/news_contents_mobile.html +11 -0
- data/site/_includes/news_item.html +24 -0
- data/site/_includes/primary-nav-items.html +14 -0
- data/site/_includes/section_nav.html +22 -0
- data/site/_includes/top.html +17 -0
- data/site/_layouts/default.html +12 -0
- data/site/_layouts/docs.html +29 -0
- data/site/_layouts/news.html +19 -0
- data/site/_layouts/news_item.html +27 -0
- data/site/_posts/2013-11-09-jekyll-import-0-1-0-beta4-release.markdown +23 -0
- data/site/_posts/2013-11-18-jekyll-import-0-1-0-rc1-released.markdown +17 -0
- data/site/css/gridism.css +110 -0
- data/site/css/normalize.css +1 -0
- data/site/css/pygments.css +70 -0
- data/site/css/style.css +946 -0
- data/site/docs/contributing.md +8 -0
- data/site/docs/csv.md +25 -0
- data/site/docs/drupal6.md +24 -0
- data/site/docs/drupal7.md +24 -0
- data/site/docs/enki.md +23 -0
- data/site/docs/google_reader.md +19 -0
- data/site/docs/history.md +7 -0
- data/site/docs/index.md +17 -0
- data/site/docs/installation.md +26 -0
- data/site/docs/joomla.md +26 -0
- data/site/docs/jrnl.md +23 -0
- data/site/docs/marley.md +20 -0
- data/site/docs/mephisto.md +23 -0
- data/site/docs/mt.md +23 -0
- data/site/docs/posterous.md +25 -0
- data/site/docs/rss.md +19 -0
- data/site/docs/s9y.md +19 -0
- data/site/docs/textpattern.md +30 -0
- data/site/docs/third-party.md +30 -0
- data/site/docs/tumblr.md +24 -0
- data/site/docs/typo.md +26 -0
- data/site/docs/usage.md +28 -0
- data/site/docs/wordpress.md +31 -0
- data/site/docs/wordpressdotcom.md +44 -0
- data/site/favicon.png +0 -0
- data/site/feed.xml +36 -0
- 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 +100 -0
- data/site/js/modernizr-2.5.3.min.js +4 -0
- data/site/news/index.html +10 -0
- data/site/news/releases/index.html +10 -0
- metadata +68 -3
data/site/docs/tumblr.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
layout: docs
|
3
|
+
title: Tumblr
|
4
|
+
prev_section: textpattern
|
5
|
+
link_source: tumblr
|
6
|
+
next_section: typo
|
7
|
+
permalink: /docs/tumblr/
|
8
|
+
---
|
9
|
+
|
10
|
+
To import your posts from [Tumblr](http://tumblr.com), run:
|
11
|
+
|
12
|
+
{% highlight bash %}
|
13
|
+
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
+
JekyllImport::Importers::Tumblr.run({
|
15
|
+
"url" => "http://myblog.tumblr.com",
|
16
|
+
"user" => "html", # or "md"
|
17
|
+
"password" => false, # whether to download images as well.
|
18
|
+
"add_highlights" => false, # whether to wrap code blocks (indented 4 spaces) in a Liquid "highlight" tag
|
19
|
+
"rewrite_urls" => false # whether to write pages that redirect from the old Tumblr paths to the new Jekyll paths
|
20
|
+
})'
|
21
|
+
{% endhighlight %}
|
22
|
+
|
23
|
+
The only required field is `url`. The other fields default to their above
|
24
|
+
values.
|
data/site/docs/typo.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
layout: docs
|
3
|
+
title: Typo
|
4
|
+
prev_section: tumblr
|
5
|
+
link_source: typo
|
6
|
+
next_section: wordpress
|
7
|
+
permalink: /docs/typo/
|
8
|
+
---
|
9
|
+
|
10
|
+
To import your posts from Typo (now [Publify](http://publify.co)), run:
|
11
|
+
|
12
|
+
{% highlight bash %}
|
13
|
+
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
+
JekyllImport::Importers::Typo.run({
|
15
|
+
"server" => "mysql",
|
16
|
+
"dbname" => "name",
|
17
|
+
"user" => "myuser",
|
18
|
+
"password" => "mypassword",
|
19
|
+
"host" => "myhost"
|
20
|
+
})'
|
21
|
+
{% endhighlight %}
|
22
|
+
|
23
|
+
The only required fields are `server`, `dbname`, and `user`. `password`
|
24
|
+
defaults to `""` and `host` defaults to `"localhost"`.
|
25
|
+
|
26
|
+
This code has only been tested with Typo version 4+.
|
data/site/docs/usage.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
---
|
2
|
+
layout: docs
|
3
|
+
title: Usage
|
4
|
+
prev_section: installation
|
5
|
+
next_section: csv
|
6
|
+
permalink: /docs/usage/
|
7
|
+
---
|
8
|
+
|
9
|
+
You should now be all set to run the importers below. If you ever get stuck, you
|
10
|
+
can see help for each importer:
|
11
|
+
|
12
|
+
{% highlight bash %}
|
13
|
+
$ jekyll help import # => See list of importers
|
14
|
+
$ jekyll help import IMPORTER # => See importer specific help
|
15
|
+
{% endhighlight %}
|
16
|
+
|
17
|
+
Where IMPORTER is the name of the specific importer.
|
18
|
+
|
19
|
+
<div class="note info">
|
20
|
+
<h5>Note: Always double-check migrated content</h5>
|
21
|
+
<p>
|
22
|
+
|
23
|
+
Importers may not distinguish between published or private posts, so
|
24
|
+
you should always check that the content Jekyll generates for you appears as
|
25
|
+
you intended.
|
26
|
+
|
27
|
+
</p>
|
28
|
+
</div>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
layout: docs
|
3
|
+
title: WordPress
|
4
|
+
prev_section: typo
|
5
|
+
link_source: wordpress
|
6
|
+
next_section: wordpressdotcom
|
7
|
+
permalink: /docs/wordpress/
|
8
|
+
---
|
9
|
+
|
10
|
+
To import your posts from a self-hosted [WordPress](http://wordpress.org)
|
11
|
+
installation, run:
|
12
|
+
|
13
|
+
{% highlight bash %}
|
14
|
+
$ ruby -rubygems -e 'require "jekyll-import";
|
15
|
+
JekyllImport::Importers::WordPress.run({
|
16
|
+
"dbname" => "",
|
17
|
+
"user" => "",
|
18
|
+
"password" => "",
|
19
|
+
"host" => "localhost",
|
20
|
+
"prefix" => "wp_",
|
21
|
+
"clean_entities" => true,
|
22
|
+
"comments" => true,
|
23
|
+
"categories" => true,
|
24
|
+
"tags" => true,
|
25
|
+
"more_excerpt" => true,
|
26
|
+
"more_anchor" => true,
|
27
|
+
"status" => ["publish"]
|
28
|
+
})'
|
29
|
+
{% endhighlight %}
|
30
|
+
|
31
|
+
None of the fields are required. Their defaults are as you see above.
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
layout: docs
|
3
|
+
title: WordPress.com
|
4
|
+
prev_section: wordpress
|
5
|
+
link_source: wordpressdotcom
|
6
|
+
next_section: third-party
|
7
|
+
permalink: /docs/wordpressdotcom/
|
8
|
+
---
|
9
|
+
|
10
|
+
To import your posts from a [WordPress.com](http://wordpress.com) blog, run:
|
11
|
+
|
12
|
+
{% highlight bash %}
|
13
|
+
$ ruby -rubygems -e 'require "jekyll-import";
|
14
|
+
JekyllImport::Importers::WordpressDotCom.run({
|
15
|
+
"source" => "wordpress.xml"
|
16
|
+
})'
|
17
|
+
{% endhighlight %}
|
18
|
+
|
19
|
+
The `source` field is not required. Its default is what you see above.
|
20
|
+
|
21
|
+
<div class="note">
|
22
|
+
<h5>ProTip™: WordPress.com Export Tool</h5>
|
23
|
+
<p markdown="1">If you are migrating from a WordPress.com account, you can
|
24
|
+
access the export tool at the following URL:
|
25
|
+
`https://YOUR-USER-NAME.wordpress.com/wp-admin/export.php`.</p>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
### Further WordPress migration alternatives
|
29
|
+
|
30
|
+
While the above method works, it does not import much of the metadata that is
|
31
|
+
usually stored in WordPress posts and pages. If you need to export things like
|
32
|
+
pages, tags, custom fields, image attachments and so on, the following resources
|
33
|
+
might be useful to you:
|
34
|
+
|
35
|
+
- [Exitwp](https://github.com/thomasf/exitwp) is a configurable tool written in
|
36
|
+
Python for migrating one or more WordPress blogs into Jekyll (Markdown) format
|
37
|
+
while keeping as much metadata as possible. Exitwp also downloads attachments
|
38
|
+
and pages.
|
39
|
+
- [A great
|
40
|
+
article](http://vitobotta.com/how-to-migrate-from-wordpress-to-jekyll/) with a
|
41
|
+
step-by-step guide for migrating a WordPress blog to Jekyll while keeping most
|
42
|
+
of the structure and metadata.
|
43
|
+
- [wpXml2Jekyll](https://github.com/theaob/wpXml2Jekyll) is an executable
|
44
|
+
windows application for creating Markdown posts from your WordPress XML file.
|
data/site/favicon.png
ADDED
Binary file
|
data/site/feed.xml
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: none
|
3
|
+
permalink: /feed.xml
|
4
|
+
---
|
5
|
+
|
6
|
+
<?xml version="1.0" encoding="utf-8"?>
|
7
|
+
<rss version="2.0"
|
8
|
+
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
9
|
+
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
10
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
11
|
+
xmlns:atom="http://www.w3.org/2005/Atom"
|
12
|
+
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
|
13
|
+
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
14
|
+
>
|
15
|
+
<channel>
|
16
|
+
<title xml:lang="en">{{ site.title }}</title>
|
17
|
+
<atom:link type="application/atom+xml" href="http://import.jekyllrb.com/feed.xml" rel="self"/>
|
18
|
+
<link>http://import.jekyllrb.com</link>
|
19
|
+
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
|
20
|
+
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
|
21
|
+
<language>en-US</language>
|
22
|
+
<description>Import your old & busted site to Jekyll, a blog-aware static site generator.</description>
|
23
|
+
{% for post in site.posts %}
|
24
|
+
<item>
|
25
|
+
<title>{{ post.title | xml_escape}}</title>
|
26
|
+
<link>http://import.jekyllrb.com{{ post.url }}</link>
|
27
|
+
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
|
28
|
+
<dc:creator>{{ post.author }}</dc:creator>
|
29
|
+
{% for tag in post.tags %}<category>{{ tag | xml_escape }}</category>
|
30
|
+
{% endfor %}{% for cat in post.categories %}<category>{{ cat | xml_escape }}</category>
|
31
|
+
{% endfor %}<guid isPermaLink="false">{{ post.id }}</guid>
|
32
|
+
<description><![CDATA[ {{ post.content }} ]]></description>
|
33
|
+
</item>
|
34
|
+
{% endfor %}
|
35
|
+
</channel>
|
36
|
+
</rss>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/site/img/tube.png
ADDED
Binary file
|
data/site/img/tube1x.png
ADDED
Binary file
|
data/site/index.html
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: jekyll-import • Import your old & busted site to Jekyll
|
4
|
+
overview: true
|
5
|
+
---
|
6
|
+
|
7
|
+
<section class="intro">
|
8
|
+
<div class="grid">
|
9
|
+
<div class="unit whole center-on-mobiles">
|
10
|
+
<p class="first">Import your old & busted site or blog for use with Jekyll.</p>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</section>
|
14
|
+
<section class="features">
|
15
|
+
<div class="grid">
|
16
|
+
<div class="unit one-third">
|
17
|
+
<h2>Simple</h2>
|
18
|
+
<p>
|
19
|
+
No more databases, comment moderation, or pesky updates to install—just <em>your content</em>.
|
20
|
+
</p>
|
21
|
+
<a href="http://jekyllrb.com/docs/usage/" class="">How Jekyll works →</a>
|
22
|
+
</div>
|
23
|
+
<div class="unit one-third">
|
24
|
+
<h2>Static</h2>
|
25
|
+
<p><a href="http://daringfireball.net/projects/markdown/">Markdown</a> (or <a href="http://textile.sitemonks.com/">Textile</a>), <a href="http://wiki.shopify.com/Liquid">Liquid</a>, HTML <span class="amp">&</span> CSS go in. Static sites come out ready for deployment.</p>
|
26
|
+
<a href="http://jekyllrb.com/docs/templates/" class="">Jekyll template guide →</a>
|
27
|
+
</div>
|
28
|
+
<div class="unit one-third">
|
29
|
+
<h2>Blog-aware</h2>
|
30
|
+
<p>
|
31
|
+
Permalinks, categories, pages, posts, and custom layouts are all first-class citizens here.
|
32
|
+
</p>
|
33
|
+
<a href="/docs/home/" class="">Migrate your blog →</a>
|
34
|
+
</div>
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div>
|
37
|
+
</section>
|
38
|
+
<section class="quickstart">
|
39
|
+
<div class="grid">
|
40
|
+
<div class="unit golden-small center-on-mobiles">
|
41
|
+
<h4>Get up and running <em>in seconds</em>.</h4>
|
42
|
+
</div>
|
43
|
+
<div class="unit golden-large code">
|
44
|
+
<p class="title">Quick-start Instructions</p>
|
45
|
+
<div class="shell">
|
46
|
+
<p class="line">
|
47
|
+
<span class="path">~</span>
|
48
|
+
<span class="prompt">$</span>
|
49
|
+
<span class="command">gem install jekyll</span>
|
50
|
+
</p>
|
51
|
+
<p class="line">
|
52
|
+
<span class="path">~</span>
|
53
|
+
<span class="prompt">$</span>
|
54
|
+
<span class="command">jekyll new my-awesome-site</span>
|
55
|
+
</p>
|
56
|
+
<p class="line">
|
57
|
+
<span class="path">~</span>
|
58
|
+
<span class="prompt">$</span>
|
59
|
+
<span class="command">cd my-awesome-site</span>
|
60
|
+
</p>
|
61
|
+
<p class="line">
|
62
|
+
<span class="path">~/my-awesome-site</span>
|
63
|
+
<span class="prompt">$</span>
|
64
|
+
<span class="command">jekyll import wordpress \ </span>
|
65
|
+
</p>
|
66
|
+
<p class="line">
|
67
|
+
<span class="path"> </span>
|
68
|
+
<span class="prompt"> </span>
|
69
|
+
<span class="command">--source wordpress.xml</span>
|
70
|
+
</p>
|
71
|
+
<p class="line">
|
72
|
+
<span class="path">~/my-awesome-site</span>
|
73
|
+
<span class="prompt">$</span>
|
74
|
+
<span class="command">jekyll serve</span>
|
75
|
+
</p>
|
76
|
+
<p class="line">
|
77
|
+
<span class="output"># => Now browse to http://localhost:4000</span>
|
78
|
+
</p>
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
<div class="clear"></div>
|
82
|
+
</div>
|
83
|
+
</section>
|
84
|
+
<section class="free-hosting">
|
85
|
+
<div class="grid">
|
86
|
+
<div class="unit whole">
|
87
|
+
<div class="grid pane">
|
88
|
+
<div class="unit whole center-on-mobiles">
|
89
|
+
<img src="img/octojekyll.png" alt="Free Jekyll hosting on GitHub Pages">
|
90
|
+
<div class="pane-content">
|
91
|
+
<h2 class="center-on-mobiles"><strong>Free hosting</strong> with GitHub Pages</h2>
|
92
|
+
<p>Sick of dealing with hosting companies? <a href="http://pages.github.com/">GitHub Pages</a> are <em>powered by Jekyll</em>, so you can easily deploy your site using GitHub for free—<a href="https://help.github.com/articles/setting-up-a-custom-domain-with-pages">custom domain name</a> and all.</p>
|
93
|
+
<a href="http://pages.github.com/" class="">Learn more about GitHub Pages →</a>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
<div class="clear"></div>
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
</section>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/* Modernizr 2.5.3 (Custom Build) | MIT & BSD
|
2
|
+
* Build: http://www.modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
|
3
|
+
*/
|
4
|
+
;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a)if(j[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.substr(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function L(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:/^color$/.test(f)?(g.appendChild(k),g.offsetWidth,e=k.value!=l,g.removeChild(k)):e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.5.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),k.appendChild(j);return f=["­","<style>",a,"</style>"].join(""),k.id=h,m.innerHTML+=f,m.appendChild(k),l||(m.style.background="",g.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e});var K=function(c,d){var f=c.join(""),g=d.length;y(f,function(c,d){var f=b.styleSheets[b.styleSheets.length-1],h=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"",i=c.childNodes,j={};while(g--)j[i[g].id]=i[g];e.touch="ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch||(j.touch&&j.touch.offsetTop)===9,e.csstransforms3d=(j.csstransforms3d&&j.csstransforms3d.offsetLeft)===9&&j.csstransforms3d.offsetHeight===3,e.generatedcontent=(j.generatedcontent&&j.generatedcontent.offsetHeight)>=1,e.fontface=/src/i.test(h)&&h.indexOf(d.split(" ")[0])===0},g,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",n.join("touch-enabled),("),h,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",n.join("transform-3d),("),h,")","{#csstransforms3d{left:9px;position:absolute;height:3px;}}"].join(""),['#generatedcontent:after{content:"',l,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);s.flexbox=function(){return J("flexOrder")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){try{var d=b.createElement("canvas"),e;e=!(!a.WebGLRenderingContext||!d.getContext("experimental-webgl")&&!d.getContext("webgl")),d=c}catch(f){e=!1}return e},s.touch=function(){return e.touch},s.geolocation=function(){return!!navigator.geolocation},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){for(var b=-1,c=p.length;++b<c;)if(a[p[b]+"WebSocket"])return!0;return"WebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&(a=e.csstransforms3d),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){return e.fontface},s.generatedcontent=function(){return e.generatedcontent},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var M in s)C(s,M)&&(x=M.toLowerCase(),e[x]=s[M](),v.push((e[x]?"":"no-")+x));return e.input||L(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,g.className+=" "+(b?"":"no-")+a,e[a]=b}return e},D(""),i=k=null,function(a,b){function g(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function h(){var a=k.elements;return typeof a=="string"?a.split(" "):a}function i(a){var b={},c=a.createElement,e=a.createDocumentFragment,f=e();a.createElement=function(a){var e=(b[a]||(b[a]=c(a))).cloneNode();return k.shivMethods&&e.canHaveChildren&&!d.test(a)?f.appendChild(e):e},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+h().join().replace(/\w+/g,function(a){return b[a]=c(a),f.createElement(a),'c("'+a+'")'})+");return n}")(k,f)}function j(a){var b;return a.documentShived?a:(k.shivCSS&&!e&&(b=!!g(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),f||(b=!i(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea)$/i,e,f;(function(){var a=b.createElement("a");a.innerHTML="<xyz></xyz>",e="hidden"in a,f=a.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var k={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:j};a.html5=k,j(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return o.call(a)=="[object Function]"}function e(a){return typeof a=="string"}function f(){}function g(a){return!a||a=="loaded"||a=="complete"||a=="uninitialized"}function h(){var a=p.shift();q=1,a?a.t?m(function(){(a.t=="c"?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){a!="img"&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l={},o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};y[c]===1&&(r=1,y[c]=[],l=b.createElement(a)),a=="object"?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),a!="img"&&(r||y[c]===2?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i(b=="c"?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&o.call(a.opera)=="[object Opera]",l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return o.call(a)=="[object Array]"},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,i){var j=b(a),l=j.autoCallback;j.url.split(".").pop().split("?").shift(),j.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]||h),j.instead?j.instead(a,e,f,g,i):(y[j.url]?j.noexec=!0:y[j.url]=1,f.load(j.url,j.forceCSS||!j.forceJS&&"css"==j.url.split(".").pop().split("?").shift()?"c":c,j.noexec,j.attrs,j.timeout),(d(e)||d(l))&&f.load(function(){k(),e&&e(j.origUrl,i,g),l&&l(j.origUrl,i,g),y[j.url]=2})))}function i(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var j,l,m=this.yepnope.loader;if(e(a))g(a,0,m,0);else if(w(a))for(j=0;j<a.length;j++)l=a[j],e(l)?g(l,0,m,0):w(l)?B(l):Object(l)===l&&i(l,m);else Object(a)===a&&i(a,m)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-import
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -298,6 +298,70 @@ files:
|
|
298
298
|
- lib/jekyll-import/importers/wordpress.rb
|
299
299
|
- lib/jekyll-import/importers/wordpressdotcom.rb
|
300
300
|
- lib/jekyll/commands/import.rb
|
301
|
+
- site/.gitignore
|
302
|
+
- site/CNAME
|
303
|
+
- site/README
|
304
|
+
- site/_config.yml
|
305
|
+
- site/_includes/analytics.html
|
306
|
+
- site/_includes/docs_contents.html
|
307
|
+
- site/_includes/docs_contents_mobile.html
|
308
|
+
- site/_includes/docs_option.html
|
309
|
+
- site/_includes/docs_ul.html
|
310
|
+
- site/_includes/footer.html
|
311
|
+
- site/_includes/header.html
|
312
|
+
- site/_includes/news_contents.html
|
313
|
+
- site/_includes/news_contents_mobile.html
|
314
|
+
- site/_includes/news_item.html
|
315
|
+
- site/_includes/primary-nav-items.html
|
316
|
+
- site/_includes/section_nav.html
|
317
|
+
- site/_includes/top.html
|
318
|
+
- site/_layouts/default.html
|
319
|
+
- site/_layouts/docs.html
|
320
|
+
- site/_layouts/news.html
|
321
|
+
- site/_layouts/news_item.html
|
322
|
+
- site/_posts/2013-11-09-jekyll-import-0-1-0-beta4-release.markdown
|
323
|
+
- site/_posts/2013-11-18-jekyll-import-0-1-0-rc1-released.markdown
|
324
|
+
- site/css/gridism.css
|
325
|
+
- site/css/normalize.css
|
326
|
+
- site/css/pygments.css
|
327
|
+
- site/css/style.css
|
328
|
+
- site/docs/contributing.md
|
329
|
+
- site/docs/csv.md
|
330
|
+
- site/docs/drupal6.md
|
331
|
+
- site/docs/drupal7.md
|
332
|
+
- site/docs/enki.md
|
333
|
+
- site/docs/google_reader.md
|
334
|
+
- site/docs/history.md
|
335
|
+
- site/docs/index.md
|
336
|
+
- site/docs/installation.md
|
337
|
+
- site/docs/joomla.md
|
338
|
+
- site/docs/jrnl.md
|
339
|
+
- site/docs/marley.md
|
340
|
+
- site/docs/mephisto.md
|
341
|
+
- site/docs/mt.md
|
342
|
+
- site/docs/posterous.md
|
343
|
+
- site/docs/rss.md
|
344
|
+
- site/docs/s9y.md
|
345
|
+
- site/docs/textpattern.md
|
346
|
+
- site/docs/third-party.md
|
347
|
+
- site/docs/tumblr.md
|
348
|
+
- site/docs/typo.md
|
349
|
+
- site/docs/usage.md
|
350
|
+
- site/docs/wordpress.md
|
351
|
+
- site/docs/wordpressdotcom.md
|
352
|
+
- site/favicon.png
|
353
|
+
- site/feed.xml
|
354
|
+
- site/img/article-footer.png
|
355
|
+
- site/img/footer-arrow.png
|
356
|
+
- site/img/footer-logo.png
|
357
|
+
- site/img/logo-2x.png
|
358
|
+
- site/img/octojekyll.png
|
359
|
+
- site/img/tube.png
|
360
|
+
- site/img/tube1x.png
|
361
|
+
- site/index.html
|
362
|
+
- site/js/modernizr-2.5.3.min.js
|
363
|
+
- site/news/index.html
|
364
|
+
- site/news/releases/index.html
|
301
365
|
- test/helper.rb
|
302
366
|
- test/test_jrnl_importer.rb
|
303
367
|
- test/test_mt_importer.rb
|
@@ -305,7 +369,8 @@ files:
|
|
305
369
|
- test/test_wordpress_importer.rb
|
306
370
|
- test/test_wordpressdotcom_importer.rb
|
307
371
|
homepage: http://github.com/jekyll/jekyll-import
|
308
|
-
licenses:
|
372
|
+
licenses:
|
373
|
+
- MIT
|
309
374
|
metadata: {}
|
310
375
|
post_install_message:
|
311
376
|
rdoc_options:
|