Linux 软件免费装

WordPress2Jekyll

开发者 liam_bowers
更新时间 2016年1月30日 19:55
捐献地址: 去捐款
PHP版本: 4.3 及以上
WordPress版本: 4.4.1
版权: GPLv3
版权网址: 版权信息

标签

blog flat export github yaml jekyll

下载

0.3 0.1 0.2 0.2.1 0.4

详情介绍:

Jekyll is a great tool that will build a full blog site using text files written in a specific format. It gives you the bonus of having a very light and quick site that can't be hacked through script vulnerabilities. The downside of this is that it's not always easy to edit. It's harder still when using a mobile device. This is where WordPress comes in. WordPress can be used to modify the posts (both standard posts and pages) and these changes will automatically be exported. The same applies for taxonomies and users if desired. This means that it is possible to edit content using a mobile device and the WordPress app. WordPress2Jekyll attempts to marry these two systems together in order to make a quick, secure website that can be easily managed from all devices. What can it do?

安装:

Installing this module is simple enough:
  1. Upload the plugin files to the /wp-content/plugins/wp2jekyll directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Use the Settings->WordPress2Jekyll screen to configure the plugin. This Jekyll path must point to an existing Jekyll site directory. If you're using it for testing purposes then make sure the assets, data and posts directories exist. It will complain if it doesn't find them.
  4. Use Tools->Jekyll to perform a full export of the current content as defined in the settings.

升级注意事项:

I aim to make upgrades as painless as possible. Currently there's nothing that should cause upgrade issues although it's advisable to check out the new settings at Settings->Wordpress2Jekyll to make sure everything still looks good.

常见问题:

What is Jekyll?

Check out https://jekyllrb.com/ It should give you all the answers you need right here.

What do I do after the site has exported?

That completely depends on your setup. If you have Jekyll set up to watch the directory for changes then it will build or serve the site automatically. Future versions will trigger Jekyll in to building the site.

How can I use the data it exports?

Well the posts are self explanatory. The taxonomy and author data is stored in as yaml files which can be used by Jekyll very easily. Check out http://jekyllrb.com/docs/datafiles/. I personally use it to load in author information and build menus.

This is great/terrible

Let me know! I'd love to get some feedback on this. This is the first plugin I've created so go easy!

I would really like it if it did 'x'

How about you get in touch and I can see what I can do?

更新日志:

0.4 0.3 0.2.1 Fixing versioning issue. 0.2 0.1