Widget: DCTList: Difference between revisions
From LINKS Community Center
Cschwentker (talk | contribs) No edit summary |
Cschwentker (talk | contribs) No edit summary |
||
Line 146: | Line 146: | ||
'|?Data Sources' + | '|?Data Sources' + | ||
searchFunctions.map(func => '|?' + func + '# -').join('') + | searchFunctions.map(func => '|?' + func + '# -').join('') + | ||
postFunctions.map(func => '|?' + func +'# -').join('') + | postFunctions.map(func => '|?' + func + '# -').join('') + | ||
analysisFunctions.map(func => '|?' + func +'# -' ).join('') + | analysisFunctions.map(func => '|?' + func +'# -').join('') + | ||
metricsFunctions.map(func => '|?' + func + '# -').join('') + | metricsFunctions.map(func => '|?' + func + '# -').join('') + | ||
reportFunctions.map(func => '|?' + func +'#' | reportFunctions.map(func => '|?' + func +'# -').join(''); | ||
const dctQueryUrl = '/api.php?action=ask&format=json&query=' + encodeURIComponent(dctQuery); | const dctQueryUrl = '/api.php?action=ask&format=json&query=' + encodeURIComponent(dctQuery); | ||
const dctResponse = await fetch(dctQueryUrl).then(response => response.json()); | const dctResponse = await fetch(dctQueryUrl).then(response => response.json()); |
Revision as of 09:48, 13 June 2022
Development verstion of the DCT List.
Not ready for production!