I think it's final: I'll use Spress (sometimes in the future)

This commit is contained in:
Peter Molnar 2016-09-05 12:08:18 +00:00
parent 733a83d206
commit fb4b91ac18
3 changed files with 149 additions and 816 deletions

View file

@ -1,15 +1,16 @@
{ {
"name": "petermolnar/wp-flatexport", "name": "petermolnar/wp-flatexport",
"description": "auto-export WordPress contents to folders and plain text + markdown files for longetivity and portability", "description": "export WordPress content to Spress compatible text files",
"require": { "require": {
"php": ">=5.4.0" "php": ">=5.4.0",
"symfony/yaml": "^3.1"
}, },
"license": "GPLv3", "license": "GPLv3",
"authors": [ "authors": [
{ {
"name": "Peter Molnar", "name": "Peter Molnar",
"email": "hello@petermolnar.eu", "email": "hello@petermolnar.net",
"homepage": "https://petermolnar.eu" "homepage": "https://petermolnar.net"
} }
] ]
} }

View file

@ -3,11 +3,11 @@ Contributors: cadeyrn
Tags: plain text, export, backup Tags: plain text, export, backup
Requires at least: 3.0 Requires at least: 3.0
Tested up to: 4.5.3 Tested up to: 4.5.3
Stable tag: 0.5 Stable tag: 0.8
License: GPLv3 License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
Auto-export WordPress flat, structured, readable plain text. Export WordPress to Spress compatible plain text files.
== Description == == Description ==
@ -17,11 +17,6 @@ It only works well with Markdown content.
There are certain tricks done with the content. There are certain tricks done with the content.
Please be aware of this. Please be aware of this.
Content will be exported to wp-content/flat/{post_slug}/ folder ( one folder per post), all attachments copied (or hardlinked, if possible with the filesystem; this is automatic ).
The content will be placed into in item.md file. This is a markdown file, with some plain test headers.
Comments are exported into the same folder, named comment-{comment_id}.md; the format is similar for those as well.
**This is not a backup!** **This is not a backup!**
The goal of the plugin is to have a portable, plain text, easy to read, easy to copy version of you content on WordPress. Since not all data is exported, your site cannot be reconstructed from these exports. The goal of the plugin is to have a portable, plain text, easy to read, easy to copy version of you content on WordPress. Since not all data is exported, your site cannot be reconstructed from these exports.
@ -42,35 +37,3 @@ Version numbering logic:
* every .B version indicates new features. * every .B version indicates new features.
* every ..C indicates bugfixes for A.B version. * every ..C indicates bugfixes for A.B version.
= 0.5 =
*2016-07-22*
* everything is through filters now
* moar magic formatting:
** stong/em moved to strict `**`/`_` from `__`/`*`
** definition lists moved to strict `: ` from lazy spaces
* code is strictly less, than 80 char per line
* comments format changed
* using index.txt instead of item.md
*
= 0.3 =
*2016-07-14*
* switched to filter-based content inserting for the end output; this way it's possible to add, remove, reorder, and insert in between the predefined output parts
= 0.2 =
*2016-06-27*
* plugin renamed to avoid confusion of the exports being backups
* removed YAML in favour of parseable plain text formatting
= 0.1.1 =
*2016-03-08*
* better debugging
= 0.1 =
*2015-12-10*
* first stable release

File diff suppressed because it is too large Load diff