Commit Graph
100 Commits
Author SHA1 Message Date
rho_n 48b3c51bb3 Update instructions for installing modules via CPAN 2024-09-08 09:08:23 -04:00
rho_n 4e9f1457d5 Fix typos in module names 2024-09-08 09:05:34 -04:00
rho_n 4ae854f5e1 Remove unused module import
The dbi sqlite module is not directly used in the site-generator code.
The module is called by template files. Removing it allows the main
code to be database independent.
2024-09-08 09:01:17 -04:00
rho_n af810c88bc Add bash script to check Perl module dependencies 2024-09-07 16:51:55 -04:00
rho_n 33d98904e2 Skip padding when id is empty string 2023-06-04 22:40:55 -04:00
rho_n e7fe824302 Fix calculation of the days until next available episode timeslot
Do all date calulation in DB instead of naively adding 1 to the
day that is returned.
2023-05-18 09:04:04 -04:00
rho_n 8b218e2036 Fix episode url issues
Add absolute_path macro. Add eps folder to path. Pad episode number
in path.
2023-05-06 09:07:25 -04:00
rho_n 6c9d6239bb Update audio link to use media_path MACRO 2023-04-02 10:24:41 -04:00
rho_n ebced513ad Add audio links to the episodes on a series page 2023-04-02 09:06:57 -04:00
rho_n a2863e5d84 Update layout of episode summary information. 2023-04-02 08:53:07 -04:00
rho_n 1c94855de2 Update location of comments
The listen_now MACRO formating changed, requiring an update to the postion of the comments reference.
2023-04-02 08:50:04 -04:00
rho_n c6e909523f Add requested audio links
Have links to an episodes auido files appear in the Last 5 weeks section of the index page, on the full index page, and on individual host pages.
2023-04-02 07:24:43 -04:00
rho_n a9c4388cb0 Update listen_now MACRO
The ability to download and play the episode is being moved up in the episode description. Display content in a more condensed form.
2023-04-01 19:56:11 -04:00
rho_n 24c2f9044e Update show_meta MACRO
Display comments as part of the show meta data
2023-04-01 19:37:38 -04:00
rho_n f045cdd32f Update display_comments_tally MACRO
Display on the number of comments. Show a message
when the show has now comments.
2023-04-01 19:34:09 -04:00
rho_n dc4377d588 Add arial-title attribute to episode download links 2023-04-01 19:29:00 -04:00
rho_n c9278c0dd6 Remove unused PROCESS directive 2023-03-13 23:16:37 -04:00
rho_n aabeca44f5 Refactor templates to use show_avatar MACRO 2023-03-13 23:15:46 -04:00
rho_n 3a8b6db348 Add show_avatar MACRO 2023-03-13 23:14:35 -04:00
rho_n 7a6ace156f Refactor template to use get_avatar MACRO 2023-03-13 23:13:25 -04:00
rho_n dee924e6a8 Rename MACRO host_thumb to get_avatar
Update to use lazy_load MACRO and minimize number of
arguments needed.
2023-03-13 23:10:36 -04:00
rho_n 5b4421071f Add MACRO lazy_load
Macro which allows programatically setting the HTML5 img
loading attribute.
2023-03-13 23:03:15 -04:00
rho_n 7406a9baa4 Add acknowledgement of gordons 2023-03-13 20:47:59 -04:00
rho_n fc7975379e Fix grammer issues 2023-03-09 21:42:36 -05:00
rho_n 207eabec86 Add reference to the file GETTING_STARTED.md
Update the Installation instructions to include reference
to the Getting Started tutorial.
2023-03-09 21:39:53 -05:00
rho_n c9af4fbde8 Merge branch 'main' into I87-Getting_Started_tutorial 2023-03-09 21:04:02 -05:00
rho_n ea8403c7b6 Fix link to comments viewer in about navigation menu 2023-03-09 20:59:26 -05:00
rho_n b16a1c3a5f Merge branch 'main' into I87-Getting_Started_tutorial 2023-03-09 20:38:48 -05:00
rho_n f65e892182 Add template and HTML folder configuration options
Allow user to set the path for the website templates and
output folders in the site.cfg file.
2023-03-09 20:25:25 -05:00
rho_n 14bafbc3ab Add command line option for path to configuration file
Allow user to pass the path to the configuration file into the
site-generator.
2023-03-08 22:23:56 -05:00
rho_n 231a50957f Fix clone command of repositories 2023-03-07 19:33:09 -05:00
rho_n 9310a8642d Add instructions for running the site-configurator 2023-03-07 19:11:19 -05:00
rho_n 97a5d4ebbd Add instructions for configuring the site-generator 2023-03-07 19:09:33 -05:00
rho_n b420453abd Add instructions for creating HPR SQLite file 2023-03-07 19:06:29 -05:00
rho_n 7feae31e11 Add helper script that creates the HPR SQLite file 2023-03-07 19:03:08 -05:00
rho_n d6068778ab Add instructions for installing Perl modules 2023-03-07 18:55:08 -05:00
rho_n 82d761bf68 Update Clone the Repository section
Add reference to the gitlab.com mirror repository.
2023-03-07 18:53:03 -05:00
rho_n 16d6cf99aa Add instructions for cloning the repository 2023-03-04 09:27:56 -05:00
rho_n add4f338be Add Getting Started tutorial
Currently a very high level outline of the document.
2023-03-04 09:10:06 -05:00
rho_n 24a12a5af3 Update instructions for creating SQLite db
Update the main README file and the POD Installation section
of the site-configuration program.
2023-03-03 23:53:21 -05:00
rho_n add92ef20d Add utility script to refresh the local website
This script  will download latest MySQL dump file from
hacckerpublicradio.org. Generate a new hpr.db SQLite file,
and then regenerate all of the website files.
2023-03-03 23:32:35 -05:00
rho_n f8e397d0bd Add required script mysql2sqlite to repository
Converts MySQL dump to SQLite3 compatible dump
    (including MySQL KEY xxxxx statements from the CREATE block).

    Website: https://github.com/dumblob/mysql2sqlite
    The MIT License (MIT)
    Copyright (c) 2015 esperlu, 2016 dumblob
2023-03-03 23:00:50 -05:00
rho_n 6d588dc558 Merge branch 'main' into I82_creating-sqlite-db-from-hpr.sql 2023-03-03 22:52:21 -05:00
rho_n a33fa197df Fix database instructions in configuration file
Add back instructions for SQLite
2023-03-03 22:44:05 -05:00
rho_n e7e752f1e8 Improve function messages 2023-03-03 21:47:29 -05:00
rho_n 094287837c Put variables into local scope of the function
Forgot to use the local keyword when declaring the variables.
2023-03-03 21:44:35 -05:00
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