Difference between revisions of "GenerateRoyalPages"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
@{ | @{ | ||
TripleQuery query=tripleStore.query(); | TripleQuery query=tripleStore.query(); | ||
− | TripleQuery needed=query.query(null,"needs","Properties"); | + | //TripleQuery needed=query.query(null,"needs","Properties"); |
− | Triple contextTriple=query.selectSingle(null,"isA","Context"); | + | //Triple contextTriple=query.selectSingle(null,"isA","Context"); |
− | String contextName=contextTriple.getSubject().toString(); | + | //String contextName=contextTriple.getSubject().toString(); |
− | Triple sidifTriple=query.selectSingle(contextName,"sidif", null); | + | //Triple sidifTriple=query.selectSingle(contextName,"sidif", null); |
− | String contextSidif=sidifTriple.getObject().toString( | + | //String contextSidif=sidifTriple.getObject().toString(); |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
@(wikiTask.getWiki().getIsoTimeStamp()) | @(wikiTask.getWiki().getIsoTimeStamp()) | ||
− | @( | + | @(query.size()) triples found |
@for (Triple neededTriple:needed.getTriples()) { | @for (Triple neededTriple:needed.getTriples()) { | ||
@{ | @{ | ||
String topicName=neededTriple.getSubject().toString(); | String topicName=neededTriple.getSubject().toString(); | ||
− | |||
} | } | ||
== Topic: @(topicName) == | == Topic: @(topicName) == | ||
− | |||
− | |||
− | |||
@{ | @{ | ||
Throwable error=null; | Throwable error=null; |
Revision as of 11:20, 5 October 2017
Action | |
---|---|
edit | |
name | GenerateRoyalPages |
servicetype | WikiTask |
service | |
inputtype | Page |
input | Royal92#sidif |
actionpage | GenerateRoyalPages#template |
output | Royal92/pages |
engine | rythm |
author | Wf |
since | 2017/10/06 |
comment | Create wiki pages for Royal-Family |
login reset runtemplate -> Royal92/pages