Skip to content

Commit 1a662c5

Browse files
committed
New content similarity algorithm
1 parent fdc4d32 commit 1a662c5

45 files changed

Lines changed: 237 additions & 182 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 34 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2-
title: Welcome to the Open Buddhist University
2+
title: Behind the Scenes
33
---
44

5-
# Epigraphs
6-
75
> On the third day of the year 47 BC, the most renowned library of antiquity burned to the ground.
86
>
97
> Throughout the history of humanity, only one refuge kept books safe from war and conflagration: the walking library, an idea that occurred to the grand vizier of Persia, Abdul Kassem Ismael, at the end of the tenth century.
@@ -19,40 +17,44 @@ title: Welcome to the Open Buddhist University
1917
>
2018
> ~ [Vasubandhu](https://www.lotsawahouse.org/tibetan-masters/khenpo-shenga/life-of-vasubandhu)
2119
22-
# Introduction
20+
# History
2321

24-
This GitHub Page is my personal library of Buddhist media.
22+
This GitHub Page started life as [my personal library of Buddhist stuff on Google Drive](https://drive.google.com/open?id=1RJi6bEXa25zizGdsm5evCycYuY6a2D8r).
2523

26-
As a resource, a library has two audiences (and thus two priorities):
24+
Now, a personal library, especially when shared, has two audiences (and thus two priorities):
2725

28-
1. First, a library is there to organize one's media for their safe-keeping, retrieval and study.
29-
2. Second, a library is there for others (hello, friend!) to peruse and, at best, benefit from
26+
1. First, a library is there to organize one's own media for their safe-keeping, retrieval and study.
27+
2. Second, a library is there for others (hi!) to peruse and, hopefully, benefit from
3028

3129
These two practical aims find unity in the pride that any book-worm feels towards their library:
3230

33-
**A library is a reflection of its creator**---who they are and what they'd like to be.
31+
**The library is a reflection of its creator**---who they are and what they'd like to be.
3432

3533
Given that I'm a Buddhist monk, naturally my personal library represents a course of study in Buddhism.
3634

3735
In translating this proud, ancient tradition to the digital age, different constraints and possibilities emerged. Reflecting on the structure of the internet, I opted to express myself in a giant [mind map](https://photos.app.goo.gl/Z8nvMf3Cbup6WA418).
3836

3937
As a map of my mind, this library contains (editorially and structurally) my own biases. This is a feature not a bug. I named my camels with a great deal of thought, care, and delight and I hope that, as you explore my library, you will feel some of that delight too. 😊 🐪
4038

41-
# Using the Site
39+
# Studying
4240

4341
There are two primary ways to study here: taking [the courses](https://buddhist-uni.github.io/courses/) or hanging out at [the library](https://buddhist-uni.github.io/library/).
4442

45-
The library contains all the best content I've found on the internet, [organized primarily by topic](https://buddhist-uni.github.io/tags/).
43+
The library contains all the best content I've found on the internet, [organized primarily by topic](https://buddhist-uni.github.io/tags/). After reading a work, I contemplate what I learned and who I'd recommend it to. Only then do I file away the piece into topics, based on my answers to those questions.
44+
45+
Once a given topic has accumulated sufficient material, I then take some time to organize it into an undergraduate-style syllabus: identifying the themes and connections across different works and putting them into dialogue with each-other. Of course, as I review the material again to create the classes, I inevitably learn a lot---as anyone who tries to teach finds out. As I go through, some works may be added to the topic that were originally categorized elsewhere, some works might be moved out of the topic, and some may even be rejected entirely. (These last pieces of `_content` get `status: "rejected"` in their [frontmatter](https://jekyllrb.com/docs/front-matter/))
4646

47-
The courses provide contextualized and sequential walk-throughs of the same content, organized into progressive undergraduate-style syllabi. These lesson plans may be studied as-is or reworked for use by your study group or class. There are already teachers around the world using these syllabi as a starting point for their courses, and I couldn't be prouder!
47+
Once published, these lesson plans may be studied online as-is or reworked for in-person use by a study group or class. There are already students and teachers around the world using the courses in a variety of ways and I couldn't be prouder!
4848

49-
# Structure of the Source Code
49+
While some Buddhist countries (like Thailand) have official curricula for teaching Buddhism to e.g. new monks, no such comprehensive curriculum yet existed in the English language. It was towards filling this gap that I decided to dedicate my studies and this website.
5050

51-
You can think of each of the `_folders` in the main folder as individual database tables. Each represents a different kind of object in the (hardcoded) "database."
51+
# The Source Code
52+
53+
You can think of each of the folders in [the main folder](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master) as representing individual object types. Each is a different "table" in the hardcoded "database."
5254

5355
- [_authors](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_authors) - Each author with their own page.
5456
- [_content](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_content) - All of the individual works in the library, divided by `category` based on the type. Each content item has a number of [metadata fields](https://jekyllrb.com/docs/front-matter/) listing its bibliographic information (e.g. `pages`) in Bibtex format, or linking the entry out to its file (e.g. `external_url`) or linking it to its internal groups (e.g. `authors`). Conventionally, I put raw strings in `"Quotes"` and I represent links to other objects as `unquoted-slugs`. The templates then use these slugs to fetch the related objects at page render time.
55-
- [content](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/content) - This (un-underscored) folder merely houses `index.html` pages for `/content/*` and doesn't represent any actual content.
57+
- [_categories](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_categories) - This folder houses the `index.html` pages for the `/content/*` folders and contains a little metadata about the categories, such as their plain English titles.
5658
- [_courses](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_courses) - The University's courses.
5759
- [_data](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_data) - Site configuration [variables](https://jekyllrb.com/docs/datafiles/).
5860
- [_drafts](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_drafts) - Unpublished courses or blog posts.
@@ -64,31 +66,33 @@ You can think of each of the `_folders` in the main folder as individual databas
6466
- [_sass](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_sass) contains [the site's css](https://jekyllrb.com/docs/assets/).
6567
- [_series](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_series) - Are collections of `_content` items that were published as part of a `number`ed `series` (specified by fields on the content item)
6668
- [_tags](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_tags) - The bibliographic topics, arranged in a directed, ontological graph via the `parents` field.
69+
- [_tests](https://github.com/buddhist-uni/buddhist-uni.github.io/tree/master/_tests) - A couple of pages with Integration Tests I have used during development in the past, and decided to keep around in case the code is useful in the future.
6770

68-
For more information, see [the Jekyll docs](https://jekyllrb.com/docs/).
69-
70-
# Disclaimers
71+
To run the site locally, clone the repo, then run "[`bundle`](https://bundler.io/) `install`" and "`bundle run` [`jekyll`](https://jekyllrb.com/) `serve`" keeping in mind that the site will take up to 30 mins to build. Once the site is built, it will start serving at `localhost:4000`
7172

72-
- This repository, like all other things, is subject to change.
73-
- While I have taken some pains to ensure that everything here is trustworthy and legal, please know that you use the University facilities at your own risk.
74-
- The views expressed in each work are the opinions of the author(s) and may not reflect my own.
73+
For more information on the build process, see [the Jekyll docs](https://jekyllrb.com/docs/). For questions about the source code, feel free to message me.
7574

7675
# Contributions
7776

78-
If you have any feedback or would like to volunteer, please feel free to email me at any time with your thoughts and we can take it from there. I'm especially looking for design help at the moment, so if you're a web designer interested in volunteering, please contact me!
77+
The beauty of Jekyll is that it outputs plain HTML, which can be reworked in a variety of ways. The code here is released under an MIT Licence, so feel free to reuse it in any (ethical) way you like. If you would like to contribute anything back, please feel free to email me or simply fork the repository and open a pull request!
7978

80-
# Acknowledgements
79+
# Future Directions
8180

82-
A big thank you to [our sources](https://buddhist-uni.github.io/sources/), to Google (for hosting [the Drive library](https://drive.google.com/drive/folders/1RJi6bEXa25zizGdsm5evCycYuY6a2D8r)), to GitHub for hosting the site, and to all the various content creators and publishers who generously put their work out for free. It's a testament to Buddhist generosity that such an expansive and outstanding collection can be compiled (almost entirely) from free material.
81+
Over the next few years, I would like to expand the University's offerings further and further: into various regional forms of Buddhism, subtler points of Buddhist philosophy, the grand arcs of Buddhist history, and much, much more. I'd also like to continue to improve the site's design and marketing, so it can be as accessible as possible to as many people as possible.
8382

84-
# Dedication
83+
I have also tried to select content with "staying power" to avoid, as much as possible, anything that will become outdated in a few years. This site is technically a "blog," but it is **not** another newsfeed of digital ephemera. It is an experiment in a slower technology. It is my hope that this curriculum will provide a solid basis for Buddhist Studies for the next 50--100 years.
8584

86-
To all my teachers---past, present and future. Especially you.
85+
# Disclaimers
86+
87+
- This repository, like all other things in life, is subject to change.
88+
- While I have taken some pains to ensure that everything here is trustworthy and legal, please know that you use the University at your own risk.
89+
- The views expressed in each work are the opinions of the author(s) and may not reflect my own.
8790

88-
***
91+
# Acknowledgements
92+
93+
A big thank you to [the content sources](https://buddhist-uni.github.io/sources/), to Google (for hosting [the Drive library](https://drive.google.com/drive/folders/1RJi6bEXa25zizGdsm5evCycYuY6a2D8r)), to GitHub for hosting the site, and to all the various content creators and publishers who generously put their work out there for free. It's a testament to Buddhist generosity that such an expansive and outstanding collection can be compiled (almost entirely) from free material.
8994

90-
To start exploring, [pick a topic](https://buddhist-uni.github.io/tags/) that interests you.
95+
# Dedication
9196

92-
To run the site locally, clone the repo, then run "[`bundle`](https://bundler.io/) ` install`" and "`bundle run ` [`jekyll`](https://jekyllrb.com/) ` serve`"
97+
To all my teachers---past, present and future. Especially you.
9398

94-
Be aware that it takes about ten minutes to build the site.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ similars:
66
- essays
77
---
88

9-
Short to medium length pieces of writing originally published in a periodical (journal, newspaper, magazine, etc). For papers published in non-periodic collections, see [papers]({% link content/papers.md %}).
9+
Short to medium length pieces of writing originally published in a periodical (journal, newspaper, magazine, etc). For papers published in non-periodic collections, see [papers]({% link _categories/papers.md %}).
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ similars:
66
- monographs
77
---
88

9-
Self published books, typically shorter (and free) compared to commercially published [monographs]({% link content/monographs.md %}).
9+
Self published books, typically shorter (and free) compared to commercially published [monographs]({% link _categories/monographs.md %}).
File renamed without changes.

‎_categories/essays.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Essays"
3+
permalink: "/content/essays/"
4+
similars:
5+
- articles
6+
- papers
7+
- excerpts
8+
- booklets
9+
---
10+
11+
Essays are short pieces of writing that were self-published independently. For essays published in periodicals, see [articles]({% link _categories/articles.md %}). For essays published in edited collections by various authors, see [papers]({% link _categories/papers.md %}). For essays published in books by the same author, see [excerpts]({% link _categories/excerpts.md %}). For essays published as booklets, see [booklets]({% link _categories/booklets.md %}).
12+

‎_categories/excerpts.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "Excerpts"
3+
permalink: "/content/excerpts/"
4+
similars:
5+
- papers
6+
- essays
7+
---
8+
9+
Extracted portions of a [monograph]({% link _categories/monographs.md %}), excerpts are typically a chapter.
10+
File renamed without changes.

‎_categories/monographs.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: "Monographs"
3+
permalink: "/content/monographs/"
4+
similars:
5+
- booklets
6+
---
7+
8+
Usually copyrighted/commercial works, monographs are distinct from [booklets]({% link _categories/booklets.md %}) in that they were not self-published. They tend to be more academic and longer, though this is certainly not always the case.
9+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ similars:
66
- articles
77
---
88

9-
Papers are short-to-medium length pieces of writing originally published in an edited collection, often after being presented at a conference. For self-published papers, see [essays]({% link content/essays.md %}) and for papers published in journals, see [articles]({% link content/articles.md %}).
9+
Papers are short-to-medium length pieces of writing originally published in an edited collection, often after being presented at a conference. For self-published papers, see [essays]({% link _categories/essays.md %}) and for papers published in journals, see [articles]({% link _categories/articles.md %}).
1010

0 commit comments

Comments
 (0)