Skip to content

Commit 1b402c5

Browse files
author
Pietro Rea
committed
Cleaning up README
1 parent 94abb17 commit 1b402c5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

adventurett/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
## Description
33

4-
Every year I help my father set put up his list of trips on his business's website, http://www.adventurett.com. The website runs an ancient e-commerce system (Yahoo Small Business) so there's a lot of manual work involved so I wrote a couple of tiny scripts to help me do this.
4+
Every year I help my father set up his list of trips on his business's website, http://www.adventurett.com. The website runs an ancient e-commerce system (Yahoo Small Business). There's a lot of manual work involved so I wrote a couple of tiny scripts to help me do this year after year.
55

66
### calendar.ts
7-
Takes in two CSV files and generates raw HTML to populate https://adventurett.com/calendario.html. The first one lists tours and their properties. The second one lists specific excursion dates. See input folder for examples.
7+
Takes in two CSV files and generates raw HTML to populate http://adventurett.com/calendario.html. The first one lists tours and their properties. The second one lists specific excursion dates. See input folder for examples.
88

99
### optionLists.ts
10-
Takes in two CSV files and generates a list of RTML options that create the "Dates" dropdown for each individual tour page. For an example of the dropdown, see http://adventurett.com/atlantic-city.html.
10+
Takes in two CSV files and generates a list of RTML options for the "Dates" dropdown in each individual tour page. For an example of the dropdown see http://adventurett.com/atlantic-city.html.
1111

1212
## Setup
1313
Install `typescript` and `ts-node` globally to run each solution file.
@@ -31,14 +31,14 @@ To generate the calendar HTML, go into `calendar.ts` and change the locale (`en`
3131
ts-node ./src/calendar.ts > build/2020/es_calendar.html
3232
```
3333

34-
To generate the list of options, go into `optionLists.ts` and change the locale (`en` or `es`) as well as the name of the CSV files that hold that year's tours and excursion list.
34+
To generate the list of RTML options, go into `optionLists.ts` and change the locale (`en` or `es`) as well as the name of the CSV files that hold that year's tours and excursion list.
3535

3636
```
3737
ts-node ./src/optionLists.ts > build/2020/es_optionLists.txt
3838
```
3939

4040
## Future work
4141

42-
- Pull out duplicated CSV parsing logging into a shared module
43-
- Supply locale and file names from command line args instead of changing source
42+
- Pull out duplicated CSV parsing logic into a shared module.
43+
- Supply locale and file names from command line args instead of having to change the script.
4444
- Set up VS Code launch.json to run with configurations instead of the command line.

0 commit comments

Comments
 (0)