Archived
4
2

72 Commits

Author SHA1 Message Date
Roan Horning
082ea4069d Merge pull request '[I31] Fix URL to individual series page on series index page' (#32) from I31_Fix-URL into main
Reviewed-on: #32
2022-08-26 00:17:33 +00:00
dfbb4a24db Add missing MACRO absolute_path to link path 2022-08-25 20:10:21 -04:00
4e1d525e6e Merge branch 'main' of repo.anhonesthost.net:rho_n/hpr_generator 2022-08-19 22:20:17 -04:00
694c100bcf Add command line option all
Use --all or -a when calling site-generator instead of special page
ALL to generate all the configured pages for a website.
2022-08-19 22:19:50 -04:00
52a314f2a9 Add command line option all
Use --all or -a when calling site-generator instead of special page
ALL to generate all the configured pages for a website.
2022-08-19 22:11:38 -04:00
b36293e52f Fix generation of series general page 2022-08-19 21:25:14 -04:00
02eb8313d3 Fix links in intro text of index page 2022-08-18 21:26:57 -04:00
ff2ced6774 Fix capitalization of introduction text on index page 2022-08-18 21:19:32 -04:00
0dc5a78dae Fix links in sitemap content template 2022-08-18 17:55:42 -04:00
9d0e8d403d Fix importing of template date plugin
Add USE directive to import date plugin. Worked locally with out it
in this file, but was needed when trying on a different machine.
2022-08-18 17:39:17 -04:00
5af4d93c8c Update links to HPR total feeds 2022-08-17 23:42:45 -04:00
cf001df9ec Add feed hpr_total
This includes all three audio type feeds
2022-08-17 22:41:59 -04:00
6d4f5f28c9 Refactor main feed to need fewer templates
Add configuration properties to minimize the number of templates
needed to generate the different audio format feeds.
2022-08-17 22:32:32 -04:00
17ef26642a Add page Will my show be of interest to hackers 2022-08-17 21:30:54 -04:00
91349eb504 Update links to main RSS feeds in page.tpl.html 2022-08-17 19:20:22 -04:00
83c188465d Fix setting of RSS feed enclosures mime-type
Mime-type does not always match file extension.
2022-08-17 19:16:22 -04:00
41a18300eb Allow page to configure root_template in configuration file
RSS commits will be broken before this commit.
2022-08-17 19:13:42 -04:00
5b48b91e99 Add main HPR SPX feed 2022-08-17 18:08:45 -04:00
507b7db4a1 Add main HPR MP3 feed 2022-08-17 17:56:56 -04:00
162d8c6703 Initial implementation of HPR RSS feeds template
Add templates and macros to create main HPR OGG feed.
2022-08-17 17:12:47 -04:00
582f155ca1 Add MACRO format_feed_date
Display publication date in preferred format for feeds.
2022-08-17 15:50:03 -04:00
dba0ec8485 Add MACRO display_explicit_feed
The explicit value for RSS feeds is yes or no versus Clean or Explicit
used in the html pages.
2022-08-17 15:47:39 -04:00
af86b7114a Remove references to Report missing tags page
This project is finished, and no longer relevant.
2022-08-16 18:39:05 -04:00
1df2db62b1 Add HPR favicon 2022-08-16 18:29:06 -04:00
d53d4fc36c Add page sitemap 2022-08-13 13:12:45 -04:00
46ebfe2305 Fix links to static pages 2022-08-13 13:11:30 -04:00
e855344118 Make URL direct call to HPR for non static pages 2022-08-13 12:29:46 -04:00
019607e94f Add page promote 2022-08-13 10:08:55 -04:00
3365244688 Add page podcatchers 2022-08-12 22:59:54 -04:00
ca66743a3b Add page request_a_slot 2022-08-11 08:51:13 -04:00
a65c18cbda Add page recording 2022-08-10 22:30:11 -04:00
c1a5b25a67 Add page requested_topics 2022-08-10 22:08:38 -04:00
0d3c688167 Add Theme page 2022-08-09 22:06:37 -04:00
300c02eba9 Add Stuff you need to know page 2022-08-09 22:05:06 -04:00
18b44e515f Add page download 2022-08-09 19:06:06 -04:00
2298e9ad27 Fix link to index of full episodes 2022-08-09 18:23:33 -04:00
fe3ed40641 Fix display of corresponent episodes
Prevent display of future episodes which have been uploaded to HPR.
2022-08-09 18:18:04 -04:00
f90c704033 Add page help_out 2022-08-08 22:00:24 -04:00
818fc25ff9 Add option to site-generator to list configured pages 2022-08-08 21:30:22 -04:00
bccfa695a3 Add page search 2022-08-08 21:07:34 -04:00
0b916b9b98 Add page contribute 2022-08-08 20:53:04 -04:00
358fee0f56 Update SQL query
Remove obsoleted CASE WHEN for explicit field.
2022-08-08 19:50:50 -04:00
ab309c59c4 Fix episode and correspondent paths 2022-08-08 19:49:24 -04:00
413ca0ce92 Add page syndication 2022-08-07 23:47:40 -04:00
a194a28b71 Add quiet option to site-generator
Suppress progress information while generating pages.
2022-08-07 21:49:10 -04:00
4725547d39 Update Installation instructions
Add recommendation for SQLite v3.8.3 or greater.
2022-08-07 21:31:01 -04:00
8eda6ca9a8 Fix MACRO step_navigation
absolute_path MACRO was named incorrectly and baseurl must be
passed into macro.
2022-08-07 21:04:59 -04:00
ccfcd4b7fb Fix missing fields on page correspondents 2022-08-07 20:05:39 -04:00
b64ffe7f46 Fix path to correspondents pages 2022-08-07 20:04:20 -04:00
1b9c3c080c Add MACRO display_explicit 2022-08-07 19:54:47 -04:00
d4ec232f4b Add missing fields to episode page 2022-08-07 18:41:58 -04:00
541a79265a Add MACRO step_navigation 2022-08-07 14:26:05 -04:00
227510316b Add page episode 2022-08-07 14:09:44 -04:00
de8bee7114 Add show_meta MACRO
Refactor show_summary to use show_meta
2022-08-07 14:05:34 -04:00
c34ddc6256 Rename page series_shows to series_episode
Align name with more standard naming scheme.
2022-08-06 12:14:47 -04:00
945ddc9939 Add episodes page to configuration file 2022-08-06 10:54:12 -04:00
a23ca24bd6 Fix MACRO show_series link to series page 2022-08-06 10:48:53 -04:00
6414390a3d Fix missing PROCESS directive for shared utils 2022-08-06 09:59:31 -04:00
d81013f2ed Fix links 2022-08-06 08:55:32 -04:00
1a857cbafd Add absolute_url macro to navigation links 2022-08-05 19:38:37 -04:00
7eb308d741 Fix links to episodes and series pages 2022-08-05 17:50:03 -04:00
a65dbbd32e Implement full show index page 2022-08-05 17:44:58 -04:00
b1f1fd4229 Add generation of individual series pages 2022-08-05 15:51:59 -04:00
dcc0f3d6b0 Add absolute_path MACRO
Used with baseurl to make a path relative or absolute.
2022-08-05 15:49:00 -04:00
30f0c9924a Update SQL query to select specific host episodes 2022-08-05 12:07:36 -04:00
47c51ec9a2 Add default hpr logo avatar 2022-08-04 20:02:46 -04:00
adb0af46a3 Add host avatars 2022-08-04 19:48:25 -04:00
e250581f3c Add display_choice macro
Display custom messages depending on a boolean integer value.
2022-08-04 19:31:35 -04:00
284b92d80b Update Perl module dependencies
Add missing modules to the Installation section
2022-08-04 19:09:32 -04:00
c983e937e6 Change extension from html to php for navigation links 2022-08-04 19:04:46 -04:00
69b3cb32b9 Hide default avatar logo
Don't use hpr logo when the host does not have an avatar photo.
2022-08-04 14:21:54 -04:00
1800d52f88 Initial implementation of series page 2022-08-02 21:57:56 -04:00
187 changed files with 1587 additions and 110 deletions

View File

@@ -7,14 +7,18 @@ 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::File
* Template::Plugin::DBI
* DBI
* Tie::DBI
* DBD::SQLite
* Date::Calc
## Usage
@@ -22,7 +26,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`

Binary file not shown.

BIN
public_html/hpr.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
public_html/images/feed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Some files were not shown because too many files have changed in this diff Show More