hpr_generator/site.cfg

194 lines
5.0 KiB
INI
Raw Permalink Normal View History

# Configure the Perl DBI driver to allow the templates communicate
# with the database.
# dbi:<driver name [SQLite, CSV, ADO, mSQL, etc.]>:<database name>
[DBI]
database: mysql
2022-10-20 23:23:00 -04:00
driver: dbi:mysql:database=hpr_hpr:hostname=localhost
user: hpr-generator
password: zBozqN-Z2zNAz
# Configure the root template page which pulls in the navigation and
# 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.
[root_template]
content: page.tpl.html
#baseurl: OPTIONAL [i.e. file://<full path to local website directory>]
2022-10-20 23:23:00 -04:00
baseurl: file:///home/roan/Development/hpr/website/hpr_generator/public_html/
media_baseurl: https://archive.org/download/hpr$eps_id/
# Configure the navigation menu and the content templates for each page
# of the site:
#
# [page_name] REQUIRED
# navigation: REQUIRED <name of navigation template>
# content: REQUIRED <name of page content template>
# 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.
# Configure pages which use the same content template:
#
# multipage: OPTIONAL true | false (DEFAULT = false)
[index]
2022-07-01 22:07:06 -04:00
navigation: navigation-main.tpl.html
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
filename: correspondents/index.html
[contact]
navigation: navigation-about.tpl.html
content: content-contact.tpl.html
[correspondent]
navigation: navigation-about.tpl.html
content: content-correspondent.tpl.html
multipage: true
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
[series_episode]
navigation: navigation-get-shows.tpl.html
content: content-series_episode.tpl.html
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
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
[syndication]
navigation: navigation-get-shows.tpl.html
content: content-syndication.tpl.html
2022-08-08 20:53:04 -04:00
[contribute]
navigation: navigation-give-shows.tpl.html
content: content-contribute.tpl.html
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
[help_out]
navigation: navigation-contribute.tpl.html
content: content-help_out.tpl.html
2022-08-09 19:06:06 -04:00
[download]
navigation: navigation-get-shows.tpl.html
content: content-download.tpl.html
2022-08-09 22:05:06 -04:00
[stuff_you_need_to_know]
navigation: navigation-give-shows.tpl.html
content: content-stuff_you_need_to_know.tpl.html
2022-08-09 22:06:37 -04:00
[theme]
navigation: navigation-give-shows.tpl.html
content: content-theme.tpl.html
2022-08-10 22:08:38 -04:00
[requested_topics]
navigation: navigation-give-shows.tpl.html
content: content-requested_topics.tpl.html
2022-08-10 22:30:11 -04:00
[recording]
navigation: navigation-give-shows.tpl.html
content: content-recording.tpl.html
2022-08-11 08:51:13 -04:00
[request_a_slot]
navigation: navigation-give-shows.tpl.html
content: content-request_a_slot.tpl.html
2022-08-12 22:59:54 -04:00
[podcatchers]
navigation: navigation-contribute.tpl.html
content: content-podcatchers.tpl.html
2022-08-13 10:08:55 -04:00
[promote]
navigation: navigation-about.tpl.html
content: content-promote.tpl.html
2022-08-13 13:12:45 -04:00
[sitemap]
navigation: navigation-about.tpl.html
content: content-sitemap.tpl.html
[twat_episode]
navigation: navigation-get-shows.tpl.html
content: content-twat_episode.tpl.html
multipage: true
filename: eps/twat[id]/index.html
2022-10-20 23:23:00 -04:00
media_baseurl: https://www.hackerpublicradio.org/eps/
2022-10-16 18:12:05 -04:00
[mumble-howto]
navigation: navigation-about.tpl.html
content: content-mumble-howto.tpl.html
2023-02-24 20:42:01 -05:00
[comments_viewer]
navigation: navigation-about.tpl.html
content: content-comments_viewer.tpl.html
[hpr_ogg]
root_template: rss.tpl.xml
content: rss-hpr.tpl.xml
filename: hpr_ogg.rss
media_file_extension: ogg
2022-08-17 17:56:56 -04:00
[hpr_mp3]
root_template: rss.tpl.xml
content: rss-hpr.tpl.xml
2022-08-17 17:56:56 -04:00
filename: hpr_mp3.rss
media_file_extension: mp3
audio_mime_type: mpeg
2022-08-17 18:08:45 -04:00
[hpr_spx]
root_template: rss.tpl.xml
content: rss-hpr.tpl.xml
2022-08-17 18:08:45 -04:00
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