"python is nice" "2001" "Asher,Lutz" "areview" "python, forest" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"python is cool" "2003" "-cc-" "areview" "python, ocean" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"scala is great" "2003" "Odersky" "areviewB" "scala, crop" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"php is expressive" "2005" "Nixon" "areview" "php, mysql" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"php is expressive2" "2010" "-bb-" "areviewB" "php, web" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"javascript rules the web" "2005" "someguy,anotherguy" "areviewC" "javascript, web" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"a cool article" "2008" "-dd-" "areview" "coolness, ecosystem" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"another cool article" "2001" "-aa-" "areview" "coastal, coolness" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"a js primer" "2004" "mandelbrot" "areviewC" "coolness, ecosystem, grain yield" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
"a scala js primer" "2004" "somebody" "areviewC" "keyword, ecosystem, growth response" "hic in Palatio prima urbi fundamenta ieci. arcem iam scelere emptam Sabini habent"
@@ -58,18 +58,47 @@ TWConf.relatedDocsType = "LocalDB" (CSV or CortextDB)
...
@@ -58,18 +58,47 @@ TWConf.relatedDocsType = "LocalDB" (CSV or CortextDB)
Finally, to match the correct DB with the correct graph file:
Finally, to match the correct DB with the correct graph file:
- both should reside in `data/yoursubdir`
- both should reside in `data/yoursubdir`
- the appropriate source database information needs to appear in `db.json` in order to associate the graph source file (eg gexf) with this related docs API:
- the appropriate source database information needs to appear in `db.json` in order to associate the graph source file (eg gexf) with this related docs API:
```json
```json
"data/yoursubdir": {
"data/yoursubdir": {
"dbname":"your.sqlite.db",
"title":"yourDocumentTitlesTable",
"date":"yourDocumentPubDatesTable",
"abstract":"yourDocumentContentsTable",
"graphs": {
"graphs": {
"your.graph.gexf": {
"your.graph.gexf": {
"semantic":{"table":"yourTableWithTerms"},
"node0": {
"social":{"table":"yourTableWithSocialNodes"}
"name": "terms",
"reldbtype": "CortextDB",
"reldbfile": "yourDB.db",
"reldbqtable": "yourTableWithTerms"
},
"node1": {
"name": "people",
"reldbtype": "CortextDB",
"reldbfile": "yourDB.db",
"reldbqtable": "yourTableWithSocialNodes"
},
}
}
},
"data/anothersubdir": {
"graphs": {
"another.graph.gexf": {
"node0": {
"name": "terms",
"reldbtype": "csv",
"reldbfile": "aCsvByDocs.csv",
"reldbqcols": ["title", "text", "keywords"]
},
"node1": {
"name": "people",
"reldbtype": "csv",
"reldbfile": "aCsvByDocs.csv",
"reldbqcols": ["authors", "editors"]
},
}
}
}
}
}
}
```
```
£TODO update after new specifications implemented
See more exemples and explanations in [servermenu_config.md](https://github.com/moma/ProjectExplorer/blob/master/00.DOCUMENTATION/A-Introduction/servermenu_config.md).