Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.54 KB

README.md

File metadata and controls

56 lines (31 loc) · 1.54 KB

Wang huning - Political Life

Texts & Translation of Wanghuning's '94 journals. (https://iamswain25.github.io/political-life/)

Text Reference Link

PDF

https://github.com/iamswain25/political-life/raw/master/rawtexts/political-life.pdf

Website

http://www.chinareform.net/index.php?m=search&c=index&a=init&typeid=1&siteid=1&q=政治的人生

github page deploy command

npm run deploy

Related Article

Korean

English

Development Journal

Translation

Use google api, need to have your own setup on google console and have credential json downloaded. export GOOGLE_APPLICATION_CREDENTIALS="[PATH]" Paste your own projectId in ./rawtexts/[to-your-language].js and run node on it.

** make sure have relevant folder generated, and it overwrites in defaults.

2018.6.24

Found the full text website on Feburary, copied one by one (until 0045.md). When reached March, searched on the site, found the texts with the whole year, thought to myself there is a possibility of automating the (md) file making process. Pausing here.

2018.9.18

Added Russian, French, Spanish

2019.6.17

Refactoring code from Gatsby.js framework to React Hooks with Router. Pro: Access to github document directly without building the files. Con: No direct access with deep link. Only access on the root.