ExternalData New Method

From Buddha-Nature

< User:JeremiP

JeremiPExternalData New Method


For bio property[edit]

{{#get_web_data:
	url=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=bio&p[format]=csv&p[sep]=,
	|format=csv with header
	|data=bio=bio
}}
{{#external_value:bio}}


Gyurme Dorje (1950 – 5 February 2020) was a Scottish Tibetologist and writer. He was born in Edinburgh, where he studied classics (Latin and Greek) at George Watson's College and developed an early interest in Buddhist philosophy. He held a PhD in Tibetan Literature (SOAS) and an MA in Sanskrit with Oriental Studies (Edinburgh). In the 1970s he spent a decade living in Tibetan communities in India and Nepal where he received extensive teachings from Kangyur Rinpoche, Dudjom Rinpoche, Chatral Rinpoche, and Dilgo Khyentse Rinpoche. In 1971 Dudjom Rinpoche encouraged him to begin translating his recently completed History of the Nyingma School (རྙིང་མའི་སྟན་པའི་ཆོས་འབྱུང་) and in 1980 his Fundamentals of the Nyingma School (བསྟན་པའི་རྣམ་གཞག) - together this was an undertaking that was to take twenty years, only reaching completion in 1991. In the 1980s Gyurme returned to the UK and in 1987 completed his 3 volume doctoral dissertation on the Guhyagarbhatantra and Longchenpa's commentary on this text at the School of Oriental and African Studies (SOAS) at the University of London.

From 1991 to 1996 Gyurme held research fellowships at London University, where he worked with Alak Zenkar Rinpoche on translating (with corrections) the content of the Great Sanskrit Tibetan Chinese Dictionary to create the three volume Encyclopaedic Tibetan-English Dictionary. From 2007 until his death he worked on many translation projects, primarily as a Tsadra Foundation grantee. He has written, edited, translated and contributed to numerous important books on Tibetan religion and culture including The Nyingma School of Tibetan Buddhism: Its Fundamentals and History (2 vols.) (Wisdom, 1991), Tibetan Medical Paintings ( 2 vols.) (Serindia, 1992), The Tibet Handbook (Footprint, 1996), the first complete translation of the Tibetan Book of the Dead, and A Handbook of Tibetan Culture (Shambhala, 1994). (Source Accessed Jul 14, 2020)


OLD method for Publications property[edit]

{{#get_web_data:
	url=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Dorje, G.]]}}&po=Publications&p[format]=csv&p[sep]=,
	|format=csv with header
	|data=Publications=Publications
}}
{{#external_value:Publications}}


  • "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.

New method for Publications property[edit]

{{#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}}
}}

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







TL;DR[edit]

Simple values come through fine with the new method[edit]

{{#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:

Authors of English Works

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

{{#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.

Multi-paragraph text values also don't come through properly, only the first paragraph is displayed[edit]

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

Result:

Gyurme Dorje (1950 – 5 February 2020) was a Scottish Tibetologist and writer. He was born in Edinburgh, where he studied classics (Latin and Greek) at George Watson's College and developed an early interest in Buddhist philosophy. He held a PhD in Tibetan Literature (SOAS) and an MA in Sanskrit with Oriental Studies (Edinburgh). In the 1970s he spent a decade living in Tibetan communities in India and Nepal where he received extensive teachings from Kangyur Rinpoche, Dudjom Rinpoche, Chatral Rinpoche, and Dilgo Khyentse Rinpoche. In 1971 Dudjom Rinpoche encouraged him to begin translating his recently completed History of the Nyingma School (རྙིང་མའི་སྟན་པའི་ཆོས་འབྱུང་) and in 1980 his Fundamentals of the Nyingma School (བསྟན་པའི་རྣམ་གཞག) - together this was an undertaking that was to take twenty years, only reaching completion in 1991. In the 1980s Gyurme returned to the UK and in 1987 completed his 3 volume doctoral dissertation on the Guhyagarbhatantra and Longchenpa's commentary on this text at the School of Oriental and African Studies (SOAS) at the University of London.

From 1991 to 1996 Gyurme held research fellowships at London University, where he worked with Alak Zenkar Rinpoche on translating (with corrections) the content of the Great Sanskrit Tibetan Chinese Dictionary to create the three volume Encyclopaedic Tibetan-English Dictionary. From 2007 until his death he worked on many translation projects, primarily as a Tsadra Foundation grantee. He has written, edited, translated and contributed to numerous important books on Tibetan religion and culture including The Nyingma School of Tibetan Buddhism: Its Fundamentals and History (2 vols.) (Wisdom, 1991), Tibetan Medical Paintings ( 2 vols.) (Serindia, 1992), The Tibet Handbook (Footprint, 1996), the first complete translation of the Tibetan Book of the Dead, and A Handbook of Tibetan Culture (Shambhala, 1994). (Source Accessed Jul 14, 2020)


For the full list of values you can fetch from our commons site, go here.



More examples[edit]

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%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[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]

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[edit]

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