mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-11 18:56:14 +09:00
Update package and readme files
This commit is contained in:
@@ -10,13 +10,11 @@ Saves each post as a separate file with appropriate frontmatter. Also saves atta
|
|||||||
|
|
||||||
You'll need:
|
You'll need:
|
||||||
- [Node.js](https://nodejs.org/) v10.12 or later
|
- [Node.js](https://nodejs.org/) v10.12 or later
|
||||||
- Your WordPress export file
|
- Your [WordPress export file](https://codex.wordpress.org/Tools_Export_Screen)
|
||||||
- Log into your WordPress admin site and go to Tools > Export > Download Export File
|
|
||||||
- Save the file as `export.xml` inside this package's directory
|
|
||||||
|
|
||||||
Open your terminal to this package's directory. Run `npm install` and then `node index.js`.
|
Open your terminal to this package's directory. Run `npm install` and then `node index.js`.
|
||||||
|
|
||||||
This will use default options to create an `/output` folder filled with your posts and images. Done!
|
This will create an `/output` folder filled with your posts and images.
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
|
|||||||
+7
-1
@@ -1,8 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "wordpress-export-to-markdown",
|
"name": "wordpress-export-to-markdown",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Converts a WordPress export XML file into Markdown files.",
|
"description": "Converts a WordPress export XML file into Markdown files.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
"repository": "https://github.com/lonekorean/wordpress-export-to-markdown.git",
|
||||||
|
"keywords": [
|
||||||
|
"wordpress",
|
||||||
|
"markdown",
|
||||||
|
"export"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user