Commit Graph
100 Commits
Author SHA1 Message Date
rho_n a53f201842 Code formatting with no functional changes 2023-03-03 20:46:34 -05:00
rho_n 2ce1280cc0 Make functional stub function copy_to_public_dir 2023-03-03 20:45:16 -05:00
rho_n d45ca0de96 Make functional stub function make_hpr_sqlite_db 2023-03-03 20:42:42 -05:00
rho_n 13aeb647ad Make functional stub function download_hpr_sql 2023-03-03 20:41:29 -05:00
rho_n ee6a4e601d Fill out function clean_working_dir 2023-02-27 23:30:24 -05:00
rho_n b544687f0f Fill out stub of make_working_dir function 2023-02-27 23:27:26 -05:00
rho_n 0ed7efe93b Initial add of bash library for update utils
Stubs for functions to be used in update scripts.
2023-02-27 21:07:01 -05:00
rho_n 431126e8a3 Fix URL's to series RSS feeds 2023-02-25 23:06:41 -05:00
rho_n 8feb37e831 Hide display of future shows on series episodes page 2023-02-25 14:22:44 -05:00
rho_n 4a34496f24 Hide display of future shows on series listings page 2023-02-25 11:44:56 -05:00
rho_n 59875e772e Implement comments_viewer page 2023-02-24 20:42:01 -05:00
rho_n 927424901b Add show_transcript MACRO to index and episode pages 2023-02-24 18:58:56 -05:00
rho_n 27a84529c6 Create shared template for showing show transcripts
Used in main index page and individual episode pages.
2023-02-24 18:57:20 -05:00
rho_n 59549daa63 Fix archive.org paths in media_path MACRO 2023-02-24 18:55:37 -05:00
rho_n 756bdc0fa1 Refactor RSS templates for either MySQL or SQLite 2023-02-20 22:36:30 -05:00
rho_n b2eaea1eb8 Improve look of hosts table 2023-02-12 16:54:17 -05:00
rho_n 309ea05c15 Update sydication template text
Now matches what is in the syndication.php page on
hakerpublicradio.org
2023-02-12 13:46:11 -05:00
rho_n 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
rho_n 138b0fdd1b Add Show Transcript section to episode template 2023-02-12 10:58:43 -05:00
rho_n 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
rho_n 2a486cb58b Add SQLite specific query templates 2023-02-08 16:05:36 -05:00
rho_n 7c44f6b680 Remove New Year's Eve 2023 show announcement 2023-01-03 10:08:52 -05:00
rho_n 71a63e1beb Merge branch 'main' into MySQL 2022-12-31 18:39:25 -05:00
rho_n 8e1232517a Update New Year's Eve show 2023 2022-12-31 15:55:39 -05:00
rho_n cb65d25cfc Refactor MySQL database specific SQL 2022-11-28 22:47:53 -05:00
rho_n 2b4802508d Remove superflous WHERE condition 2022-11-28 19:55:51 -05:00
rho_n 1312e3d374 Refactor MySQL database specific SQL 2022-11-28 19:52:39 -05:00
rho_n 3cc6da57ad Refactor MySQL database specific SQL 2022-11-28 19:49:06 -05:00
rho_n 675f8fa9d5 Refactor MySQL database specific SQL 2022-11-27 14:04:12 -05:00
rho_n 6f28bb2a16 Refactor MySQL database specific SQL 2022-11-27 13:54:14 -05:00
rho_n 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
rho_n 4e8edf2640 Merge branch 'main' into MySQL 2022-11-11 20:27:47 -05:00
rho_n 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
rho_n 0b99483f0d Update installation instruction to include details for MySQL 2022-10-22 21:11:57 -04:00
rho_n 8c3874ad8b Convert hpr total rss queries from SQLite to MySQL 2022-10-21 23:00:03 -04:00
rho_n 6f95a33e67 Convert hpr rss queries from SQLite to MySQL 2022-10-21 22:53:13 -04:00
rho_n 979c8b43e5 Convert twat episode page queries from SQLite to MySQL 2022-10-21 20:43:22 -04:00
rho_n e3abe5fd68 Convert series episode page queries from SQLite to MySQL 2022-10-21 20:11:19 -04:00
rho_n 5612eeed42 Convert episode page queries from SQLite to MySQL 2022-10-21 20:07:53 -04:00
rho_n 4af117fb7a Convert episodes page queries from SQLite to MySQL 2022-10-21 19:52:53 -04:00
rho_n e1b0189275 Convert correspondent page queries from SQLite to MySQL 2022-10-21 19:46:31 -04:00
rho_n aad77f3c78 Convert index page queries from SQLite to MySQL 2022-10-20 23:24:56 -04:00
rho_n be1344e10c Update database connection information 2022-10-20 23:23:00 -04:00
rho_n 0837e11bfe Include announcement template in index template 2022-10-16 18:56:13 -04:00
rho_n 06ace35c41 Add announcement template 2022-10-16 18:23:51 -04:00
rho_n 6d0d1b99a6 Add page mumble-howto 2022-10-16 18:12:05 -04:00
rho_n fdeff3879a Update links in the comments section of the episode template 2022-10-09 15:45:22 -04:00
rho_n 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
rho_n 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
rho_n 3de4476a3f Add comments feed template 2022-10-08 08:52:47 -04:00
rho_n 4984ac3383 Add MACRO rss_show_series 2022-10-08 08:48:42 -04:00
rho_n e4463dc5ba Zero pad the day's date 2022-10-08 08:44:47 -04:00
rho_n 1d4e6e15b7 Refactor templates to use media_path MACRO 2022-10-01 13:42:46 -04:00
rho_n 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
rho_n fb70ae6253 Add media_path MACRO to shared utilities
Generate the full URL of an audio file.
2022-10-01 13:23:36 -04:00
rho_n 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
rho_n b0d31ee507 Allow user to modify zero_pad_left MACRO's padding
Add optional pad length argument
2022-10-01 12:51:11 -04:00
rho_n 991b3dcec1 Update SQL query to order results by id 2022-09-21 21:18:48 -04:00
rho_n 2eaaa11a69 Fix MACRO step_navigation
Check for existence of folder arg instead of empty value.
2022-09-19 22:00:18 -04:00
rho_n 3723303e31 Fix absolute path for media links 2022-09-18 19:21:19 -04:00
rho_n 3054d6519e Refactor template to use media_baseurl MACRO 2022-09-18 16:27:47 -04:00
rho_n c6e7a3c239 Refactor templates to use listen_now MACRO 2022-09-18 16:23:35 -04:00
rho_n dbf011395c Add MACRO listen_now 2022-09-18 16:21:00 -04:00
rho_n c817e3a17a Add MACRO media_baseurl
Allow the audio files to be served from a different host
2022-09-18 16:18:05 -04:00
rho_n 0edf9cc5a2 Fix missing id generation for twat episdoe files 2022-09-18 15:36:24 -04:00
rho_n dbd9f8e973 Integrate twat episodes
Add twat shows to the full episodes index, the host pages.
Add individule twat episodes.
2022-09-17 17:28:39 -04:00
rho_n 38d2e7c363 Calculate date till next available episode slot 2022-09-05 20:26:12 -04:00
rho_n f7216132a4 Update episode template to match current HPR layout and content 2022-09-02 18:23:50 -04:00
rho_n 67a8a2bfa4 Add MACRO display_listen_in 2022-09-02 18:21:15 -04:00
rho_n cfd463d2b0 Add MACRO display_comments_tally 2022-09-01 23:05:59 -04:00
rho_n 91cbc81a12 Add MACRO display_tags 2022-09-01 22:58:24 -04:00
rho_n 3b72fe6d28 Add comments to episode page 2022-08-31 20:44:31 -04:00
rho_n 76b976732b Add comment tally to index page 2022-08-31 20:43:43 -04:00
rho_n e2cf52af6e Use MACRO display_episode_duration in templates 2022-08-29 21:59:24 -04:00
rho_n 414bae101a Add MACRO display_episode_duration
Format duration as hh:mm:ss
2022-08-29 21:54:42 -04:00
rho_n dfbb4a24db Add missing MACRO absolute_path to link path 2022-08-25 20:10:21 -04:00
rho_n 4e1d525e6e Merge branch 'main' of repo.anhonesthost.net:rho_n/hpr_generator 2022-08-19 22:20:17 -04:00
rho_n 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
rho_n 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
rho_n b36293e52f Fix generation of series general page 2022-08-19 21:25:14 -04:00
rho_n 02eb8313d3 Fix links in intro text of index page 2022-08-18 21:26:57 -04:00
rho_n ff2ced6774 Fix capitalization of introduction text on index page 2022-08-18 21:19:32 -04:00
rho_n 0dc5a78dae Fix links in sitemap content template 2022-08-18 17:55:42 -04:00
rho_n 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
rho_n 5af4d93c8c Update links to HPR total feeds 2022-08-17 23:42:45 -04:00
rho_n cf001df9ec Add feed hpr_total
This includes all three audio type feeds
2022-08-17 22:41:59 -04:00
rho_n 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
rho_n 17ef26642a Add page Will my show be of interest to hackers 2022-08-17 21:30:54 -04:00
rho_n 91349eb504 Update links to main RSS feeds in page.tpl.html 2022-08-17 19:20:22 -04:00
rho_n 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
rho_n 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
rho_n 5b48b91e99 Add main HPR SPX feed 2022-08-17 18:08:45 -04:00
rho_n 507b7db4a1 Add main HPR MP3 feed 2022-08-17 17:56:56 -04:00
rho_n 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
rho_n 582f155ca1 Add MACRO format_feed_date
Display publication date in preferred format for feeds.
2022-08-17 15:50:03 -04:00
rho_n 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
rho_n af86b7114a Remove references to Report missing tags page
This project is finished, and no longer relevant.
2022-08-16 18:39:05 -04:00
rho_n 1df2db62b1 Add HPR favicon 2022-08-16 18:29:06 -04:00
rho_n d53d4fc36c Add page sitemap 2022-08-13 13:12:45 -04:00
rho_n 46ebfe2305 Fix links to static pages 2022-08-13 13:11:30 -04:00