https://github.com/sappho192/wxr-generator
Basic WXR(WordPress Extended RSS) generator using CSV data (Supports default WordPress Import feature)
https://github.com/sappho192/wxr-generator
csv dotnet rss wordpress wordpress-extended-rss wxr
Last synced: 2 months ago
JSON representation
Basic WXR(WordPress Extended RSS) generator using CSV data (Supports default WordPress Import feature)
- Host: GitHub
- URL: https://github.com/sappho192/wxr-generator
- Owner: sappho192
- License: mit
- Created: 2023-08-08T02:25:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T07:45:17.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T22:14:08.821Z (4 months ago)
- Topics: csv, dotnet, rss, wordpress, wordpress-extended-rss, wxr
- Language: C#
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WXRGenerator
Basic WXR(WordPress Extended RSS) generator using CSV data
# Requirements
* .NET 6.0 Runtime [[Download](https://dotnet.microsoft.com/ko-kr/download/dotnet/6.0)]
* Download not the Runtime but the SDK if you want to change the code and compile on your own.# How to use
Usage: WXRGenerator [options...]
Options:
* -i, --input ``: [Required] Filepath of the input CSV data
* -c, --comment ``: [Required] Directory path of comments CSV data
* -m, --metadata ``: [Required] Filepath of CSV metadata
* -o, --output ``: [Required] Filepath of the output XML fileExample:
`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"`
After the program have successfully finished, you can upload the file in Import page in WordPress blog and it will work
# Required data
Please check `example/input.csv`, `example/metadata.csv`, and `example/comments` to prepare data files like them.
Filename of comment corresponds to `uniqueId` of input post data.
For example, if `uniqueId` of a post data is `2`, then corresponding comment CSV data should be prepared in `comments/2.csv`.