Skip to content

Commit bb28599

Browse files
committed
README styles
1 parent e658d11 commit bb28599

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

README.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ Before, ensure that you have:
2020
* Archiver that can extract `.7z` files. Possible candidate is [7z](https://www.7-zip.org/).
2121

2222

23-
Download database dump
24-
======================
23+
### Download database dump
2524

2625
Choose and download the [database dump](https://archive.org/download/stackexchange) that you are going to convert.
2726

@@ -36,21 +35,20 @@ Choose and download the [database dump](https://archive.org/download/stackexchan
3635
* [stackoverflow.com-Users.7z](https://archive.org/download/stackexchange/stackoverflow.com-Users.7z) ( ~ **650M** compressed / **4.0G** uncompressed / **13M** rows)
3736
* [stackoverflow.com-Votes.7z](https://archive.org/download/stackexchange/stackoverflow.com-Votes.7z) ( ~ **1.0G** compressed / **20G** uncompressed / **200M** rows)
3837

39-
Extract
40-
=======
38+
### Extract
4139

4240
Extract archive(s) content file(s) to the directory from where you will convert files using `7z` or another archiver.
4341

44-
Example with with [academia.stackexchange.com.7z](https://archive.org/download/stackexchange/academia.stackexchange.com.7z) dump:
42+
Example with [academia.stackexchange.com.7z](https://archive.org/download/stackexchange/academia.stackexchange.com.7z) dump:
4543
```shell
4644
$ mkdir xml csv
4745
$ 7z e academia.stackexchange.com.7z -oxml
4846
$ ls xml/
4947
Badges.xml Comments.xml PostHistory.xml PostLinks.xml Posts.xml Tags.xml Users.xml Votes.xml
5048
```
5149

52-
Building of stackexchange-xml-to-csv
53-
====================================
50+
### Building of stackexchange-xml-to-csv
51+
5452

5553
Clone & build `stackexchange-xml-to-csv` converter:
5654

@@ -60,14 +58,14 @@ $ cd stackexchange-xml-to-csv/
6058
$ go build
6159
```
6260

63-
XML to CSV converting
64-
=====================
61+
### XML to CSV converting
62+
6563

6664
Now you have `stackexchange-xml-to-csv` executable file. Let’s convert XML files:
6765
```
6866
./stackexchange-xml-to-csv -—source-path=../xml --store-to-dir=../csv
6967
```
70-
### List of possible flags:
68+
#### List of possible flags:
7169

7270
* `source-path` (**Required**) Absolute or relative path to the directory with an XML file(s) or to the separate XML file.
7371
* `store-to-dir` (**Optional**) Absolute or relative path to the directory where to store result CSV files.
@@ -78,7 +76,7 @@ RDBMS schema examples
7876
=====================
7977
Here you can find examples of the schema for the different databases:
8078

81-
* [PostgreSQL](./example/postgresql_ddl.sql)
79+
* [PostgreSQL](./schema_example/postgresql_ddl.sql)
8280

8381
License
8482
=======
File renamed without changes.

0 commit comments

Comments
 (0)