change name of script publication2html.py --> ask2html.py

andre
Castro0o 4 years ago
parent d31c4aa483
commit 6337a577d5

@ -43,13 +43,13 @@ Run scripts together with `./run.sh`
* Downloads all images from wiki to `images/` directory
* and stores each image's metadata to `images.json`
`python3 publication2html.py`
`python3 query2html.py`
* with ask API perform a query:
* help `python3 publication2html.py --help`
* run dry `python3 publication2html.py --dry` only printing request, not executing it
* help `python3 query2html.py --help`
* run dry `python3 query2html.py --dry` only printing request, not executing it
* build custom query with arguments `--conditions --printouts --sort --order`
* default query is: `[[File:+]][[Title::+]][[Part::+]][[Date::+]]|?Title|?Date|?Part|?Partof|sort=Date,Title,Part|order=asc,asc,asc`
* custom query `python3 publication2html.py -c '[[Date::>=1970/01/01]][[Date::<=1979/12/31]]' -p '?Title|?Date|?Part|?Partof' -s 'Date,Title,Part' -o 'asc,asc,asc'`
* custom query `python3 query2html.py -c '[[Date::>=1970/01/01]][[Date::<=1979/12/31]]' -p '?Title|?Date|?Part|?Partof' -s 'Date,Title,Part' -o 'asc,asc,asc'`
* The results, with the same Title, are stored
* into 1 single HTML

@ -1,3 +1,3 @@
#!/bin/sh
python3 download_imgs.py
python3 publication2html.py
python3 query2html.py

Loading…
Cancel
Save