https://github.com/intermine/intermine-sitemaps
generates a sitemap for your (jsp-based) intermine
https://github.com/intermine/intermine-sitemaps
Last synced: 9 months ago
JSON representation
generates a sitemap for your (jsp-based) intermine
- Host: GitHub
- URL: https://github.com/intermine/intermine-sitemaps
- Owner: intermine
- License: mit
- Created: 2019-10-01T15:55:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-26T16:00:03.000Z (about 6 years ago)
- Last Synced: 2025-07-18T09:17:38.814Z (11 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# intermine-sitemaps
generates a sitemap for your (jsp-based) intermine.
## Running the script
### Dependencies
- Python 3+
- the [InterMine python client](https://github.com/intermine/intermine-ws-python#downloading)
### generating a sitemap
To run this script, run python sitemap.py "intermine-url" "organism name" "update-frequency".
Organism name and frequency are optional, URL is required. Don't add `/service` to the end!
#### examples
```bash
# python sitemap.py "https://test.intermine.org/covidmine"
# python sitemap.py "https://test.intermine.org/covidmine" "Homo sapiens"
# python sitemap.py "https://test.intermine.org/covidmine" "Homo sapiens" "monthly"
# python sitemap.py "https://test.intermine.org/covidmine" "" "daily"
```