File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,20 @@ Usage: WXRGenerator [options...]
14
14
Options:
15
15
16
16
* -i, --input ` <String> ` : [ Required] Filepath of the input CSV data
17
+ * -c, --comment ` <String> ` : [ Required] Directory path of comments CSV data
17
18
* -m, --metadata ` <String> ` : [ Required] Filepath of CSV metadata
18
19
* -o, --output ` <String> ` : [ Required] Filepath of the output XML file
19
20
20
21
Example:
21
22
22
- ` dotnet WXRGenerator.dll -i "D:\temp\wp\input.csv" -m "D:temp\wp\metadata.csv" -o "D:\temp\wp\output.xml" `
23
+ ` dotnet WXRGenerator.dll -i "D:\temp\wp\input.csv" -c "D:\temp\wp\comments" - m "D:temp\wp\metadata.csv" -o "D:\temp\wp\output.xml" `
23
24
24
25
After the program have successfully finished, you can upload the file in Import page in WordPress blog and it will work
25
26
26
27
# Required data
27
28
28
- Please check ` example/input.csv ` and ` example/metadata.csv ` and prepare data files like them.
29
+ Please check ` example/input.csv ` , ` example/metadata.csv ` , and ` example/comments ` to prepare data files like them.
30
+
31
+ Filename of comment corresponds to ` uniqueId ` of input post data.
32
+
33
+ For example, if ` uniqueId ` of a post data is ` 2 ` , then corresponding comment CSV data should be prepared in ` comments/2.csv ` .
You can’t perform that action at this time.
0 commit comments