Compare commits
92 Commits
9a4e8b087f
...
I30-Series
Author | SHA1 | Date | |
---|---|---|---|
|
082ea4069d | ||
dfbb4a24db
|
|||
4e1d525e6e
|
|||
694c100bcf
|
|||
52a314f2a9
|
|||
b36293e52f
|
|||
02eb8313d3
|
|||
ff2ced6774
|
|||
0dc5a78dae
|
|||
9d0e8d403d
|
|||
5af4d93c8c
|
|||
cf001df9ec
|
|||
6d4f5f28c9
|
|||
17ef26642a
|
|||
91349eb504
|
|||
83c188465d
|
|||
41a18300eb
|
|||
5b48b91e99
|
|||
507b7db4a1
|
|||
162d8c6703
|
|||
582f155ca1
|
|||
dba0ec8485
|
|||
af86b7114a
|
|||
1df2db62b1
|
|||
d53d4fc36c
|
|||
46ebfe2305
|
|||
e855344118
|
|||
019607e94f
|
|||
3365244688
|
|||
ca66743a3b
|
|||
a65c18cbda
|
|||
c1a5b25a67
|
|||
0d3c688167
|
|||
300c02eba9
|
|||
18b44e515f
|
|||
2298e9ad27
|
|||
fe3ed40641
|
|||
f90c704033
|
|||
818fc25ff9
|
|||
bccfa695a3
|
|||
0b916b9b98
|
|||
358fee0f56
|
|||
ab309c59c4
|
|||
413ca0ce92
|
|||
a194a28b71
|
|||
4725547d39
|
|||
8eda6ca9a8
|
|||
ccfcd4b7fb
|
|||
b64ffe7f46
|
|||
1b9c3c080c
|
|||
d4ec232f4b
|
|||
541a79265a
|
|||
227510316b
|
|||
de8bee7114
|
|||
c34ddc6256
|
|||
945ddc9939
|
|||
a23ca24bd6
|
|||
6414390a3d
|
|||
d81013f2ed
|
|||
1a857cbafd
|
|||
7eb308d741
|
|||
a65dbbd32e
|
|||
b1f1fd4229
|
|||
dcc0f3d6b0
|
|||
30f0c9924a
|
|||
47c51ec9a2
|
|||
adb0af46a3
|
|||
e250581f3c
|
|||
284b92d80b
|
|||
c983e937e6
|
|||
69b3cb32b9
|
|||
1800d52f88
|
|||
b8a5a99523
|
|||
56e1a6aea2
|
|||
374ead6592
|
|||
d119d8c34e
|
|||
83d9156f17
|
|||
d4e8422677
|
|||
c4b0361104
|
|||
f6318cd34f
|
|||
858bf058ff
|
|||
536f7cce03
|
|||
cf554571c8
|
|||
2a61d89907
|
|||
74b806f712
|
|||
179093c60d
|
|||
7770f67409
|
|||
75cd3e3e85
|
|||
873cfda86a
|
|||
1ec288bbb8
|
|||
4e56289338
|
|||
c1ac9f69a0
|
12
README.md
@@ -7,19 +7,29 @@ Static web page generator for the Hacker Public Radio website.
|
||||
* Two sql helper scripts are available to generate an empty database or a database filled with test data.
|
||||
- For an empty database: `cat Create_Database_Empty.sql | sqlite3 hpr.db`
|
||||
- For a database with test data: `cat Create_Database_Test.sql | sqlite3 hpr.db`
|
||||
* SQLite v3.8.3 or greater is recommended. CTE WITH clauses are used in some template queries. Must convert WITH
|
||||
clauses to sub-queries when using earlier versions of SQLite.
|
||||
* Install the needed Perl modules using preferred method (distribution packages, CPAN, etc.)
|
||||
* GetOpt
|
||||
* Pod::Usage
|
||||
* Config::Std
|
||||
* Template
|
||||
* Template::Plugin::File
|
||||
* Template::Plugin::DBI
|
||||
* DBI
|
||||
* Tie::DBI
|
||||
* DBD::SQLite
|
||||
* Date::Calc
|
||||
|
||||
## Usage
|
||||
Generate two specific pages:
|
||||
`site-generator index about`
|
||||
|
||||
Generate the whole site:
|
||||
`site-generator ALL`
|
||||
`site-generator --all`
|
||||
|
||||
Generate pages based on the same template:
|
||||
`site-generator correspondent=1,3,5..10`
|
||||
|
||||
## Support
|
||||
Please [submit an Issue](https://repo.anhonesthost.net/rho_n/hpr_generator/issues),
|
||||
|
BIN
public_html/Mumble-How-To.pdf
Normal file
262
public_html/css/hpr.css
Normal file
@@ -0,0 +1,262 @@
|
||||
@charset "utf-8";
|
||||
/* Website design Copyright Ken Fallon - Released into the public domain/
|
||||
|
||||
http://creativecommons.org/publicdomain/
|
||||
|
||||
*/
|
||||
|
||||
p.meta span label { font-weight: bold; }
|
||||
@media only screen and (min-width: 479px) {
|
||||
|
||||
body {background: #dfdfdf;}
|
||||
div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, form, fieldset, input, textarea, blockquote {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;/* 1em/1.5 OpenDyslexic, */
|
||||
color: #4D4D4D; /* HPR Grey */
|
||||
background: white;
|
||||
}
|
||||
|
||||
|
||||
#container {
|
||||
width: 100%;
|
||||
max-width: 58em;
|
||||
margin: auto;
|
||||
overflow: hidden;
|
||||
padding: .5em;
|
||||
border: thin solid;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.shadow {
|
||||
-moz-box-shadow: 2px 3px 6px 3px #675958;
|
||||
-webkit-box-shadow: 2px 3px 6px 3px #675958;
|
||||
box-shadow: 2px 3px 6px 3px #675958;}
|
||||
|
||||
#hprlogo {
|
||||
display: block;
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
border: 0;
|
||||
margin: 0.75em;
|
||||
float:left;
|
||||
}
|
||||
|
||||
#hpr_banner {
|
||||
display: block;
|
||||
position: relative;
|
||||
border: 0;
|
||||
margin: 0.75em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#hpr_banner h1 {margin: -.25em 0em -.5em 0em;}
|
||||
#hpr_banner h2 {font-size: 100%; font-weight: lighter; }
|
||||
#hpr_banner h3 {font-size: 90%; font-weight: lighter; }
|
||||
|
||||
#accessible_menu {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
/* The main navigation menu */
|
||||
.menu {
|
||||
background: #4D4D4D; /* HPR Grey */
|
||||
text-align: Left;
|
||||
clear:both; /* Forces the menu to appear after the HPR Header block */
|
||||
padding: 0em 0em;
|
||||
margin: 0em 0em;
|
||||
}
|
||||
|
||||
.menu ul ul { /* Causes the sub menus not to be displayed, until hover shows them */
|
||||
display: none;
|
||||
}
|
||||
|
||||
#main_menu li a {display: block;}
|
||||
|
||||
.menu ul li { padding: .25em 0em;}
|
||||
|
||||
}
|
||||
|
||||
.menu ul { /* The menu bar background across screen */
|
||||
background: #4D4D4D; /* HPR Grey */
|
||||
color: white;
|
||||
padding: 0 10px; /* Keeps sub menus to the left */
|
||||
list-style: none;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
display: inline-table;
|
||||
}
|
||||
|
||||
.menu ul:after { /* Forces the dropdown to be a block with non float */
|
||||
content: "";
|
||||
clear: both;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.menu ul li {
|
||||
background: #4D4D4D; /* HPR Grey */
|
||||
color: white;
|
||||
float: left;
|
||||
padding: .5em 1em;
|
||||
}
|
||||
|
||||
.menu ul li a {
|
||||
background: #4D4D4D; /* HPR Grey */
|
||||
color: white;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menu ul ul {
|
||||
background: #4D4D4D; /* HPR Grey */
|
||||
color: white;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
}
|
||||
|
||||
.menu ul ul li {
|
||||
background: #4D4D4D; /* HPR Grey */
|
||||
color: white;
|
||||
float: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.menu ul ul ul {
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top:0;
|
||||
}
|
||||
|
||||
|
||||
hr {
|
||||
background: #4D4D4D; /* HPR Grey */
|
||||
border: 0;
|
||||
height: 0.25em;
|
||||
}
|
||||
|
||||
/* The multi colum footer layout */
|
||||
|
||||
#footer_page {
|
||||
width:100%;
|
||||
}
|
||||
|
||||
.column {
|
||||
width:12%;
|
||||
background-color: white;
|
||||
color: #4D4D4D; /* HPR Grey */
|
||||
float:left;
|
||||
margin:0 10px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.column li {
|
||||
list-style:none;
|
||||
padding: .25em 0em;
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
.thick_bar {
|
||||
width:100%;
|
||||
background-color: #4D4D4D; /* HPR Grey */
|
||||
color: white;
|
||||
float:left;
|
||||
clear: both;
|
||||
height:1.5em;
|
||||
padding: .5em 0em .5em 0em;
|
||||
font-size: 1em;
|
||||
margin: 1em 0em 1em 0em;
|
||||
}
|
||||
|
||||
#more_info {margin: auto;}
|
||||
nav.column { display: block; padding: 0em 1em 0em 1em;}
|
||||
#copyright {
|
||||
font-size: small;
|
||||
width:100%;
|
||||
float:left;
|
||||
}
|
||||
|
||||
article, #copyright p {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
audio {padding: .7em 0em .5em 0em; clear: both; position: relative; z-index:auto;}
|
||||
.audcredit { font-size: 75%;margin-bottom: 1em;}
|
||||
h1.showtitle { font-size: 125%;}
|
||||
|
||||
/* Full Index Page styling */
|
||||
#index_full h2.title {
|
||||
font-weight: lighter;
|
||||
margin-bottom: -.5em;
|
||||
padding: .5em 0em 0em 0em;
|
||||
font-size: 110%;}
|
||||
|
||||
#index_full p.meta {font-size: 85%;}
|
||||
|
||||
#small {
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
p.author { font-size: 85%;}
|
||||
p.shownotes { padding: .5em;}
|
||||
#maincontent footer p { font-size: 75%; margin-bottom: 1em;}
|
||||
/* link styling */
|
||||
a:link {text-decoration: none;}
|
||||
|
||||
table {
|
||||
width:100%;
|
||||
}
|
||||
table, th, td {
|
||||
border-collapse: collapse;
|
||||
padding: 2px;
|
||||
text-align: left;
|
||||
}
|
||||
table#t01, table#t01 th, table#t01 td {
|
||||
border: 1px solid black;
|
||||
}
|
||||
table#t01 th, table#t01 td {
|
||||
padding: 5px;
|
||||
text-align: left;
|
||||
}
|
||||
table#t01 tr:nth-child(even) {
|
||||
background-color: #eee;
|
||||
}
|
||||
table#t01 tr:nth-child(odd) {
|
||||
background-color:#fff;
|
||||
}
|
||||
table#t01 th {
|
||||
background-color: #4D4D4D;
|
||||
color: white;
|
||||
}
|
||||
|
||||
pre { /* Add background, border and scrollbar to <pre> */
|
||||
background: #eee;
|
||||
border: 1px solid #ddd;
|
||||
overflow: auto;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 680px) {
|
||||
#container {width: 95%;}
|
||||
img#hprlogo {float: left; max-width: 85px; padding: .35em;}
|
||||
.column {width: 15%;}
|
||||
h1 {font-size: 140%;}
|
||||
h2 {font-size: 120%;}
|
||||
h3 {font-size: 100%;}
|
||||
nav.column { display: block; padding: 0em .25em 0em .25em;}
|
||||
#footer_page li {font-size: 85%; padding: .5em .25em .5em .25em;}
|
||||
footer p {font-size: 75%;}
|
||||
audio {float: none; }
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 479px) {
|
||||
body {background: #ffffff; color: #4D4D4D; font-family: Verdana, Arial, Helvetica, sans-serif;/* 1em/1.5 OpenDyslexic, */}
|
||||
li {font-size: 100%; padding: .75em 0em .75em 0em; margin-left: -.25em;}
|
||||
img#hprlogo {float: left; max-width: 65px; padding: .35em;}
|
||||
.column {width: auto;}
|
||||
h1#sitename { clear: both;}
|
||||
a:link {text-decoration: none;}
|
||||
audio {padding: .7em 0em .5em 0em; width: 95%; max-width: 300px;}
|
||||
.audcredit { font-size: 65%; margin-bottom: 1em;}
|
||||
}
|
BIN
public_html/hpr.ico
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
public_html/images/contribute-audacity-export.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
public_html/images/contribute-audacity-record.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
public_html/images/contribute-mumble-record.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
public_html/images/feed.png
Normal file
After Width: | Height: | Size: 691 B |
BIN
public_html/images/hosts/01.jpg
Normal file
After Width: | Height: | Size: 2.2 MiB |
BIN
public_html/images/hosts/1.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
public_html/images/hosts/10-actual_hpr_downloads.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
public_html/images/hosts/110.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
public_html/images/hosts/111.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
public_html/images/hosts/115.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
public_html/images/hosts/127.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
public_html/images/hosts/128.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public_html/images/hosts/129.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
public_html/images/hosts/13.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
public_html/images/hosts/131.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
public_html/images/hosts/132.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public_html/images/hosts/133.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
public_html/images/hosts/136.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
public_html/images/hosts/139.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
public_html/images/hosts/144.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
public_html/images/hosts/145.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
public_html/images/hosts/146.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
public_html/images/hosts/148.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
public_html/images/hosts/152.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
public_html/images/hosts/153.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
public_html/images/hosts/159.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
public_html/images/hosts/163.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
public_html/images/hosts/164.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
public_html/images/hosts/167.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
public_html/images/hosts/168.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
public_html/images/hosts/169.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public_html/images/hosts/173.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
public_html/images/hosts/174.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
public_html/images/hosts/18.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
public_html/images/hosts/182.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
public_html/images/hosts/184.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
public_html/images/hosts/185.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
public_html/images/hosts/186.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
public_html/images/hosts/191.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
BIN
public_html/images/hosts/192.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
public_html/images/hosts/193.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
public_html/images/hosts/195.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
public_html/images/hosts/196.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public_html/images/hosts/198.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
public_html/images/hosts/199.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
public_html/images/hosts/203.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
public_html/images/hosts/205.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
public_html/images/hosts/206.png
Normal file
After Width: | Height: | Size: 788 B |
BIN
public_html/images/hosts/209.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
public_html/images/hosts/211.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
public_html/images/hosts/213.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
public_html/images/hosts/214.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
public_html/images/hosts/215.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public_html/images/hosts/218.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public_html/images/hosts/220.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
public_html/images/hosts/224.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public_html/images/hosts/225.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
public_html/images/hosts/226.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
public_html/images/hosts/229.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
public_html/images/hosts/233.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
public_html/images/hosts/235.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
public_html/images/hosts/236.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
public_html/images/hosts/238.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
public_html/images/hosts/239.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
public_html/images/hosts/24.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
public_html/images/hosts/241.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
public_html/images/hosts/250.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
public_html/images/hosts/253.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public_html/images/hosts/255.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public_html/images/hosts/256.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
public_html/images/hosts/257.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
public_html/images/hosts/259.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public_html/images/hosts/263.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
public_html/images/hosts/264.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
public_html/images/hosts/266.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
public_html/images/hosts/268.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
public_html/images/hosts/270.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
public_html/images/hosts/273.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
public_html/images/hosts/279.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
public_html/images/hosts/284.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public_html/images/hosts/286.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
public_html/images/hosts/287.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
public_html/images/hosts/288.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
public_html/images/hosts/293.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
public_html/images/hosts/294.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
public_html/images/hosts/296.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public_html/images/hosts/297.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
public_html/images/hosts/298.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public_html/images/hosts/299.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
public_html/images/hosts/30.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public_html/images/hosts/300.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
public_html/images/hosts/301.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
public_html/images/hosts/302.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
public_html/images/hosts/306.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
public_html/images/hosts/308.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
public_html/images/hosts/310.png
Normal file
After Width: | Height: | Size: 15 KiB |