ExternalData New Method

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 104: Line 104:
! Result
! Result
| {{#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}}}}
| {{#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}}}}
|-
| colspan="2" style="background: lightgreen; text-align: center" | ✅
|}
=== Complex value from Commons that is URL encoded but is still not working ===
{| class="smwtable-clean th-nowrap" style="background: #efefef"
|-
! Value on Commons
| <pre style="word-break: break-word;">84000 Glossary Definition
The same as the Bodhisattva Vehicle, whose practitioners aim at complete buddhahood.
When the Buddhist teachings are classified according to their power to lead beings to an enlightened state, a distinction is made between the teachings of the Lesser Vehicle, which emphasizes the individual's own freedom from cyclic existence as the primary motivation and goal, and those of the Great Vehicle, which emphasizes altruism and has the liberation of all sentient beings as the principal objective. As the term “Great Vehicle” implies, the path followed by bodhisattvas is analogous to a large carriage which can transport a vast number of people to liberation, as compared to a smaller vehicle for the individual practitioner.
The “Great Vehicle” of Buddhism, called “great” because it carries all living beings to enlightenment of Buddhahood. It is distinguished from the Hinayāna, including the Śrāvākayāna (Śrāvaka Vehicle) and Pratyekabuddhayāna (Solitary Sage Vehicle), which only carries each person who rides on it to their own personal liberation.
Great Vehicle.
Literally the Sanskrit means “great way,” but in Buddhism this has developed the meaning of great vehicle, and so is translated literally into Tibetan as “great carrier.”</pre>
|-
! Encoded into
| <pre style="word-break: break-word;">84000+Glossary+Definition%0AThe+same+as+the+Bodhisattva+Vehicle%2C+whose+practitioners+aim+at+complete+buddhahood.%0A%0AWhen+the+Buddhist+teachings+are+classified+according+to+their+power+to+lead+beings+to+an+enlightened+state%2C+a+distinction+is+made+between+the+teachings+of+the+Lesser+Vehicle%2C+which+emphasizes+the+individual%27s+own+freedom+from+cyclic+existence+as+the+primary+motivation+and+goal%2C+and+those+of+the+Great+Vehicle%2C+which+emphasizes+altruism+and+has+the+liberation+of+all+sentient+beings+as+the+principal+objective.+As+the+term+%E2%80%9CGreat+Vehicle%E2%80%9D+implies%2C+the+path+followed+by+bodhisattvas+is+analogous+to+a+large+carriage+which+can+transport+a+vast+number+of+people+to+liberation%2C+as+compared+to+a+smaller+vehicle+for+the+individual+practitioner.%0A%0AThe+%E2%80%9CGreat+Vehicle%E2%80%9D+of+Buddhism%2C+called+%E2%80%9Cgreat%E2%80%9D+because+it+carries+all+living+beings+to+enlightenment+of+Buddhahood.+It+is+distinguished+from+the+Hinay%C4%81na%2C+including+the+%C5%9Ar%C4%81v%C4%81ka%C2%ADy%C4%81na+%28%C5%9Ar%C4%81vaka+Vehicle%29+and+Pratyeka%C2%ADbuddha%C2%ADy%C4%81na+%28Solitary+Sage+Vehicle%29%2C+which+only+carries+each+person+who+rides+on+it+to+their+own+personal+liberation.%0A%0AGreat+Vehicle.%0A%0ALiterally+the+Sanskrit+means+%E2%80%9Cgreat+way%2C%E2%80%9D+but+in+Buddhism+this+has+developed+the+meaning+of+great+vehicle%2C+and+so+is+translated+literally+into+Tibetan+as+%E2%80%9Cgreat+carrier.%E2%80%9D</pre>
|-
! Function
| <pre style="word-break: break-word;">{{#urldecode:{{#external_value:EncodedGlossary-DefinitionOther|source=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Mahāyāna]]}}&po=EncodedGlossary-DefinitionOther&p[format]=csv|format=CSV with header}}}}</pre>
|-
! Result
| {{#urldecode:{{#external_value:EncodedGlossary-DefinitionOther|source=https://commons.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[Mahāyāna]]}}&po=EncodedGlossary-DefinitionOther&p[format]=csv|format=CSV with header}}}}
|-
|-
| colspan="2" style="background: lightgreen; text-align: center" | ✅
| colspan="2" style="background: lightgreen; text-align: center" | ✅
|}
|}

Revision as of 13:34, 5 December 2022

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[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.
❌ 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