Compare commits
163 Commits
b8a5a99523
...
2023-02
Author | SHA1 | Date | |
---|---|---|---|
|
b4e4187902 | ||
431126e8a3
|
|||
|
91ceefd88e | ||
8feb37e831
|
|||
4a34496f24
|
|||
|
f7e54233e2 | ||
59875e772e
|
|||
|
f84ee71b7c | ||
927424901b
|
|||
27a84529c6
|
|||
59549daa63
|
|||
|
ec7a6ce379 | ||
756bdc0fa1
|
|||
b2eaea1eb8
|
|||
|
fe9bf574cf | ||
309ea05c15
|
|||
|
649d6c3746 | ||
e41f6029aa
|
|||
|
4bd7c6f867 | ||
138b0fdd1b
|
|||
d437e66f0e
|
|||
|
a213efa695 | ||
|
314127441c | ||
2a486cb58b
|
|||
7c44f6b680
|
|||
71a63e1beb
|
|||
8e1232517a | |||
cb65d25cfc
|
|||
2b4802508d
|
|||
1312e3d374
|
|||
3cc6da57ad
|
|||
675f8fa9d5
|
|||
6f28bb2a16
|
|||
cb881558ca
|
|||
4e8edf2640
|
|||
|
e86d2c010d | ||
f0fa21ae45
|
|||
0b99483f0d
|
|||
8c3874ad8b
|
|||
6f95a33e67
|
|||
979c8b43e5
|
|||
e3abe5fd68
|
|||
5612eeed42
|
|||
4af117fb7a
|
|||
e1b0189275
|
|||
aad77f3c78
|
|||
be1344e10c
|
|||
|
308d03d63c | ||
0837e11bfe
|
|||
06ace35c41
|
|||
6d0d1b99a6
|
|||
fdeff3879a
|
|||
b667c30d40
|
|||
b08f5c30df
|
|||
|
d8613143d3 | ||
3de4476a3f
|
|||
4984ac3383
|
|||
e4463dc5ba
|
|||
|
bf8bf8daad | ||
1d4e6e15b7
|
|||
d556e28e2d
|
|||
fb70ae6253
|
|||
64ae9c4f86
|
|||
b0d31ee507
|
|||
|
6ac65212d7 | ||
991b3dcec1
|
|||
|
1c9eb16934 | ||
2eaaa11a69
|
|||
3723303e31
|
|||
|
db46938de6 | ||
3054d6519e
|
|||
c6e7a3c239
|
|||
dbf011395c
|
|||
c817e3a17a
|
|||
0edf9cc5a2
|
|||
|
4d34f762d0 | ||
dbd9f8e973
|
|||
|
4fdb32934b | ||
|
5bd96f69e0 | ||
38d2e7c363
|
|||
|
7691209360 | ||
f7216132a4
|
|||
67a8a2bfa4
|
|||
cfd463d2b0
|
|||
91cbc81a12
|
|||
|
c1a83f8baf | ||
3b72fe6d28
|
|||
76b976732b
|
|||
|
bf60d35ed1 | ||
e2cf52af6e
|
|||
414bae101a
|
|||
|
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
|
27
README.md
@@ -3,18 +3,32 @@ Static web page generator for the Hacker Public Radio website.
|
||||
|
||||
## Installation
|
||||
* Clone or download this repository
|
||||
* Create the sqlite3 database from the files in the _sql directory. The default name for the database file is "hpr.db" and should be located in the root of the project directory. The name and location can be set in the site.cfg file.
|
||||
* 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`
|
||||
* With SQLite
|
||||
* Create the sqlite3 database from the files in the _sql directory. The default name for the database file is "hpr.db" and should be located in the root of the project directory. The name and location can be set in the site.cfg file.
|
||||
* 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.
|
||||
* With MySQL
|
||||
* Create database hpr_hpr in the MySQL server from HPR dump file.
|
||||
- ``sudo mysql --host=localhost < hpr.sql``
|
||||
* Create a user that will be used by the site-generator.
|
||||
- Suggested username: hpr-generator
|
||||
- ``CREATE USER 'hpr-generator'@'localhost' IDENTIFIED BY '<password>';``
|
||||
* Limit the user's privileges to EXECUTE and SELECT
|
||||
- ``GRANT SELECT ON hpr_hpr.* TO 'hpr-generator'@'localhost';``
|
||||
- ``GRANT EXECUTE ON `hpr_hpr`.* TO 'hpr-generator'@'localhost';``
|
||||
* Install the needed Perl modules using preferred method (distribution packages, CPAN, etc.)
|
||||
* GetOpt
|
||||
* Pod::Usage
|
||||
* Config::Std
|
||||
* Template
|
||||
* Template::Plugin:File
|
||||
* Template::Plugin::File
|
||||
* Template::Plugin::DBI
|
||||
* DBI
|
||||
* Tie::DBI
|
||||
* DBD::SQLite or DBD:mysql
|
||||
* Date::Calc
|
||||
|
||||
## Usage
|
||||
@@ -22,7 +36,7 @@ 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`
|
||||
@@ -46,4 +60,3 @@ and add the label "**Feature Request**".
|
||||
|
||||
## Authors and acknowledgment
|
||||
* Roan "Rho`n" Horning
|
||||
|
||||
|
BIN
public_html/Mumble-How-To.pdf
Normal file
@@ -235,6 +235,17 @@ pre { /* Add background, border and scrollbar to <pre> */
|
||||
clear: both;
|
||||
}
|
||||
|
||||
table.hosts {
|
||||
background: white
|
||||
}
|
||||
table.hosts tr:nth-child(even) { background-color:#cccccc; }
|
||||
table.hosts tr:nth-child(odd) { background-color:white; }
|
||||
table.hosts tr td img { vertical-align:middle }
|
||||
|
||||
pre.comment {
|
||||
white-space: pre-wrap;
|
||||
padding: 2px;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 680px) {
|
||||
|
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 |