ExternalData New Method

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 7: Line 7:


<pre>{{#external_value:PersonTypeRaw|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=PersonTypeRaw&p%5Bformat%5D=csv|format=csv}}</pre>
<pre>{{#external_value:PersonTypeRaw|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=PersonTypeRaw&p%5Bformat%5D=csv|format=csv}}</pre>
'''Result:'''


{{#external_value:PersonTypeRaw|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=PersonTypeRaw&p%5Bformat%5D=csv|format=csv}}
{{#external_value:PersonTypeRaw|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=PersonTypeRaw&p%5Bformat%5D=csv|format=csv}}
Line 13: Line 15:


<pre>{{#external_value:publications|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=publications&p%5Bformat%5D=csv|format=csv}}</pre>
<pre>{{#external_value:publications|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=publications&p%5Bformat%5D=csv|format=csv}}</pre>
'''Result:'''


{{#external_value:publications|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=publications&p%5Bformat%5D=csv|format=csv}}
{{#external_value:publications|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=publications&p%5Bformat%5D=csv|format=csv}}

Revision as of 13:20, 9 December 2022


TL;DR

Simple values come through fine with the new method

{{#external_value:PersonTypeRaw|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=PersonTypeRaw&p%5Bformat%5D=csv|format=csv}}

Result:

Error while fetching data from URL https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q=%5B%5BDorje%2C+G.%5D%5D&po=PersonTypeRaw&p%5Bformat%5D=csv: $2.
Error fetching URL: SSL certificate problem: self-signed certificate
There was a problem during the HTTP request: 0 Error

More complex values however do not, the function doesn't seem to fire at all

{{#external_value:publications|source=https://commons-new.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=publications&p%5Bformat%5D=csv|format=csv}}

Result:

  • "The Guhyagarbhatantra and its XIVth Century Commentary Phyogs-bcu mun-sel." PhD Thesis, SOAS, University of London (3 vols), 1987. See [1]
  • Dudjom Rinpoche's The Nyingma School of Tibetan Buddhism: Its Fundamentals and History. Wisdom Publications, Boston. 1st edition (2 vols), 1991; 2nd edition (1 vol), 2002; ISBN 0861711998. See Wisdom Books
  • Tibetan Medical Paintings. Serindia Publications, London (2 Vols); ISBN 0-906026-26-1. 1992. See Serindia
  • Tibet Handbook. Footprint Handbooks, Bath. 1st edition, 1996; 2nd edition 1999; 3rd edition 2004; ISBN 1900949334 See Footprintbooks
  • Bhutan Handbook. Footprint Handbooks, Bath. 1st edition, 2004. See Footprintbooks
  • Tibetan Elemental Divination Paintings, Eskenazi & Fogg, London. 2001. See Whiteberyl
  • Tibetan Elemental Divination Paintings: Illuminated Manuscript from the White Beryl of Sangs-Rgyas Rgya-Mtsho. Holberton, Paul Publishing, 2008. ISBN 9780953994106 ISBN 0953994104
  • An Encyclopaedic Tibetan-English Dictionary, (Nationalities Publishing House/ SOAS, Beijing. Vol. 1, 2001). Enquiries: tedic@hotmail.com
  • "A Rare Series of Tibetan Banners." In Pearls of the Orient, Serindia, 2003. See Serindia
  • The Tibetan Book of the Dead: First Complete English Translation, Penguin Classics, 2005.
  • Jokhang: Tibet's Most Sacred Buddhist Temple, Thames & Hudson, 2010
  • The Guhyagarbha Tantra: Dispelling the Darkness of the Ten Directions. (Snowlion)
  • An Encyclopaedic Tibetan-English Dictionary. (Nationalities Publishing House/ SOAS, Beijing. Vols. 2-3.




Simple value from DRL

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

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%5Bformat%5D=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.
❌ Does not display anything.

Complex value from DRL that is URL encoded

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

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

Value on Commons
Enlightenment has the sense of complete actualization of one's true nature or total understanding of reality and freedom from suffering that comes from achieving that realization.

Enlightenment (Skt., ''bodhi''; Tib., ''byang chub'') is a state that can potentially be attained by any being with a mind. The very nature of the mind as a clear and radiant entity, and of the defilements as adventitious entities that are not essential to our nature, is what allows for the possibility of mental purification, and hence of enlightenment. The clearest doctrinal formulation of this idea is to be found in the concept of buddha-nature (''tathagatagarbha''; ''de bzhin gshegs pa'i snying po''). Whether buddha-nature is the primordial presence of an enlightened state in the minds of beings, something that merely needs to be uncovered, or only a potential that permits the attainment of that state is of course a disputed point in the tradition. Here, it is only important to note that the vast majority of Mahāyāna schools maintain that all beings, regardless of birth, race, social status, and gender, are capable of the attainment of the state of human perfection known as enlightenment.
Source: page 192, “Liberation: An Indo-Tibetan Perspective” by José Ignacio Cabezón. Buddhist-Christian Studies, Vol. 12 (1992), pp. 191-198 Published by: University of Hawai'i Press Stable URL: https://www.jstor.org/stable/1389971
Function
{{#external_value:Glossary-Senses|source=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Bodhi]]}}&po=Glossary-Senses&p[format]=csv|format=CSV with header}}
Result Enlightenment has the sense of complete actualization of one's true nature or total understanding of reality and freedom from suffering that comes from achieving that realization.

Enlightenment (Skt., bodhi; Tib., byang chub) is a state that can potentially be attained by any being with a mind. The very nature of the mind as a clear and radiant entity, and of the defilements as adventitious entities that are not essential to our nature, is what allows for the possibility of mental purification, and hence of enlightenment. The clearest doctrinal formulation of this idea is to be found in the concept of buddha-nature (tathagatagarbha; de bzhin gshegs pa'i snying po). Whether buddha-nature is the primordial presence of an enlightened state in the minds of beings, something that merely needs to be uncovered, or only a potential that permits the attainment of that state is of course a disputed point in the tradition. Here, it is only important to note that the vast majority of Mahāyāna schools maintain that all beings, regardless of birth, race, social status, and gender, are capable of the attainment of the state of human perfection known as enlightenment. Source: page 192, “Liberation: An Indo-Tibetan Perspective” by José Ignacio Cabezón. Buddhist-Christian Studies, Vol. 12 (1992), pp. 191-198 Published by: University of Hawai'i Press Stable URL: https://www.jstor.org/stable/1389971

❌ Truncates everything after 1st paragraph.

Complex value from Commons that is URL encoded

Value on Commons
Enlightenment has the sense of complete actualization of one's true nature or total understanding of reality and freedom from suffering that comes from achieving that realization.

Enlightenment (Skt., ''bodhi''; Tib., ''byang chub'') is a state that can potentially be attained by any being with a mind. The very nature of the mind as a clear and radiant entity, and of the defilements as adventitious entities that are not essential to our nature, is what allows for the possibility of mental purification, and hence of enlightenment. The clearest doctrinal formulation of this idea is to be found in the concept of buddha-nature (''tathagatagarbha''; ''de bzhin gshegs pa'i snying po''). Whether buddha-nature is the primordial presence of an enlightened state in the minds of beings, something that merely needs to be uncovered, or only a potential that permits the attainment of that state is of course a disputed point in the tradition. Here, it is only important to note that the vast majority of Mahāyāna schools maintain that all beings, regardless of birth, race, social status, and gender, are capable of the attainment of the state of human perfection known as enlightenment.
Source: page 192, “Liberation: An Indo-Tibetan Perspective” by José Ignacio Cabezón. Buddhist-Christian Studies, Vol. 12 (1992), pp. 191-198 Published by: University of Hawai'i Press Stable URL: https://www.jstor.org/stable/1389971
Encoded into
Enlightenment+has+the+sense+of+complete+actualization+of+one%27s+true+nature+or+total+understanding+of+reality+and+freedom+from+suffering+that+comes+from+achieving+that+realization.+%0A%0AEnlightenment+%28Skt.%2C+%27%27bodhi%27%27%3B+Tib.%2C+%27%27byang+chub%27%27%29+is+a+state+that+can+potentially+be+attained+by+any+being+with+a+mind.+The+very+nature+of+the+mind+as+a+clear+and+radiant+entity%2C+and+of+the+defilements+as+adventitious+entities+that+are+not+essential+to+our+nature%2C+is+what+allows+for+the+possibility+of+mental+purification%2C+and+hence+of+enlightenment.+The+clearest+doctrinal+formulation+of+this+idea+is+to+be+found+in+the+concept+of+buddha-nature+%28%27%27tathagatagarbha%27%27%3B+%27%27de+bzhin+gshegs+pa%27i+snying+po%27%27%29.+Whether+buddha-nature+is+the+primordial+presence+of+an+enlightened+state+in+the+minds+of+beings%2C+something+that+merely+needs+to+be+uncovered%2C+or+only+a+potential+that+permits+the+attainment+of+that+state+is+of+course+a+disputed+point+in+the+tradition.+Here%2C+it+is+only+important+to+note+that+the+vast+majority+of+Mah%C4%81y%C4%81na+schools+maintain+that+all+beings%2C+regardless+of+birth%2C+race%2C+social+status%2C+and+gender%2C+are+capable+of+the+attainment+of+the+state+of+human+perfection+known+as+enlightenment.%0ASource%3A+page+192%2C+%E2%80%9CLiberation%3A+An+Indo-Tibetan+Perspective%E2%80%9D+by+Jos%C3%A9+Ignacio+Cabez%C3%B3n.+Buddhist-Christian+Studies%2C+Vol.+12+%281992%29%2C+pp.+191-198+Published+by%3A+University+of+Hawai%27i+Press+Stable+URL%3A+https%3A%2F%2Fwww.jstor.org%2Fstable%2F1389971
Function
{{#urldecode:{{#external_value:EncodedGlossary-Senses|source=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Bodhi]]}}&po=EncodedGlossary-Senses&p[format]=csv|format=CSV with header}}}}
Result Enlightenment has the sense of complete actualization of one's true nature or total understanding of reality and freedom from suffering that comes from achieving that realization.

Enlightenment (Skt., bodhi; Tib., byang chub) is a state that can potentially be attained by any being with a mind. The very nature of the mind as a clear and radiant entity, and of the defilements as adventitious entities that are not essential to our nature, is what allows for the possibility of mental purification, and hence of enlightenment. The clearest doctrinal formulation of this idea is to be found in the concept of buddha-nature (tathagatagarbha; de bzhin gshegs pa'i snying po). Whether buddha-nature is the primordial presence of an enlightened state in the minds of beings, something that merely needs to be uncovered, or only a potential that permits the attainment of that state is of course a disputed point in the tradition. Here, it is only important to note that the vast majority of Mahāyāna schools maintain that all beings, regardless of birth, race, social status, and gender, are capable of the attainment of the state of human perfection known as enlightenment. Source: page 192, “Liberation: An Indo-Tibetan Perspective” by José Ignacio Cabezón. Buddhist-Christian Studies, Vol. 12 (1992), pp. 191-198 Published by: University of Hawai'i Press Stable URL: https://www.jstor.org/stable/1389971