Commit 3cc8aec4 authored by Ken Fallon's avatar Ken Fallon

2019-10-06_20-30-10_CEST

parent 1af467bf
@startuml
title Show Upload
participant "Host" as Host
participant "Browser" as Browser
participant "e-mail" as email
participant "HPR" as HPR
autonumber
activate HPR
Host->HPR: http://hackerpublicradio.org/request.php?id={episode_number}
HPR->Host: email Confirm Request with {key}
Host->HPR: http://hackerpublicradio.org/upload.php?key={key}
deactivate HPR
@enduml
......@@ -61,9 +61,14 @@ print $out_handle "${total}\n";
close $out_handle;
exit;
# https://github.com/rory/apache-log-parser
# import apache_log_parser
# line_parser = apache_log_parser.make_parser("%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"")
# log_line_data = line_parser('62.251.25.147 - - [17/Apr/2019:05:00:24 -0700] "GET /local/hpr2845.ogg HTTP/1.1" 206 145440 "http://hackerpublicradio.org/eps.php?id=2845" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0"')
# from pprint import pprint
# pprint(log_line_data)
# https://tech.marksblogg.com/detect-bots-apache-nginx-logs.html
......
......@@ -13,8 +13,9 @@ usage: $0 [options] {media file to encode} {episode number}
OPTIONS:
-h Show this message
-p add a promo
-i add the intro
-s Do not add the summary
-s Do not automatically generate the summary
-o add the outro
-b add the intro and outro ( and summary default)
-2 encode to 2 channels
......@@ -26,7 +27,7 @@ EOF
TEMP_DIR="/var/tmp/"
CHANNELS="1"
FIXAUDIO="1"
ADDSUMMARY="y"
ADDSUMMARY="n"
ADDINTRO="n"
ADDPROMO="n"
ADDOUTRO="n"
......@@ -49,7 +50,7 @@ do
exit 1
;;
s)
ADDSUMMARY="n"
ADDSUMMARY="y"
;;
i)
ADDINTRO="y"
......@@ -135,17 +136,27 @@ if [ $(ffprobe "${mediafile}" 2>&1 | grep "Audio:" | wc -l ) -eq 0 ]; then
exit
fi
if [[ -s hpr${ep_num}.wav ]] || [[ -s hpr${ep_num}.mp3 ]] || [[ -s hpr${ep_num}.ogg ]] || [[ -s hpr${ep_num}.spx ]] || [[ -s hpr${ep_num}_summary.wav ]]
# extract file name and extension
media_dir=$(dirname ${mediafile})
fname=${mediafile%.*}
ext=${mediafile/*./}
if [ "$ADDSUMMARY" = 'n' ]; then
if [ ! -e "${media_dir}/summary.wav" ]
then
echo "ERROR: Can not find the summary file \"${media_dir}/summary.wav\""
wget -O- --timeout=10 --tries=1 --quiet http://hackerpublicradio.org/say.php?id=${ep_num} | grep HPR_summary
exit 1
fi
fi
if [[ -e hpr${ep_num}.wav ]] || [[ -e hpr${ep_num}.mp3 ]] || [[ -e hpr${ep_num}.ogg ]] || [[ -e hpr${ep_num}.spx ]] || [[ -e hpr${ep_num}_summary.wav ]] || [[ -e ${fname}_mez_norm.wav ]] || [[ -e ${fname}_mez.wav ]] || [[ -e ${fname}_sox_norm.wav ]] || [[ -e ${fname}_sox.wav ]] || [[ -e ${fname}_tmp_hh.pcm ]] || [[ -e ${fname}_tmp_ia.pcm ]] || [[ -e ${fname}_tmp.log ]]
then
echo "Files for this episode already exist."
ls -al hpr${ep_num}*
ls -al hpr${ep_num}* ${fname}_* 2>/dev/null
exit 1
fi
# extract file name and extension
fname=${mediafile%.*}
ext=${mediafile/*./}
echo "--------------------------------------------------------------------------------"
echo "Geting metadata for hpr${ep_num}"
......@@ -246,14 +257,22 @@ echo "--------------------------------------------------------------------------
echo "Add HPR Branding"
if [ "$ADDSUMMARY" = 'y' ]; then
echo "Adding the summary"
# echo "$HPR_summary" - | maryspeak --stdin -vcmu-rms-hsmm -whpr${ep_num}_summary.wav
echo "Creating the summary"
echo "$HPR_summary" - | espeak -w hpr${ep_num}_summary.wav
ffmpeg -i hpr${ep_num}_summary.wav -ar 44100 -ac $CHANNELS -acodec pcm_s16le -f s16le - >> ${fname}_tmp_hh.pcm 2>> ${fname}_tmp.log
ffmpeg -i hpr${ep_num}_summary.wav -ar 44100 -ac $CHANNELS -acodec pcm_s16le -f s16le - >> ${fname}_tmp_ia.pcm 2>> ${fname}_tmp.log
rm hpr${ep_num}_summary.wav
else
echo "Copying the supplied summary"
if [ ! -e "${media_dir}/summary.wav" ]
then
echo "ERROR: Can not find the summary file \"${media_dir}/summary.wav\""
exit 1
fi
cp -v "${media_dir}/summary.wav" hpr${ep_num}_summary.wav
fi
ffmpeg -i hpr${ep_num}_summary.wav -ar 44100 -ac $CHANNELS -acodec pcm_s16le -f s16le - >> ${fname}_tmp_hh.pcm 2>> ${fname}_tmp.log
ffmpeg -i hpr${ep_num}_summary.wav -ar 44100 -ac $CHANNELS -acodec pcm_s16le -f s16le - >> ${fname}_tmp_ia.pcm 2>> ${fname}_tmp.log
rm hpr${ep_num}_summary.wav
ffmpeg -i "$anhonesthost" -ar 44100 -ac $CHANNELS -acodec pcm_s16le -f s16le - >> ${fname}_tmp_hh.pcm 2>> ${fname}_tmp.log
ffmpeg -i "$internetarchive" -ar 44100 -ac $CHANNELS -acodec pcm_s16le -f s16le - >> ${fname}_tmp_ia.pcm 2>> ${fname}_tmp.log
......@@ -348,6 +367,13 @@ rm ${fname}_sox.wav ${fname}_tmp*.pcm ${fname}_tmp.log ${fname}_mez.wav
rsync -ave ssh --partial --progress --ignore-existing hpr${ep_num}.mp3 hpr${ep_num}.ogg hpr${ep_num}.spx hpr:www/eps/
firefox http://hackerpublicradio.org/local/hpr${ep_num}.mp3
firefox http://hackerpublicradio.org/local/hpr${ep_num}.ogg
firefox file:///var/IA/uploads/hpr${ep_num}.mp3
firefox file:///var/IA/uploads/hpr${ep_num}.ogg
mediainfo --Output=XML --Full hpr${ep_num}* /var/IA/uploads/hpr${ep_num}* | xmlstarlet sel -T -t -m '/_:MediaInfo/_:media/_:track[@type="Audio"]' -v '_:Duration' -n | awk -F '.' '{print $1}' | sort | uniq -c
read -p "Remove files for \"${fname}\" (y|N) ? " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
......
......@@ -12,19 +12,15 @@ include '/home/hpr/www/header.php';
</header>
<p>We are always looking for more hosts...</p>
<ul>
<li>email: admin -at- hackerpublicradio org</li>
<li>email: <strong>admin -at- hackerpublicradio org</strong><br />
<em>As an anti-spam measure you will get an error back but we do get your email.</em></li>
<li>Website: <a href="http://www.<?php print "${HTTP_HOST}";?>" target="_blank">www.<?php print "${HTTP_HOST}";?></a></li>
<li>Mailist: <a href="http://<?php print "${HTTP_HOST}";?>/maillist" target="_blank">Maillist</a></li>
<li><a href="http://webchat.freenode.net/?channels=oggcastplanet" target="_blank">#oggcastplanet</a></li>
<li><a href="https://plus.google.com/u/0/s/hacker%20public%20radio" target="_blank">Google+</a></li>
<li><a href="https://www.facebook.com/home.php?sk=group_130169220378872¬if_t=group_r2j" target="_blank">Facebook</a></li>
<li><a href="http://www.linkedin.com/groups/Hacker-Public-Radio-3737302" target="_blank">Linked-In</a></li>
<li><a href="http://itunes.apple.com/us/podcast/hacker-public-radio/id281699640" target="_blank">iTunes</a></li>
<li>USA: +1-470-222-4257(HCKR)</li>
<li>UK: +44-203-432-5879</li>
</ul>
Please include your name and email address. Don't forget to end by pressing the # sign.
<br />
<h2>Mail List</h2>
<p>
HPR is governed by the community, so decisions about how <?php print "${HPR_Name}";?> Public Radio should be run are made on the mailing list you can join it by going to :<br />
......
......@@ -7,6 +7,8 @@ include '/home/hpr/www/header.php';
<main id="maincontent">
<h1>Help Out.</h1>
<h2>Submit a show</h2>
<p>One of the best ways to help out is to <a href="contribute.php">contribute</a> a show. You can find out <a href="stuff_you_need_to_know.php">everything you need to know here</a>. </p>
<h2>Report Missing Tags</h2>
<p>We now supply summaries and tags for all our shows which allows the shows to be indexed and linked to each other. This was not always the case so you can help us out by sending us in information on the older shows.<br />
For more information see: <a href="http://<?php print "${HTTP_HOST}";?>/report_missing_tags.php">here</a>
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="182.00002"
height="182.0002"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.45.1"
sodipodi:docbase="/home/matt/docs"
sodipodi:docname="hacker_public_radio_logo.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.0">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
gridtolerance="10000"
guidetolerance="10"
objecttolerance="10"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.074987"
inkscape:cx="99.504574"
inkscape:cy="125.52316"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
showguides="false"
inkscape:window-width="1626"
inkscape:window-height="1021"
inkscape:window-x="46"
inkscape:window-y="0"
showborder="false"
inkscape:showpageshadow="false" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Hacker Public Radio Logo</dc:title>
<dc:date>2008-01-26</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>thewtex</dc:title>
</cc:Agent>
</dc:creator>
<dc:publisher>
<cc:Agent>
<dc:title>Hacker Public Radio</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>http://hackerpublicradio.org</dc:identifier>
<dc:source>http://hackerpublicradio.org</dc:source>
<dc:rights>
<cc:Agent>
<dc:title>Hacker Public Radio</dc:title>
</cc:Agent>
</dc:rights>
<dc:relation>http://hackerpublicradio.org</dc:relation>
<dc:language>en</dc:language>
<dc:subject>
<rdf:Bag>
<rdf:li>hacker</rdf:li>
<rdf:li>hacking</rdf:li>
<rdf:li>radio</rdf:li>
<rdf:li>podcast</rdf:li>
<rdf:li>netcast</rdf:li>
</rdf:Bag>
</dc:subject>
<cc:license
rdf:resource="http://web.resource.org/cc/PublicDomain" />
</cc:Work>
<cc:License
rdf:about="http://web.resource.org/cc/PublicDomain">
<cc:permits
rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits
rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:permits
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-16,-854.36197)">
<rect
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.0330894;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4214"
width="179.96692"
height="179.9669"
x="17.016546"
y="855.37872" />
<path
id="path9083"
d="M 137.00018,855.36215 C 137.00018,858.6054 137.00018,868.33512 137.00018,865.09188 C 137.00018,910.4972 137.00018,955.90251 137.00018,1001.3078 C 137.00018,1011.0376 137.00018,1020.7674 137.00018,1030.4971 C 137.00018,1032.119 137.00018,1033.7403 137.00018,1035.3618"
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.00035191;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path9091"
d="M 17.000173,975.36201 L 196.99947,975.36201"
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.00034547px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:type="arc"
style="fill:#000000;fill-opacity:1;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="path10072"
sodipodi:cx="168.7812"
sodipodi:cy="894.63794"
sodipodi:rx="16.585436"
sodipodi:ry="16.585436"
d="M 185.36664 894.63794 A 16.585436 16.585436 0 1 1 152.19577,894.63794 A 16.585436 16.585436 0 1 1 185.36664 894.63794 z"
transform="matrix(1.6045584,0,0,1.6045584,-163.819,-550.13694)" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.00035191;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 77.000176,855.36215 C 77.000176,858.6054 77.000176,868.33512 77.000176,865.09188 C 77.000176,910.4972 77.000176,955.90251 77.000176,1001.3078 C 77.000176,1011.0376 77.000176,1020.7674 77.000176,1030.4971 C 77.000176,1032.119 77.000176,1033.7403 77.000176,1035.3618"
id="path11043" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.00034547px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 17.000173,915.36201 L 196.99947,915.36201"
id="path11045" />
<path
transform="matrix(1.6045584,0,0,1.6045584,-103.819,-490.13694)"
d="M 185.36664 894.63794 A 16.585436 16.585436 0 1 1 152.19577,894.63794 A 16.585436 16.585436 0 1 1 185.36664 894.63794 z"
sodipodi:ry="16.585436"
sodipodi:rx="16.585436"
sodipodi:cy="894.63794"
sodipodi:cx="168.7812"
id="path11047"
style="fill:#000000;fill-opacity:1;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
sodipodi:type="arc" />
<path
sodipodi:type="arc"
style="fill:#3366cc;fill-opacity:1;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="path11049"
sodipodi:cx="168.7812"
sodipodi:cy="894.63794"
sodipodi:rx="16.585436"
sodipodi:ry="16.585436"
d="M 185.36664 894.63794 A 16.585436 16.585436 0 1 1 152.19577,894.63794 A 16.585436 16.585436 0 1 1 185.36664 894.63794 z"
transform="matrix(1.6045584,0,0,1.6045584,-103.819,-430.13694)" />
<path
sodipodi:type="arc"
style="fill:#000000;fill-opacity:1;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="path12020"
sodipodi:cx="168.7812"
sodipodi:cy="894.63794"
sodipodi:rx="16.585436"
sodipodi:ry="16.585436"
d="M 185.36664 894.63794 A 16.585436 16.585436 0 1 1 152.19577,894.63794 A 16.585436 16.585436 0 1 1 185.36664 894.63794 z"
transform="matrix(1.6045584,0,0,1.6045584,-163.819,-430.13694)" />
<path
transform="matrix(1.6045584,0,0,1.6045584,-223.819,-430.13694)"
d="M 185.36664 894.63794 A 16.585436 16.585436 0 1 1 152.19577,894.63794 A 16.585436 16.585436 0 1 1 185.36664 894.63794 z"
sodipodi:ry="16.585436"
sodipodi:rx="16.585436"
sodipodi:cy="894.63794"
sodipodi:cx="168.7812"
id="path12022"
style="fill:#f73110;fill-opacity:1;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
sodipodi:type="arc" />
<text
xml:space="preserve"
style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Courier"
x="225.69202"
y="932.0365"
id="text12993"><tspan
sodipodi:role="line"
id="tspan12995"
x="225.69202"
y="932.0365" /></text>
<flowRoot
xml:space="preserve"
id="flowRoot13033"><flowRegion
id="flowRegion13035"><rect
id="rect13037"
width="51.382332"
height="40.325375"
x="-65.691338"
y="895.93878" /></flowRegion><flowPara
id="flowPara13039" /></flowRoot> <text
xml:space="preserve"
style="font-size:44px;font-weight:bold;fill:#ffffff;fill-opacity:1"
x="28.587938"
y="1021.4002"
id="text13041"><tspan
sodipodi:role="line"
id="tspan13043"
x="28.587938"
y="1021.4002">H</tspan></text>
<text
xml:space="preserve"
style="font-size:44px;font-style:normal;font-weight:bold;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans Mono"
x="95.519531"
y="1021.4002"
id="text14983"><tspan
sodipodi:role="line"
id="tspan14985"
x="95.519531"
y="1021.4002">P</tspan></text>
<text
id="text15956"
y="1021.4002"
x="153.51958"
style="font-size:44px;font-style:normal;font-weight:bold;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans Mono"
xml:space="preserve"><tspan
y="1021.4002"
x="153.51958"
id="tspan15958"
sodipodi:role="line">R</tspan></text>
</g>
</svg>
......@@ -71,7 +71,7 @@ include '/home/hpr/www/header.php';
<h2 id="phone_interviews">Recording Interviews with the Phone</h2>
<p>
If you want to record a one-to-one interview with someone then you can use <a href="skype.com">Skype</a> in conjunction with <a href="http://atdot.ch/scr/">Skype Call Recorder</a>. If everyone is using skype then it won't cost you anything otherwise you will need to pay for SkypeOut service. Although the quality is usually terrible, you could also put your phone on hands free and record with a <a href="portable_media_player">portable media player</a>.
If you want to record a one-to-one interview with someone then you can use <a href="skype.com">Skype</a> in conjunction with <a href="http://atdot.ch/scr/">Skype Call Recorder</a>. If everyone is using skype then it won't cost you anything otherwise you will need to pay for SkypeOut service. Although the quality is usually terrible, you could also put your phone on hands free and record with a <a href="http://wiki.xiph.org/PortablePlayers">portable media player</a>.
</p>
<h2 id="round_table">Recording round table discussions</h2>
......
......@@ -6,7 +6,7 @@ include '/home/hpr/www/header.php';
?>
<main id="maincontent">
<h1 id="requesting_slot">Requesting a slot for your show</h1>
<h1 id="requesting_slot">Picking a slot for your show</h1>
<p>
Any host can select any free slot a up to year in advance, by recording their show and uploading it to the desired slot. In exceptional circumstances it may be necessary to reserve a slot while not having the audio available, but this must be approved by the <a href="http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org">HPR mailing list</a> in advance. Be sure to allow as much time as possible, and include a reason why you feel it is necessary to reserve the slot.
</p>
......@@ -27,7 +27,7 @@ include '/home/hpr/www/header.php';
<p>
The unique link sent by email will allow you to manage both the episode and information about yourself that is displayed on HPR. The following information will be requested:
</p>
<h2>Personal Information</h2>
<h2 id="personal_information">Personal Information</h2>
<p>
Remember <em>All information will be displayed publicly</em>. The only exception is that your email address will be sent in the feed with some anti-spam additions.<br />
For example <em>hpr@example.com</em> will become <em>hpr.nospam@nospam.example.com</em>
......@@ -44,7 +44,7 @@ include '/home/hpr/www/header.php';
<li id="Profile"><strong>Profile:</strong> <em>Optional</em><br />
Enter some text about yourself with links to your blog or other online presence.</li>
</ul>
<h2>Episode Information</h2>
<h2 id="episode_information">Episode Information</h2>
<ul>
<li id="Title"><strong>Title:</strong> <em>Mandatory</em><br />
This will be a short descriptive title and will be used everywhere to identify your show. Any valid UTF-8 character is acceptable, but keep the length short and clear.</li>
......
<?php
require "/home/hpr/php/include.php";
# released under a Creative Commons Attribution-ShareAlike 3.0 Unported license. http://creativecommons.org/licenses/by-sa/3.0/
$body="about";
require "/home/hpr/php/hpr.php";
include '/home/hpr/www/header.php';
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
<title><?php print "${HPR_Name}";?> Public Radio ~ The Technology Community Podcast Network</title>
<meta charset="utf-8" />
<meta name="keywords" content="Technology, Tech News, Education, Training" />
<meta name="description" content="<?php print "${HPR_Name}";?> Public Radio is an podcast that releases shows every weekday Monday through Friday. Our shows are produced by the community (you) and can be on any topic that are of interest to hackers and hobbyists." />
<link rel="shortcut icon" href="hpr.ico" >
<link rel="alternate" type="application/rss+xml" title="<?php print "${HPR_Name}";?> Public Radio Ogg Vorbis RSS" href="http://<?php print "${HTTP_HOST}";?>/hpr_ogg_rss.php" />
<link rel="alternate" type="application/rss+xml" title="<?php print "${HPR_Name}";?> Public Radio Speex RSS" href="http://<?php print "${HTTP_HOST}";?>/hpr_spx_rss.php" />
<link rel="alternate" type="application/rss+xml" title="<?php print "${HPR_Name}";?> Public Radio MP3 RSS" href="http://<?php print "${HTTP_HOST}";?>/hpr_mp3_rss.php" />
<link rel="alternate" type="application/rss+xml" title="<?php print "${HPR_Name}";?> Public Radio Comments RSS" href="http://<?php print "${HTTP_HOST}";?>/comments_rss.php" />
<link rel="license" title="cc by 3.0" href="http://creativecommons.org/licenses/by-sa/3.0/" />
</head>
<body>
<h1><?php print "${HPR_Name}";?> <a href="comments_viewer.php">P</a>ublic <a href="http://<?php print "${HTTP_HOST}";?>/syndication.php">R</a>adio</h1>
<h2>Your ideas, projects, opinions - podcasted.</h2>
<h3>New episodes Monday through Friday.</h3>
<hr />
<p>
If our site is not accessable we'll fix it.<br />
If you notice a problem with the main site we will fix it. No discussions. No excuses.<br />
<br />
Ken.
<main id="maincontent">
<h1>Sitemap</h1>
<ul>
<li><a href="calendar.php"><strong>⇧Upload⇧</strong></a> ← Upload Your Show</li>
<li><a href="index.php"><strong>Home</strong></a> ← The HPR Homepage</li>
<li><a href="syndication.php">Get Shows</a> ← The RSS Syndication Feeds</li>
<ul>
<li><a href="index_full.php">Full Episode Guide</a> ← Complete list of all the Shows.</li>
<li><a href="series.php">In-Depth Series</a> ← Overview of the In-Depth Series.</li>
<li><a href="download.php">Download Options</a> ← How to download the entire archive.</li>
</ul>
<li><a href="contribute.php">Give Shows</a> ← Upload your podcast show here.</li>
<ul>
<li><a href="stuff_you_need_to_know.php">Info</a> ← Stuff you need to know before uploading a show.</li>
<li><a href="theme.php">Theme</a> ← Information about HPR Theme Music.</li>
<li><a href="requested_topics.php">Topics</a> ← Requested topics.</li>
<li><a href="recording.php">Recording</a> ← How to record a podcast.</li>
<li><a href="request_a_slot.php">Scheduling</a> ← Picking a slot for your show.</li>
</ul>
<li><a href="help_out.php">Contribute</a> ← How you can help HPR.</li>
<ul>
<li><a href="contribute.php">Submit Show</a> ← Upload your podcast show here.</li>
<li><a href="report_missing_tags.php">Fix Tags</a> ← Report missing information.</li>
<li><a href="requested_topics.php">Topics</a> ← Requested topics.</li>
</ul>
<li><a href="about.php">About</a> ← Information about the History and Governance of HPR.</li>
<ul>
<li><a href="correspondents.php">Hosts</a> ← A list of all our Hosts.</li>
<li><a href="contact.php">Contact</a> ← How to get in touch with us.</li>
<li><a href="promote.php">Promote HPR</a> ← Ways you can spread the word.</li>
<li><a href="comments_viewer.php">Show Comments</a> ← Read the latest comments left on shows.</li>
</ul>
<li><a href="search.php">Search</a> ← Search HPR</li>
</ul>
</main>
</p>
<hr />
<ul>
<li><a href="/index.php">Home</a></li>
<li>Get Shows
<ul>
<li><a href="/syndication.php">RSS Feeds</a></li>
<li><a href="http://itunes.apple.com/us/podcast/hacker-public-radio/id281699640" target="_blank">iTunes</a></li>
<li><a href="/index_full.php">Complete Episode Guide</a></li>
<li><a href="/series.php">In-Depth Series</a></li>
<li><a href="/download.php">Download Options</a></li>
</ul>
</li>
<li>>Give Shows</a>
<ul>
<li>Call in
<ul>
<li>US: 470-222-4257 (HCKR)</li>
<li>UK: 203-432-5879</li>
</ul>
</li>
<li>Contribute
<ul>
<li><a href="contribute.php">General</a>
<li><a href="stuff_you_need_to_know.php">»Info</a></li>
<li><a href="theme.php">»Theme</a></li>
<li><a href="requested_topics.php">»Topics</a></li>
<li><a href="recording.php">»Recording</a></li>
<li><a href="request_a_slot.php">»Scheduling</a></li>
<li><a href="calendar.php">Upload</a></li>
</ul>
</li>
<li><a href="calendar.php">Calendar</a></li>
<li><a href="requested_topics.php">Requested Topics</a></li>
</ul>
</li>
<li>Links
<ul>
<li><a href="http://<?php print "${HTTP_HOST}";?>/feed">Feeds</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/irc">IRC</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/maillist">Mail list</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/itunes">iTunes</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/twitter">Twitter</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/google+">Google+</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/linkedin">LinkedIn</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/facebook">Facebook</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/archive.org">Archive.org</a></li>
</ul>
</li>
<li>About
<ul>
<li><a href="http://<?php print "${HTTP_HOST}";?>/about.php">About</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/correspondents.php">Hosts</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/contact.php">Contact</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/promote.php">Promote HPR</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/comments_viewer.php">Show Comments</a></li>
<li><a href="http://<?php print "${HTTP_HOST}";?>/maillist">Mail list</a></li>
<li><a href="http://webchat.freenode.net/?channels=oggcastplanet" target="_blank">#oggcastplanet</a></li>
</ul>
<li><a href="search.php">Search</a></li>
</ul>
<hr />
<h1>More Information...</h1>
<h2>Ancestry</h2>
<ul>
<li><a href="http://audio.textfiles.com/shows/radiofreekamerica/">Radio Freek America</a></li>
<li><a href="http://audio.textfiles.com/shows/binrev/">BinRev Radio</a></li>
<li><a href="http://audio.textfiles.com/shows/infonomicon/">Infonomicon</a></li>
<li><a href="http://audio.textfiles.com/shows/twat/">Talk With a Techie</a></li>
</ul>
<h2>Social</h2>
<ul>
<li><a href="http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org" target="_blank">Maillist</a></li>
<li><a href="http://webchat.freenode.net/?channels=oggcastplanet" target="_blank">#oggcastplanet</a></li>
<li><a href="https://plus.google.com/u/0/s/hacker%20public%20radio" target="_blank">Google+</a></li>
<li><a href="https://www.facebook.com/home.php?sk=group_130169220378872¬if_t=group_r2j" target="_blank">Facebook</a></li>
<li><a href="http://www.linkedin.com/groups/Hacker-Public-Radio-3737302" target="_blank">Linked-In</a></li>
<li><a href="http://itunes.apple.com/us/podcast/hacker-public-radio/id281699640" target="_blank">iTunes</a></li>
</ul>
<h2>Affiliates</h2>
<ul>
<li><a href="http://www.hackradiolive.org/">Hack Radio Live</a></li>
<li><a href="http://www.binrev.com/">Binary Revolution</a></li>
<li><a href="http://hackermedia.org">Hackermedia</a></li>
<li><a href="http://www.nomicon.info/">Infonomicon</a></li>
<li><a href="http://www.packetsniffers.org/">Packetsniffers</a></li>
</ul>
<h2>Commons</h2>
<ul>
<li><a href="http://archive.org/">archive.org</a></li>
<li><a href="http://cchits.net/">cchits.net</a></li>
<li><a href="http://freemusi.cc/">FreeMusi.cc</a></li>
<li><a href="http://freesound.org/">freesound.org</a></li>
<li><a href="https://librivox.org/">librivox.org</a></li>
<li><a href="http://openclipart.org/">openclipart.org</a></li>
<li><a href="http://openfontlibrary.org/">openfontlibrary.org</a></li>
<li><a href="http://www.openrouteservice.org/">openrouteservice.org/</a></li>
</ul>
<h2>Patrons</h2>
<ul>
<li><a href="https://anhonesthost.com/hosting/shared-hosting">AnHonestHost.com</a></li>
<li><a href="https://archive.org/donate/">Archive.org</a></li>
</ul>
<h1>Copyright Information</h1>
<p>
Unless otherwise stated, our shows are released under a Creative Commons <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)</a> license.</p>
<p>
The HPR Website Design is released to the <a rel="license" href="http://creativecommons.org/publicdomain/mark/1.0/">Public Domain</a>.
</p>
<hr />
</body>
</html>
<?php
include 'footer.html';
?>
......@@ -82,6 +82,11 @@ include '/home/hpr/www/header.php';
<h2 id="utf8">We use UTF-8 end to end.</h2>
<blockquote>See the video "<a href="http://www.youtube.com/watch?v=MijmeoH9LT4">Characters, Symbols and the Unicode Miracle - Computerphile</a>" for an interesting background to ASCII and <a href="http://en.wikipedia.org/wiki/UTF-8">UTF-8</a>.
</blockquote>
<h2 id="accessibility">Keep accessibility in mind.</h2>
<p>
When you includes output from the command line in the show notes, posting screen-shots of console or terminal output makes it impossible for screen readers to access the text. Always try and include the raw text ( eg: embedded in &lt;pre&gt; tags)
</p>
<h2 id="international">Your show will be heard by an International Audience.</h2>
<p>
......
<?php
# released under a Creative Commons Attribution-ShareAlike 3.0 Unported license. http://creativecommons.org/licenses/by-sa/3.0/
$body="about";
require "/home/hpr/php/hpr.php";
#include '/home/hpr/www/header.php';
$tags = "ken";
?>
<main id="maincontent">
<h1>About HPR.</h1>
<hr />
<p>
<?php
echo "<strong>Sending:</strong> <em>$tags</em>";
tags_to_html( "bla" );
// $returned_tags=GetFirstFreeSlot();
// echo "<strong>Recieved:</strong> <em>$returned_tags</em>";
?>
</p>
<hr />
</main>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment