add video section
This commit is contained in:
27
Makefile
27
Makefile
@ -9,7 +9,7 @@ clean:
|
||||
mkdir -p idk.i2p
|
||||
|
||||
torrent:
|
||||
cp -v *.* idk.i2p; true; cp -rv images idk.i2p/images
|
||||
cp -v *.* idk.i2p; true; cp -rv images idk.i2p/images; cp -rv video idk.i2p/video
|
||||
mktorrent -a 'http://g6r5tkh4b6psuxm42kzgmddclbha4cs667wumuqbuzhesu2phy4a.b32.i2p/a' -n 'idk.i2p' -w 'http://idk.i2p' -w 'http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p' -o idk.i2p.torrent idk.i2p
|
||||
rm -rf ~/.i2p/i2psnark/idk.i2p
|
||||
|
||||
@ -37,10 +37,33 @@ info:
|
||||
@echo "</body>" >> infographics.html
|
||||
@echo "</html>" >> infographics.html
|
||||
|
||||
vid:
|
||||
@echo "<!DOCTYPE html>" > video.html
|
||||
@echo "<html>" >> video.html
|
||||
@echo "<head>" >> video.html
|
||||
@echo " <title>idk's home page</title>" >> video.html
|
||||
@echo " <link rel=\"stylesheet\" type=\"text/css\" href =\"style.css\" />" >> video.html
|
||||
@echo " <meta http-equiv=\"i2p-location\" content=\"http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p\"/>" >> video.html
|
||||
@echo " <meta http-equiv=\"i2p-torrentlocation\" content=\""`torrent2magnet idk.i2p.torrent`"\"/>" >> video.html
|
||||
@echo "</head>" >> video.html
|
||||
@echo "<body>" >> video.html
|
||||
sed "s|magnetsub|[Magnet Link]($(magnet))|g" videos.md | \
|
||||
sed 's|https://github.com/eyedeekay/various-i2p-browsers/tree/master||g' | \
|
||||
markdown | tee -a video.html
|
||||
@echo "<ul><li>" >> video.html
|
||||
./videotag.sh video/torontotalk.webm >> video.html
|
||||
@echo "</li><li>" >> video.html
|
||||
./videotag.sh video/monerotalk.mp4 >> video.html
|
||||
@echo "</li></ul>" >> video.html
|
||||
@echo " <script src=\"script.js\" type=\"text/javascript\"></script>" >> video.html
|
||||
@echo "</body>" >> video.html
|
||||
@echo "</html>" >> video.html
|
||||
|
||||
|
||||
mag:
|
||||
@echo `torrent2magnet idk.i2p.torrent`
|
||||
|
||||
index: README info
|
||||
index: README info vid
|
||||
@echo "<!DOCTYPE html>" > index.html
|
||||
@echo "<html>" >> index.html
|
||||
@echo "<head>" >> index.html
|
||||
|
BIN
idk.i2p.torrent
BIN
idk.i2p.torrent
Binary file not shown.
@ -4,7 +4,7 @@
|
||||
<title>idk's home page</title>
|
||||
<link rel="stylesheet" type="text/css" href ="style.css" />
|
||||
<meta http-equiv="i2p-location" content="http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p"/>
|
||||
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:e2bd16bf439595eb81c3b9624463e865ac657392"/>
|
||||
<meta http-equiv="i2p-torrentlocation" content=""/>
|
||||
</head>
|
||||
<body>
|
||||
<h1>idk's home page</h1>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<title>idk's home page</title>
|
||||
<link rel="stylesheet" type="text/css" href ="style.css" />
|
||||
<meta http-equiv="i2p-location" content="http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p"/>
|
||||
<meta http-equiv="i2p-torrentlocation" content="magnet:?xt=urn:btih:e2bd16bf439595eb81c3b9624463e865ac657392"/>
|
||||
<meta http-equiv="i2p-torrentlocation" content=""/>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Infographics Gallery</h1>
|
||||
|
26
video.html
Normal file
26
video.html
Normal file
@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>idk's home page</title>
|
||||
<link rel="stylesheet" type="text/css" href ="style.css" />
|
||||
<meta http-equiv="i2p-location" content="http://b2o47zwxqjbn7jj37yqkmvbmci7kqubwgxu3umqid7cexmc7xudq.b32.i2p"/>
|
||||
<meta http-equiv="i2p-torrentlocation" content=""/>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Video Gallery</h1>
|
||||
|
||||
<p>These are videos that deal with topics related to I2P. For now,
|
||||
just talks that I have personally given because I didn't want to
|
||||
download them all at once.</p>
|
||||
<ul><li>
|
||||
<video>
|
||||
<source src="/video/torontotalk.webm" type="video/webm">
|
||||
</video>
|
||||
</li><li>
|
||||
<video>
|
||||
<source src="/video/monerotalk.mp4" type="video/mp4">
|
||||
</video>
|
||||
</li></ul>
|
||||
<script src="script.js" type="text/javascript"></script>
|
||||
</body>
|
||||
</html>
|
BIN
video/monerotalk.mp4
Normal file
BIN
video/monerotalk.mp4
Normal file
Binary file not shown.
BIN
video/torontotalk.webm
Normal file
BIN
video/torontotalk.webm
Normal file
Binary file not shown.
7
videos.md
Normal file
7
videos.md
Normal file
@ -0,0 +1,7 @@
|
||||
Video Gallery
|
||||
=============
|
||||
|
||||
These are videos that deal with topics related to I2P. For now,
|
||||
just talks that I have personally given because I didn't want to
|
||||
download them all at once.
|
||||
|
14
videotag.sh
Executable file
14
videotag.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
|
||||
if echo $1 | grep -q mp4; then
|
||||
echo " <video>"
|
||||
echo " <source src=\"/$1\" type=\"video/mp4\">"
|
||||
echo " </video>"
|
||||
fi
|
||||
|
||||
if echo $1 | grep -q webm; then
|
||||
echo " <video>"
|
||||
echo " <source src=\"/$1\" type=\"video/webm\">"
|
||||
echo " </video>"
|
||||
fi
|
Reference in New Issue
Block a user