Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
fea4cd0558 | |||
2d7e627c88 | |||
e1a49cfabf | |||
f24a31d29f |
6 changed files with 9 additions and 9 deletions
12
config.jsonc
12
config.jsonc
|
@ -1205,22 +1205,22 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
the system (from).
|
the system (from).
|
||||||
*/
|
*/
|
||||||
"site": {
|
"site": {
|
||||||
"description": "CineMuseSpace: A Cinematic Musée Imaginaire of Spatial Cultural Differences",
|
"description": "CineUrban: ...",
|
||||||
"email": {
|
"email": {
|
||||||
// E-mail address in contact form (to)
|
// E-mail address in contact form (to)
|
||||||
"contact": "js2034@cam.ac.uk",
|
"contact": "js2034@cam.ac.uk",
|
||||||
"footer": "-- \npandora.cinemusespace.com",
|
"footer": "-- \ncineurban.cinemusespace.com",
|
||||||
"prefix": "CineMuseSpace News -",
|
"prefix": "CineUrban News -",
|
||||||
// E-mail address uses by the system (from)
|
// E-mail address uses by the system (from)
|
||||||
"system": "system@pandora.cinemusespace.com"
|
"system": "system@urban.cinemusespace.com"
|
||||||
},
|
},
|
||||||
"https": false,
|
"https": false,
|
||||||
"id": "cms",
|
"id": "cms",
|
||||||
"name": "CineMuseSpace",
|
"name": "CineUrban",
|
||||||
// Set to true to allow search engines to index the site
|
// Set to true to allow search engines to index the site
|
||||||
"public": false,
|
"public": false,
|
||||||
"sendReferrer": true,
|
"sendReferrer": true,
|
||||||
"url": "pandora.cinemusespace.com"
|
"url": "cineurban.cinemusespace.com"
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
"sitePages" defines the sections of the main site dialog. If "news" is
|
"sitePages" defines the sections of the main site dialog. If "news" is
|
||||||
|
|
|
@ -31,7 +31,7 @@ for string in sorted(strings):
|
||||||
parents[parent] = grandparent
|
parents[parent] = grandparent
|
||||||
|
|
||||||
# sign in
|
# sign in
|
||||||
site = 'pandora.cinemusespace.com'
|
site = 'cineurban.cinemusespace.com'
|
||||||
api = ox.api.signin('https://%s/api/' % site)
|
api = ox.api.signin('https://%s/api/' % site)
|
||||||
|
|
||||||
# find keywords, add strings, count items for children and parents
|
# find keywords, add strings, count items for children and parents
|
||||||
|
|
|
@ -78,7 +78,7 @@ if __name__ == '__main__':
|
||||||
#print(json.dumps(tree, indent=4, sort_keys=True))
|
#print(json.dumps(tree, indent=4, sort_keys=True))
|
||||||
sized_ontology = {
|
sized_ontology = {
|
||||||
"size": len(tree),
|
"size": len(tree),
|
||||||
"name": "CineMuseSpace",
|
"name": "CineUrban",
|
||||||
"children": []
|
"children": []
|
||||||
}
|
}
|
||||||
for name in tree:
|
for name in tree:
|
||||||
|
|
|
@ -5,7 +5,7 @@ import json
|
||||||
import ox
|
import ox
|
||||||
import ox.api
|
import ox.api
|
||||||
|
|
||||||
site = 'pandora.cinemusespace.com'
|
site = 'cineurban.cinemusespace.com'
|
||||||
api = ox.api.signin('https://%s/api/' % site)
|
api = ox.api.signin('https://%s/api/' % site)
|
||||||
|
|
||||||
keywords = collections.Counter()
|
keywords = collections.Counter()
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 54 KiB |
Binary file not shown.
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 33 KiB |
Loading…
Reference in a new issue