Skip to content

Commit

Permalink
rm some songs
Browse files Browse the repository at this point in the history
  • Loading branch information
Khemarato Bhikkhu committed Jan 20, 2024
1 parent b44051c commit a1919a0
Show file tree
Hide file tree
Showing 16 changed files with 37 additions and 223 deletions.
18 changes: 18 additions & 0 deletions _content/articles/translating-buddhist-texts_pasadika.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Translating from Canonical and Post-canonical Buddhist Texts: Problems and Perspectives"
authors:
- "Bhikkhu Pasadika"
external_url: "https://digitalcommons.linfield.edu/cgi/viewcontent.cgi?article=1035&context=iijbs"
drive_links:
- "https://drive.google.com/file/d/1JS1cIFUnBYXAE8BRoL3t-z9SIO5_LJw4/view?usp=drivesdk"
tags:
- translation
- pali-language
year: 2023
journal: iijbs
volume: 22
number: 7
pages: "163--185"
---

A few introductory reflections on translating Buddhist texts.
18 changes: 0 additions & 18 deletions _content/av/caribou-home_song-exploder.md

This file was deleted.

20 changes: 0 additions & 20 deletions _content/av/cranberries-all-over-now_song-exploder.md

This file was deleted.

22 changes: 0 additions & 22 deletions _content/av/get-your-wish_robinson-porter.md

This file was deleted.

26 changes: 0 additions & 26 deletions _content/av/girl-in-red-serotonin_song-exploder.md

This file was deleted.

21 changes: 0 additions & 21 deletions _content/av/kiwanuka-black-man-white-world_song-exploder.md

This file was deleted.

23 changes: 0 additions & 23 deletions _content/av/mann-patient-zero_song-exploder.md

This file was deleted.

21 changes: 0 additions & 21 deletions _content/av/mumford-and-sons-beloved_song-exploder.md

This file was deleted.

21 changes: 0 additions & 21 deletions _content/av/waxahatchee-fire_song-exploder.md

This file was deleted.

4 changes: 4 additions & 0 deletions _data/drive_folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
"private": "https://drive.google.com/drive/folders/198TBBIt-uTixQgxzh0BPB-U8hWWjqM0z",
"public": "https://drive.google.com/drive/folders/1LIR6PYyjfI2RXrAWkZ-IwckrsOx1DHLf"
},
"australia": {
"private": "https://drive.google.com/drive/folders/1eSvdYmighEnvB_1KBK7yPnWODhrdc6pU",
"public": null
},
"avadana": {
"private": "https://drive.google.com/drive/folders/1al_pgWvSbWWUWgpf_ULJUI0yL6xR89Zr",
"public": "https://drive.google.com/drive/folders/12JDRn48Vn0hRMSXnL2d_4s_EBxpQtZQa"
Expand Down
2 changes: 1 addition & 1 deletion _tags/communication.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ illustration_caption: >-
On the table is a large outline of the province along with note paper and various writing implements.
A woman at the table indicates that she is thoughtfully listening to the woman speaking
by making eye contact and placing her left hand near her lips.
Humans use a large variety of "media" (from cell phones to body language) to coordinate their activities and share their knowledge with each other.
Humans use a large variety of "media" (from cell phones to body language) to share their knowledge and feelings with each other.
image: https://illeakyw.sirv.com/Images/banners/railway_crossing_Kamakura_Japan.jpg
image_width: 2560
image_height: 1707
Expand Down
9 changes: 9 additions & 0 deletions scripts/change-doc-link.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/python3

from refresh_link_docs import *

doc = input("Doc Link: ")
doc = gdrive.link_to_id(doc)
link = gdrive.input_with_prefill("New URL: ", "")
name = gdrive.session().files().update(fileId=doc,body={'properties':{'url':link}},fields="name").execute()['name']
regen_link_doc(doc, title=name, link=link)
6 changes: 0 additions & 6 deletions scripts/gdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import json
import re
from functools import cache
from scrape_utils import extract_simplified_html_for_url
from archivedotorg import archive_urls
try:
import joblib
Expand Down Expand Up @@ -417,11 +416,6 @@ def make_link_doc_html(title, link):
vid = yt_url_to_id_re.search(link)
if vid:
ret += make_ytvideo_summary_html(vid.groups()[0])
else:
contents = extract_simplified_html_for_url(link)
if contents:
ret += f"<h2>Website Contents Preview (as of {datetime.now().strftime('%Y-%m-%d')})</h2>"
ret += contents
return ret

def htmlify_ytdesc(description):
Expand Down
12 changes: 5 additions & 7 deletions scripts/refresh_link_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,15 @@ def regen_link_doc(docid, title=None, link=None):
if __name__ == '__main__':
QUERY = " and ".join([
"mimeType='application/vnd.google-apps.document'",
"modifiedTime < '2024-01-19T16:00:00'",
"trashed=false",
"'me' in writers",
"properties has { key='createdBy' and value='LibraryUtils.LinkSaver' }",
])
urls = []
for file in gdrive.all_files_matching(QUERY, FIELDS, page_size=2):
print(f"Regenerating '{file['name']}'...")
for file in gdrive.all_files_matching(QUERY, FIELDS):
print(f"Saving '{file['name']}'...")
link = file['properties']['url']
regen_link_doc(file['id'], title=file['name'], link=link)
if 'youtu' not in link:
urls.append(link)
print(f"Ensuring all {len(urls)} (non-YT) URLs are saved to Archive.org...")
archive_urls(urls)

if 'youtu' not in link and 'archive.org' not in link:
archive_urls([link])
2 changes: 0 additions & 2 deletions scripts/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ google
google-api-python-client
google_auth_oauthlib
titlecase
trafilatura

35 changes: 0 additions & 35 deletions scripts/scrape_utils.py

This file was deleted.

0 comments on commit a1919a0

Please sign in to comment.