Commit Graph
100 Commits
Author SHA1 Message Date
rho_n ebe230ee0a Initial formatting of swim lanes on main landing page 2025-07-15 21:06:33 -04:00
rho_n da62e4ec51 Add QR code with logo 2025-07-14 20:51:41 -04:00
rho_n 34d13fa0c6 Format main template to new website design
Create basic structure in html to be displayed using the CSS
Flex box model
2025-07-14 20:13:06 -04:00
rho_n 6d59372077 Update donation URL for AnHonestHost 2025-03-17 23:04:47 -04:00
rho_n 28af8900a3 fix entity escape for xml data
For title and other xml data replace &, <, >, ', and " with
corresponding escape entities. Also use http_baseurl so
complete urls will be generated.
2025-01-27 22:26:32 -05:00
rho_n 45dd69d855 Replace spx file reference with opus 2025-01-23 22:45:06 -05:00
rho_n f58e25a685 Move location of transcription text
Move from after the show notes to after the show duration.
2025-01-23 22:42:40 -05:00
rho_n 1cec6b45f0 Simplify transcription text 2025-01-23 22:36:18 -05:00
rho_n f135b1119a Change Today with a Techie href id 2025-01-21 23:59:23 -05:00
rho_n 15547a2e87 Change Today with a Techie folder name
Change name to twt$eps_id
Fix media_path to call Today with a Techie shows from the CCDN.
2025-01-21 23:58:23 -05:00
rho_n 146107b122 Remove show reference to Internet Archive 2024-12-03 22:47:34 -05:00
rho_n c1078d9b9c Replace day_from_date MACRO with day_and_date MACRO
Refactor content templates to use day_and_date MACRO
2024-10-27 13:04:19 -04:00
rho_n 27caa97c7d Add MACRO day_and_date
Formats a string date to <day of week>, <YYYY-mm-dd>
2024-10-27 13:01:14 -04:00
rho_n c32a343728 Simplify MACRO day_from_date 2024-10-27 12:56:47 -04:00
rho_n 7d07b8b814 Add weekday of episode to release information displayed 2024-10-27 09:48:45 -04:00
rho_n a38c8e2705 Add MACRO day_from_date 2024-10-23 07:29:58 -04:00
rho_n dcea8a374b Set minimum height of host table avatar column 2024-10-20 10:33:10 -04:00
rho_n 5cfb37cae2 Allow horizontal scroll on small screens for tables
This is applied to the .hosts and #t01 tables only
2024-10-20 10:18:20 -04:00
rho_n 85258d03ba Alternate background color for rows of table#t01 2024-10-20 10:14:47 -04:00
rho_n ef17c94d58 Merge branch 'main' into i217-implement-promote-hpr-page 2024-10-14 21:31:44 -04:00
rho_n 9a83c13daf Add Promote HPR page
Implement the template file and add reference to site.cfg.
2024-10-13 17:39:10 -04:00
rho_n e4e1813bc0 Fix URL for hackerpublicradio.org 2024-10-13 17:25:34 -04:00
rho_n b802a8a7b2 Add Contact page
Implement template file and add reference in site.cfg
2024-10-13 17:22:18 -04:00
rho_n 84d868cf25 Add Download Options page
Implement template file and add download page to site.cfg
2024-10-13 17:02:05 -04:00
rho_n 8f31864b83 Add id attribute to previous five weeks section 2024-10-12 11:06:41 -04:00
rho_n 2b0b02ecb7 Remove uneeded in-line styling and tag attributes 2024-10-12 11:05:52 -04:00
rho_n 9655c56ee6 Format CSS for consistency 2024-10-12 11:02:06 -04:00
rho_n 87b7f7bde6 Create media breakpoint that matches original wide screen setting
For larger screens constrain viewing width and growth of font-size, and margins to approximately corresponding sizes of the original layout. Prevent things from getting too large.
2024-10-12 10:53:07 -04:00
rho_n 69f19976fd Use fluid responsive design for hr tag 2024-10-12 10:49:16 -04:00
rho_n 6062cfd6b4 Clean up look of comment form 2024-10-12 10:47:29 -04:00
rho_n 51adbcd938 Add fluid responsive design to page footer 2024-10-12 10:46:32 -04:00
rho_n 7cd0cc3056 Add fluid responsive design to hosts table 2024-10-12 10:45:23 -04:00
rho_n d1539a3ca2 Add fluid responsive design to comment and code tags 2024-10-12 10:43:51 -04:00
rho_n ad89f1fb4f Modify white space of main menu
Add some accessiblility touches: change cursor to pointer on hover, change link color on active event.
2024-10-12 10:42:18 -04:00
rho_n 6b2a324730 Modify whitespace and sizing of headers in banner 2024-10-12 10:38:19 -04:00
rho_n e8f01ba5c5 Use fluid design for main container margins and padding 2024-10-12 10:24:27 -04:00
rho_n 68e51c0a32 Initial reset of tags to use fluid responsive design
Use the clamping function to change the base font size as the size of the screen varies. Modify font-size, padding, and margin sizes to rely on the base font size (use rem units). In addition improve usage of white space by modifying line-height, margins, and padding of various tags.
2024-10-12 09:30:40 -04:00
rho_n 85d43851d1 Fix substring initial offset value
Remove only the leading comma character.
2024-10-08 21:49:58 -04:00
rho_n 8b277607cf Fix guard for unitialized variable
The original guard was preventing an id with value of
zero from being processed correctly.
2024-10-08 17:37:48 -04:00
rho_n 0e1ddf7006 Remove reference to Gitlab repository 2024-10-01 16:43:24 -04:00
rho_n 7ac6a8c51f Fix repository account from rho_n to HPR 2024-10-01 16:40:52 -04:00
rho_n 20409e9521 Change account from rho_n to HPR 2024-09-30 11:53:27 -04:00
rho_n f377f56002 Use FILTER html_line_break to format comments
For comments in an episode page, use the html_line_break filter
instead of the html_para filter. The html_line_break filter is
used in the comment viewer page.
2024-09-29 20:10:20 -04:00
rho_n b17daba4ed Fix generation of tags index page
Replace white-space in ID attributes with the underscore
character. Fix generation of tags that start with the letter
k. The tag, keys, caused issues when used as a hash key.
2024-09-17 23:03:52 -04:00
rho_n 70d5983ede Parse db tag field with CSV parser module
The CSV parser module is being used in another
template. Make tag field parsing consistent.
2024-09-17 22:58:54 -04:00
rho_n 31a5994731 Refactor template to use tag_to_id macro 2024-09-17 22:24:16 -04:00
rho_n aaaaa29d8e Add macro tag_to_id 2024-09-15 15:42:46 -04:00
rho_n 3662ebd0aa Code formatting 2024-09-09 21:36:36 -04:00
rho_n c64ad492c8 Limit correspondent page episode count to released episodes
Fix for rho_n/hpr_generator#188
2024-09-08 12:23:45 -04:00
rho_n 0f57b99fbe Add instructions for the dependency check script 2024-09-08 09:30:40 -04:00
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