Add Channel column on README Videos table
This commit is contained in:
committed by
Robert Middleswarth
parent
2d6d260938
commit
910657ade4
@@ -38,6 +38,11 @@ for vid in $(seq 0 $(( nVideos - 1 ))); do
|
||||
# Get Video ID
|
||||
ID=$( echo "$info" | jq '.ID' | tr -d '"' )
|
||||
|
||||
# Channel Info
|
||||
ChID=$( echo "$info" | jq '.Channel' )
|
||||
ChTitle=$( jq ".channels[] | select(.ID==${ChID}) | .Title" "$appinfo" | tr -d '"' )
|
||||
ChURL=$( jq ".channels[] | select(.ID==${ChID}) | .URL" "$appinfo" | tr -d '"' )
|
||||
|
||||
# Get Video URL
|
||||
URL=$( echo "$info" | jq '.URL' | tr -d '"' )
|
||||
|
||||
@@ -52,7 +57,7 @@ for vid in $(seq 0 $(( nVideos - 1 ))); do
|
||||
unset DocMD
|
||||
fi
|
||||
|
||||
line="|$ID|[$TITLE]($URL)|$DocMD|"
|
||||
line="|$ID|[$ChTitle]($ChURL)|[$TITLE]($URL)|$DocMD|"
|
||||
if [ "$vid" == "0" ] ; then
|
||||
table=$line
|
||||
else
|
||||
|
||||
@@ -61,8 +61,8 @@ You're done! Now just click App Templates and deploy applications!
|
||||
[](https://www.youtube.com/watch?v=cO2-gQ09Jj0&list=PL846hFPMqg3jwkxcScD1xw2bKXrJVvarc)
|
||||
|
||||
|
||||
| | Episode | Additional Information |
|
||||
|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------|
|
||||
| | Channel | Episode | Additional Information |
|
||||
|:---:|:-------:|---------|------------------------|
|
||||
<<<<< YOUTUBE TABLE HERE >>>>>
|
||||
|
||||
### Aditional Documentation
|
||||
|
||||
Reference in New Issue
Block a user