Commit Graph

400 Commits

Author SHA1 Message Date
e41f6029aa
Make tags page menu link hard coded
Not implementing tags page in the static generator yet.
Make the link point to the php page on hackerpublicradio.org.
2023-02-12 13:07:06 -05:00
Roan Horning
4bd7c6f867 Merge pull request 'I64_Implement-Show-Transcript-section' (#66) from I64_Implement-Show-Transcript-section into main
Reviewed-on: rho_n/hpr_generator#66
2023-02-12 16:07:47 +00:00
138b0fdd1b
Add Show Transcript section to episode template 2023-02-12 10:58:43 -05:00
d437e66f0e
Update media_path MACRO for archive.org transciption files
The whisper transcription files are stored one directory
deeper on archive.org. Add checks and correct path when
passed txt, srt, or vtt media_type.
2023-02-12 10:53:50 -05:00
Roan Horning
a213efa695 Merge pull request '[I57] MySQL implementation' (#65) from MySQL into main
Reviewed-on: rho_n/hpr_generator#65
2023-02-12 12:59:13 +00:00
Roan Horning
314127441c Merge branch 'main' into MySQL 2023-02-12 12:57:38 +00:00
2a486cb58b
Add SQLite specific query templates 2023-02-08 16:05:36 -05:00
7c44f6b680
Remove New Year's Eve 2023 show announcement 2023-01-03 10:08:52 -05:00
71a63e1beb
Merge branch 'main' into MySQL 2022-12-31 18:39:25 -05:00
8e1232517a Update New Year's Eve show 2023 2022-12-31 15:55:39 -05:00
cb65d25cfc
Refactor MySQL database specific SQL 2022-11-28 22:47:53 -05:00
2b4802508d
Remove superflous WHERE condition 2022-11-28 19:55:51 -05:00
1312e3d374
Refactor MySQL database specific SQL 2022-11-28 19:52:39 -05:00
3cc6da57ad
Refactor MySQL database specific SQL 2022-11-28 19:49:06 -05:00
675f8fa9d5
Refactor MySQL database specific SQL 2022-11-27 14:04:12 -05:00
6f28bb2a16
Refactor MySQL database specific SQL 2022-11-27 13:54:14 -05:00
cb881558ca
Add database type constant for use in templates
This is used to select which database specific SQL query to use.
2022-11-27 13:11:14 -05:00
4e8edf2640
Merge branch 'main' into MySQL 2022-11-11 20:27:47 -05:00
Roan Horning
e86d2c010d Merge pull request '[I60] Implement call for shows feature' (#61) from I60_call-for-shows into main
Reviewed-on: rho_n/hpr_generator#61
2022-11-11 03:18:38 +00:00
f0fa21ae45
Implement call for shows feature
Add display_call_for_shows MACRO. Update index template to include
call to display_call_for_shows.
2022-11-10 22:14:55 -05:00
0b99483f0d
Update installation instruction to include details for MySQL 2022-10-22 21:11:57 -04:00
8c3874ad8b
Convert hpr total rss queries from SQLite to MySQL 2022-10-21 23:00:03 -04:00
6f95a33e67
Convert hpr rss queries from SQLite to MySQL 2022-10-21 22:53:13 -04:00
979c8b43e5
Convert twat episode page queries from SQLite to MySQL 2022-10-21 20:43:22 -04:00
e3abe5fd68
Convert series episode page queries from SQLite to MySQL 2022-10-21 20:11:19 -04:00
5612eeed42
Convert episode page queries from SQLite to MySQL 2022-10-21 20:07:53 -04:00
4af117fb7a
Convert episodes page queries from SQLite to MySQL 2022-10-21 19:52:53 -04:00
e1b0189275
Convert correspondent page queries from SQLite to MySQL 2022-10-21 19:46:31 -04:00
aad77f3c78
Convert index page queries from SQLite to MySQL 2022-10-20 23:24:56 -04:00
be1344e10c
Update database connection information 2022-10-20 23:23:00 -04:00
Roan Horning
308d03d63c Merge pull request '[I55] announcements template' (#56) from I55_announcements-template into main
Reviewed-on: rho_n/hpr_generator#56
2022-10-16 23:11:14 +00:00
0837e11bfe
Include announcement template in index template 2022-10-16 18:56:13 -04:00
06ace35c41
Add announcement template 2022-10-16 18:23:51 -04:00
6d0d1b99a6
Add page mumble-howto 2022-10-16 18:12:05 -04:00
fdeff3879a
Update links in the comments section of the episode template 2022-10-09 15:45:22 -04:00
b667c30d40
Update links on syndication page
Add missing external links. Update comments feed link to new statically
generated file.
2022-10-09 13:51:00 -04:00
b08f5c30df
Add missing USE date directive
Worked without it in local dev, but needed on hpr.horning.us
2022-10-08 12:35:56 -04:00
Roan Horning
d8613143d3 Merge pull request '[I41] Implement comments feed' (#54) from I41_Implement-comments-feed into main
Reviewed-on: rho_n/hpr_generator#54
2022-10-08 13:34:45 +00:00
3de4476a3f
Add comments feed template 2022-10-08 08:52:47 -04:00
4984ac3383
Add MACRO rss_show_series 2022-10-08 08:48:42 -04:00
e4463dc5ba
Zero pad the day's date 2022-10-08 08:44:47 -04:00
Roan Horning
bf8bf8daad Merge pull request '[I52] Allow audio content to be hosted on at different url' (#53) from I52_media_urls into main
Reviewed-on: rho_n/hpr_generator#53
2022-10-02 18:17:14 +00:00
1d4e6e15b7
Refactor templates to use media_path MACRO 2022-10-01 13:42:46 -04:00
d556e28e2d
Consume root_template properties generically
Allow user to define root_template properties in the site.cfg file
without need to modify site_generator program.
2022-10-01 13:33:59 -04:00
fb70ae6253
Add media_path MACRO to shared utilities
Generate the full URL of an audio file.
2022-10-01 13:23:36 -04:00
64ae9c4f86
Refactor media_baseurl MACRO to media_basepath MACRO
Prevent name collision with media_basepath root_template/page property
of same name. Also fix application of trailing forward slash to path
based on existence of baseurl property.
2022-10-01 13:18:35 -04:00
b0d31ee507
Allow user to modify zero_pad_left MACRO's padding
Add optional pad length argument
2022-10-01 12:51:11 -04:00
Roan Horning
6ac65212d7 Merge pull request '[I50] Fix ordering by episode id' (#51) from I50_Fix-ordering-by-episode-id into main
Reviewed-on: rho_n/hpr_generator#51
2022-09-22 01:47:25 +00:00
991b3dcec1
Update SQL query to order results by id 2022-09-21 21:18:48 -04:00
Roan Horning
1c9eb16934 Merge pull request '[I48] Fix MACRO step_navigation' (#49) from I48_Fix-step-navigation into main
Reviewed-on: rho_n/hpr_generator#49
2022-09-20 02:03:41 +00:00