Skip to content

stephenmccready/WeChat-HSK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeChat-HSK

汉语水平考试 Hànyǔ Shuǐpíng Kǎoshì (HSK) mini program

Work in progress:
HSK1 Lessons: none
HSK2 Lessons: 1 thru 15
HSK3 Lessons: 1 thru 20
HSK4 Lessons: none
HSK5 Lessons: none
HSK6 Lessons: none
(as of 2018-11-20, more being added each week)

Allows students to practice the HSK workbook listening exercises.

Demo of HTML5 implementation: https://www.stephenmccready.asia/mi/listen.php

Server Domain Resources:

MySQL database containing the HSKWBText table.
/includes/getWorkBookAnswers.php <== php script to retrieve workbook answer text from the MySQL database
/audio/~.m4a <== Workbook audio files

WeChat Project:

Pages
  - audio
    - audio.js (loads audio files from {{yourdomain}}/audio/{{HSK}}-{{Lesson}}-{{item.src}}.m4a)
    - audio.json
    - audio.wxml
    - audio.wxss
  - index
    - index.js
    - index.json
    - index.wxml
    - index.wxss
  - resources
    - pause.png
    - rewind.png
  - text
    - text.js (loads json data from {{yourdomain}}/includes/getWorkBookAnswers.php?HSK=' + {{HSK}} + "&Lesson=" + {{Lesson}})
    - text.json
    - text.wxml
    - text.wxss
  app.js
  app.json
  app.wxss
  project.config.json

* Note: Use your FTP client or control panel to create the audio directories on your domain.
If you transfer the audio directories from your local machine to your domain, the WeChat app will not be able to read the audio files from those directories.

Releases

No releases published

Packages

 
 
 

Contributors