ExternalData New Method
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 2: | Line 2: | ||
=== Simple value from DRL === | === Simple value from DRL === | ||
− | {| class="smwtable-clean" style="background: # | + | {| class="smwtable-clean" style="background: #efefef" |
|- | |- | ||
! Value on DRL | ! Value on DRL |
Revision as of 13:19, 5 December 2022
Simple value from DRL[edit]
Value on DRL | A Direct Path to the Buddha Within |
---|---|
Function | {{#external_value:BuNayTitle|source=https://research.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[A Direct Path to the Buddha Within]]}}&po=BuNayTitle&p[format]=csv|format=CSV with header}} |
Result | A Direct Path to the Buddha Within |
✅ |
Complex value from DRL[edit]
Value on DRL:
#[['gos lo tsA ba gzhon nu dpal]]. [[Theg pa chen po rgyud bla ma'i bstan bcos kyi 'grel bshad de kho na nyid rab tu gsal ba'i me long]]. In ''[['Gos Lo tsā ba gZhon nu dpal's Commentary on the Ratnagotravibhāgavyākhyā]]''. Nepal Research Centre Publications, 24. Edited by Klaus-Dieter Mathes. Stuttgart: Franz Steiner Verlag, 2003.
Function:
{{#external_value:Citationofsourcetexts|source=https://research.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[A Direct Path to the Buddha Within]]}}&po=Citationofsourcetexts&p[format]=csv|format=CSV with header}}
Result:
- 'gos lo tsA ba gzhon nu dpal. Theg pa chen po rgyud bla ma'i bstan bcos kyi 'grel bshad de kho na nyid rab tu gsal ba'i me long. In 'Gos Lo tsā ba gZhon nu dpal's Commentary on the Ratnagotravibhāgavyākhyā. Nepal Research Centre Publications, 24. Edited by Klaus-Dieter Mathes. Stuttgart: Franz Steiner Verlag, 2003.
❌
Complex value from DRL that is URL encoded[edit]
Value on DRL:
#[['gos lo tsA ba gzhon nu dpal]]. [[Theg pa chen po rgyud bla ma'i bstan bcos kyi 'grel bshad de kho na nyid rab tu gsal ba'i me long]]. In ''[['Gos Lo tsā ba gZhon nu dpal's Commentary on the Ratnagotravibhāgavyākhyā]]''. Nepal Research Centre Publications, 24. Edited by Klaus-Dieter Mathes. Stuttgart: Franz Steiner Verlag, 2003.
Encoded into:
%23%5B%5B%27gos+lo+tsA+ba+gzhon+nu+dpal%5D%5D.+%5B%5BTheg+pa+chen+po+rgyud+bla+ma%27i+bstan+bcos+kyi+%27grel+bshad+de+kho+na+nyid+rab+tu+gsal+ba%27i+me+long%5D%5D.+In+%27%27%5B%5B%27Gos+Lo+ts%C4%81+ba+gZhon+nu+dpal%27s+Commentary+on+the+Ratnagotravibh%C4%81gavy%C4%81khy%C4%81%5D%5D%27%27.+Nepal+Research+Centre+Publications%2C+24.+Edited+by+Klaus-Dieter+Mathes.+Stuttgart%3A+Franz+Steiner+Verlag%2C+2003.
Function:
{{#urldecode:{{#external_value:Encodedcitationofsourcetexts|source=https://research.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[A Direct Path to the Buddha Within]]}}&po=Encodedcitationofsourcetexts&p[format]=csv|format=CSV with header}}}}
Result:
- 'gos lo tsA ba gzhon nu dpal. Theg pa chen po rgyud bla ma'i bstan bcos kyi 'grel bshad de kho na nyid rab tu gsal ba'i me long. In 'Gos Lo tsā ba gZhon nu dpal's Commentary on the Ratnagotravibhāgavyākhyā. Nepal Research Centre Publications, 24. Edited by Klaus-Dieter Mathes. Stuttgart: Franz Steiner Verlag, 2003.
✅
Simple value from Commons[edit]
Value on Commons:
Great Vehicle
Function:
{{#external_value:Glossary-English|source=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Mahāyāna]]}}&po=Glossary-English&p[format]=csv&p[sep]=;&p[valuesep]=;|format=CSV with header}}
Result:
Great Vehicle
✅