@tryghost/mg-blogger 0.1.14 → 0.1.15
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.
- package/README.md +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ or
|
|
|
28
28
|
To run a Blogger migration, the required command is:
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
|
-
migrate blogger --apiKey abcd --
|
|
31
|
+
migrate blogger --apiKey abcd --blogID 1234
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
It's possible to pass more options, in order to achieve a better migration file for Ghost:
|
|
@@ -36,7 +36,7 @@ It's possible to pass more options, in order to achieve a better migration file
|
|
|
36
36
|
- **`--apiKey`** (required)
|
|
37
37
|
- string - default: `null`
|
|
38
38
|
- API Key
|
|
39
|
-
- **`--
|
|
39
|
+
- **`--blogID`** (required)
|
|
40
40
|
- array - default: `null`
|
|
41
41
|
- Comma separated list of site IDs
|
|
42
42
|
- **`-V` `--verbose`**
|
|
@@ -68,7 +68,7 @@ It's possible to pass more options, in order to achieve a better migration file
|
|
|
68
68
|
A more complex migration command could look like this:
|
|
69
69
|
|
|
70
70
|
```sh
|
|
71
|
-
migrate blogger --apiKey abcd --
|
|
71
|
+
migrate blogger --apiKey abcd --blogID 1234, 5678 --addTag 'Blog Posts' --pages false
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
This will fetch posts only from 2 sites, and add a 'Blog Posts' tag to each post.
|
|
@@ -88,7 +88,7 @@ Follow the instructions for the top-level repo.
|
|
|
88
88
|
To run a local development copy, `cd` into this directory, and use `yarn dev` instead of `migrate` like so:
|
|
89
89
|
|
|
90
90
|
```sh
|
|
91
|
-
yarn dev blogger --apiKey abcd --
|
|
91
|
+
yarn dev blogger --apiKey abcd --blogID 1234
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/mg-blogger",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"repository": "https://github.com/TryGhost/migrate/tree/main/packages/mg-blogger",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"jest-extended": "4.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@tryghost/errors": "1.3.
|
|
28
|
-
"@tryghost/kg-default-cards": "10.0.
|
|
27
|
+
"@tryghost/errors": "1.3.2",
|
|
28
|
+
"@tryghost/kg-default-cards": "10.0.5",
|
|
29
29
|
"autop": "1.0.1",
|
|
30
30
|
"cheerio": "1.0.0-rc.12",
|
|
31
31
|
"node-fetch": "^3.3.1",
|
|
32
32
|
"sanitize-html": "2.13.0",
|
|
33
33
|
"simple-dom": "1.4.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "f824cede3d1123defe3e4575536dd579984f7fe2"
|
|
36
36
|
}
|