ExternalData New Method

From Buddha-Nature

< User:JeremiP

JeremiPExternalData New Method

((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 5: Line 5:
 
|-
 
|-
 
! Value on DRL
 
! Value on DRL
| <pre>A Direct Path to the Buddha Within</pre>
+
| <pre style="word-break: break-word;">A Direct Path to the Buddha Within</pre>
 
|-
 
|-
 
! Function
 
! Function
| <pre>{{#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}}</pre>
+
| <pre style="word-break: break-word;">{{#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}}</pre>
 
|-
 
|-
 
! Result
 
! Result
Line 21: Line 21:
 
|-
 
|-
 
! Value on DRL
 
! Value on DRL
| <pre>#[['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.</pre>
+
| <pre style="word-break: break-word;">#[['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.</pre>
 
|-
 
|-
 
! Function
 
! Function
| <pre>{{#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}}</pre>
+
| <pre style="word-break: break-word;">{{#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}}</pre>
 
|-
 
|-
 
! Result
 
! Result
Line 37: Line 37:
 
|-
 
|-
 
! Value on DRL
 
! Value on DRL
| <pre>#[['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.</pre>
+
| <pre style="word-break: break-word;">#[['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.</pre>
 
|-
 
|-
 
! Encoded into
 
! Encoded into
| <pre>%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.</pre>
+
| <pre style="word-break: break-word;">%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.</pre>
 
|-
 
|-
 
! Function
 
! Function
| <pre>{{#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}}}}</pre>
+
| <pre style="word-break: break-word;">{{#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}}}}</pre>
 
|-
 
|-
 
! Result
 
! Result
Line 56: Line 56:
 
|-
 
|-
 
! Value on Commons
 
! Value on Commons
| <pre>Great Vehicle</pre>
+
| <pre style="word-break: break-word;">Great Vehicle</pre>
 
|-
 
|-
 
! Function
 
! Function
| <pre>{{#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}}</pre>
+
| <pre style="word-break: break-word;">{{#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}}</pre>
 
|-
 
|-
 
! Result
 
! Result

Revision as of 14:23, 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
  1. '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
  1. '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

Complex value from Commons[edit]