Skip to content

Commit b6deb33

Browse files
committed
Update README.md on Comment data
1 parent 0a9aac8 commit b6deb33

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,20 @@ Usage: WXRGenerator [options...]
1414
Options:
1515

1616
* -i, --input `<String>`: [Required] Filepath of the input CSV data
17+
* -c, --comment `<String>`: [Required] Directory path of comments CSV data
1718
* -m, --metadata `<String>`: [Required] Filepath of CSV metadata
1819
* -o, --output `<String>`: [Required] Filepath of the output XML file
1920

2021
Example:
2122

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"`
2324

2425
After the program have successfully finished, you can upload the file in Import page in WordPress blog and it will work
2526

2627
# Required data
2728

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`.

0 commit comments

Comments
 (0)