| 
									
										
										
										
											2022-06-29 10:42:10 -04:00
										 |  |  | # Configure the Perl DBI driver to allow the templates communicate  | 
					
						
							|  |  |  | # with the database. | 
					
						
							|  |  |  | # dbi:<driver name [SQLite, CSV, ADO, mSQL, etc.]>:<database name> | 
					
						
							| 
									
										
										
										
											2023-06-17 22:04:35 +02:00
										 |  |  | # For more information on Perl Template Toolkit see:  | 
					
						
							|  |  |  | # http://template-toolkit.org/docs/manual/index.html | 
					
						
							| 
									
										
										
										
											2022-06-29 10:42:10 -04:00
										 |  |  | [DBI] | 
					
						
							| 
									
										
										
										
											2023-03-03 22:40:53 -05:00
										 |  |  | # Configuration settings for SQLite | 
					
						
							| 
									
										
										
										
											2023-06-17 22:04:35 +02:00
										 |  |  | database: sqlite | 
					
						
							|  |  |  | driver: dbi:SQLite:hpr.db  | 
					
						
							| 
									
										
										
										
											2022-06-29 10:42:10 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-09 20:25:25 -05:00
										 |  |  | # Configure the location of the templates and the generated HTML | 
					
						
							|  |  |  | [app_paths] | 
					
						
							|  |  |  | templates_path: ./templates | 
					
						
							|  |  |  | output_path: ./public_html | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-29 11:03:32 -04:00
										 |  |  | # Configure the root template page which pulls in the navigation and  | 
					
						
							| 
									
										
										
										
											2022-07-31 19:25:56 -04:00
										 |  |  | # content templates used by each page. An optional baseurl property may  | 
					
						
							|  |  |  | # be defined. This is useful when opening files directly from local  | 
					
						
							|  |  |  | # filesystem to allow relative paths to work. | 
					
						
							| 
									
										
										
										
											2022-06-29 11:03:32 -04:00
										 |  |  | [root_template] | 
					
						
							|  |  |  | content: page.tpl.html | 
					
						
							| 
									
										
										
										
											2022-07-31 19:25:56 -04:00
										 |  |  | #baseurl: OPTIONAL [i.e. file://<full path to local website directory>] | 
					
						
							| 
									
										
										
										
											2024-05-23 20:14:42 +01:00
										 |  |  | http_baseurl: http://hackerpublicradio.org/ | 
					
						
							| 
									
										
										
										
											2023-06-17 22:04:35 +02:00
										 |  |  | hub_baseurl: https://hub.hackerpublicradio.org/ | 
					
						
							| 
									
										
										
										
											2024-10-22 12:10:21 +00:00
										 |  |  | media_baseurl: https://hub.hackerpublicradio.org/ccdn.php?filename=/eps/hpr$eps_id/ | 
					
						
							| 
									
										
										
										
											2023-06-17 22:04:35 +02:00
										 |  |  | generator_name: The HPR Robot | 
					
						
							|  |  |  | generator_email: robot.nospam@nospam.hackerpublicradio.org | 
					
						
							| 
									
										
										
										
											2022-06-29 11:03:32 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-28 05:25:36 -04:00
										 |  |  | # Configure the navigation menu and the content templates for each page  | 
					
						
							|  |  |  | # of the site: | 
					
						
							| 
									
										
										
										
											2022-08-06 10:51:32 -04:00
										 |  |  | # | 
					
						
							|  |  |  | # [page_name] REQUIRED | 
					
						
							|  |  |  | # navigation: REQUIRED <name of navigation template> | 
					
						
							|  |  |  | # content: REQUIRED <name of page content template> | 
					
						
							| 
									
										
										
										
											2022-07-28 21:59:38 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Configure filename if default name is not desired  | 
					
						
							|  |  |  | # (Default is "ROOT/[page_name].html"): | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # filename: OPTIONAL <relative path from ROOT -- optional> | 
					
						
							|  |  |  | # * <directory path> -- Must end in forward slash. File will be created  | 
					
						
							|  |  |  | #                       in this path with the default naming scheme. | 
					
						
							|  |  |  | # * <file name> -- May include a relative path. Should include the file  | 
					
						
							|  |  |  | #                  extension. May have [id] marker in path or name which  | 
					
						
							|  |  |  | #                  will be substituted with a padded page id. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-28 22:04:15 -04:00
										 |  |  | # Configure pages which use the same content template: | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # multipage: OPTIONAL true | false (DEFAULT = false)   | 
					
						
							| 
									
										
										
										
											2022-06-28 05:25:36 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | [index] | 
					
						
							| 
									
										
										
										
											2022-07-01 22:07:06 -04:00
										 |  |  | navigation: navigation-main.tpl.html | 
					
						
							| 
									
										
										
										
											2022-06-28 05:25:36 -04:00
										 |  |  | content: content-index.tpl.html | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [about] | 
					
						
							|  |  |  | navigation: navigation-about.tpl.html | 
					
						
							|  |  |  | content: content-about.tpl.html | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [correspondents] | 
					
						
							|  |  |  | navigation: navigation-about.tpl.html | 
					
						
							|  |  |  | content: content-correspondents.tpl.html | 
					
						
							| 
									
										
										
										
											2022-07-28 21:59:38 -04:00
										 |  |  | filename: correspondents/index.html | 
					
						
							| 
									
										
										
										
											2022-06-28 05:25:36 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-28 22:04:15 -04:00
										 |  |  | [correspondent] | 
					
						
							|  |  |  | navigation: navigation-about.tpl.html | 
					
						
							|  |  |  | content: content-correspondent.tpl.html | 
					
						
							|  |  |  | multipage: true | 
					
						
							| 
									
										
										
										
											2022-08-06 10:51:32 -04:00
										 |  |  | filename: correspondents/[id].html | 
					
						
							| 
									
										
										
										
											2022-08-02 21:57:56 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | [series] | 
					
						
							|  |  |  | navigation: navigation-get-shows.tpl.html | 
					
						
							|  |  |  | content: content-series.tpl.html | 
					
						
							|  |  |  | filename: series/index.html | 
					
						
							| 
									
										
										
										
											2022-08-05 15:51:59 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-06 12:14:47 -04:00
										 |  |  | [series_episode] | 
					
						
							| 
									
										
										
										
											2022-08-05 15:51:59 -04:00
										 |  |  | navigation: navigation-get-shows.tpl.html | 
					
						
							| 
									
										
										
										
											2022-08-06 12:14:47 -04:00
										 |  |  | content: content-series_episode.tpl.html | 
					
						
							| 
									
										
										
										
											2022-08-05 15:51:59 -04:00
										 |  |  | multipage: true | 
					
						
							|  |  |  | filename: series/[id].html | 
					
						
							| 
									
										
										
										
											2022-08-05 17:44:58 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | [episodes] | 
					
						
							|  |  |  | navigation: navigation-get-shows.tpl.html | 
					
						
							|  |  |  | content: content-episodes.tpl.html | 
					
						
							| 
									
										
										
										
											2022-08-06 10:51:32 -04:00
										 |  |  | filename: eps/index.html | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-07 14:09:44 -04:00
										 |  |  | [episode] | 
					
						
							|  |  |  | navigation: navigation-get-shows.tpl.html | 
					
						
							|  |  |  | content: content-episode.tpl.html | 
					
						
							|  |  |  | multipage: true | 
					
						
							|  |  |  | filename: eps/hpr[id]/index.html | 
					
						
							| 
									
										
										
										
											2022-08-07 23:47:40 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-13 17:02:05 -04:00
										 |  |  | [download] | 
					
						
							|  |  |  | navigation: navigation-get-shows.tpl.html | 
					
						
							|  |  |  | content: content-download.tpl.html | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-07 23:47:40 -04:00
										 |  |  | [syndication] | 
					
						
							|  |  |  | navigation: navigation-get-shows.tpl.html | 
					
						
							|  |  |  | content: content-syndication.tpl.html | 
					
						
							| 
									
										
										
										
											2022-08-08 20:53:04 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-08 21:07:34 -04:00
										 |  |  | [search] | 
					
						
							|  |  |  | navigation: navigation-main.tpl.html | 
					
						
							|  |  |  | content: content-search.tpl.html | 
					
						
							| 
									
										
										
										
											2022-08-08 22:00:24 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-13 13:12:45 -04:00
										 |  |  | [sitemap] | 
					
						
							|  |  |  | navigation: navigation-about.tpl.html | 
					
						
							|  |  |  | content: content-sitemap.tpl.html | 
					
						
							| 
									
										
										
										
											2022-08-17 17:12:47 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-01 00:50:01 +10:00
										 |  |  | [tags] | 
					
						
							|  |  |  | navigation: navigation-main.tpl.html | 
					
						
							|  |  |  | content: content-tags.tpl.html | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-17 17:28:39 -04:00
										 |  |  | [twat_episode] | 
					
						
							|  |  |  | navigation: navigation-get-shows.tpl.html | 
					
						
							|  |  |  | content: content-twat_episode.tpl.html | 
					
						
							|  |  |  | multipage: true | 
					
						
							| 
									
										
										
										
											2025-01-21 23:47:07 -05:00
										 |  |  | filename: eps/twt[id]/index.html | 
					
						
							| 
									
										
										
										
											2022-09-17 17:28:39 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-16 18:12:05 -04:00
										 |  |  | [mumble-howto] | 
					
						
							|  |  |  | navigation: navigation-about.tpl.html | 
					
						
							|  |  |  | content: content-mumble-howto.tpl.html | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-13 17:22:18 -04:00
										 |  |  | [contact] | 
					
						
							|  |  |  | navigation: navigation-about.tpl.html | 
					
						
							|  |  |  | content: content-contact.tpl.html | 
					
						
							| 
									
										
										
										
											2022-10-16 18:12:05 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-10-13 17:39:10 -04:00
										 |  |  | [promote] | 
					
						
							|  |  |  | navigation: navigation-about.tpl.html | 
					
						
							|  |  |  | content: content-promote.tpl.html  | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-24 20:42:01 -05:00
										 |  |  | [comments_viewer] | 
					
						
							|  |  |  | navigation: navigation-about.tpl.html | 
					
						
							|  |  |  | content: content-comments_viewer.tpl.html | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-03 17:51:03 +02:00
										 |  |  | [hpr_ogg] | 
					
						
							|  |  |  | root_template: rss.tpl.xml | 
					
						
							|  |  |  | content: rss-hpr.tpl.xml | 
					
						
							|  |  |  | filename: hpr_ogg.rss | 
					
						
							|  |  |  | media_file_extension: ogg | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [hpr_mp3] | 
					
						
							|  |  |  | root_template: rss.tpl.xml | 
					
						
							|  |  |  | content: rss-hpr.tpl.xml | 
					
						
							|  |  |  | filename: hpr_mp3.rss | 
					
						
							|  |  |  | media_file_extension: mp3 | 
					
						
							|  |  |  | audio_mime_type: mpeg | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [hpr_spx] | 
					
						
							|  |  |  | root_template: rss.tpl.xml | 
					
						
							|  |  |  | content: rss-hpr.tpl.xml | 
					
						
							|  |  |  | filename: hpr_spx.rss | 
					
						
							|  |  |  | media_file_extension: spx | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [hpr_total_ogg] | 
					
						
							|  |  |  | root_template: rss.tpl.xml | 
					
						
							|  |  |  | content: rss-hpr_total.tpl.xml | 
					
						
							|  |  |  | filename: hpr_total_ogg.rss | 
					
						
							|  |  |  | media_file_extension: ogg | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [hpr_total_mp3] | 
					
						
							|  |  |  | root_template: rss.tpl.xml | 
					
						
							|  |  |  | content: rss-hpr_total.tpl.xml | 
					
						
							|  |  |  | filename: hpr_total_mp3.rss | 
					
						
							|  |  |  | media_file_extension: mp3 | 
					
						
							|  |  |  | audio_mime_type: mpeg | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [hpr_total_spx] | 
					
						
							|  |  |  | root_template: rss.tpl.xml | 
					
						
							|  |  |  | content: rss-hpr_total.tpl.xml | 
					
						
							|  |  |  | filename: hpr_total_spx.rss | 
					
						
							|  |  |  | media_file_extension: spx | 
					
						
							| 
									
										
										
										
											2022-10-08 08:52:47 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | [comments] | 
					
						
							|  |  |  | root_template: rss-comments.tpl.xml | 
					
						
							|  |  |  | filename: comments.rss |