forked from rho_n/hpr_generator
Roan Horning
6d4f5f28c9
Add configuration properties to minimize the number of templates needed to generate the different audio format feeds.
154 lines
3.9 KiB
INI
154 lines
3.9 KiB
INI
# Configure the Perl DBI driver to allow the templates communicate
|
|
# with the database.
|
|
# dbi:<driver name [SQLite, CSV, ADO, mSQL, etc.]>:<database name>
|
|
[DBI]
|
|
driver: dbi:SQLite:hpr.db
|
|
user:
|
|
password:
|
|
|
|
# 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>]
|
|
|
|
# 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]
|
|
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
|
|
|
|
[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
|
|
|
|
[episodes]
|
|
navigation: navigation-get-shows.tpl.html
|
|
content: content-episodes.tpl.html
|
|
filename: eps/index.html
|
|
|
|
[episode]
|
|
navigation: navigation-get-shows.tpl.html
|
|
content: content-episode.tpl.html
|
|
multipage: true
|
|
filename: eps/hpr[id]/index.html
|
|
|
|
[syndication]
|
|
navigation: navigation-get-shows.tpl.html
|
|
content: content-syndication.tpl.html
|
|
|
|
[contribute]
|
|
navigation: navigation-give-shows.tpl.html
|
|
content: content-contribute.tpl.html
|
|
|
|
[search]
|
|
navigation: navigation-main.tpl.html
|
|
content: content-search.tpl.html
|
|
|
|
[help_out]
|
|
navigation: navigation-contribute.tpl.html
|
|
content: content-help_out.tpl.html
|
|
|
|
[download]
|
|
navigation: navigation-get-shows.tpl.html
|
|
content: content-download.tpl.html
|
|
|
|
[stuff_you_need_to_know]
|
|
navigation: navigation-give-shows.tpl.html
|
|
content: content-stuff_you_need_to_know.tpl.html
|
|
|
|
[theme]
|
|
navigation: navigation-give-shows.tpl.html
|
|
content: content-theme.tpl.html
|
|
|
|
[requested_topics]
|
|
navigation: navigation-give-shows.tpl.html
|
|
content: content-requested_topics.tpl.html
|
|
|
|
[recording]
|
|
navigation: navigation-give-shows.tpl.html
|
|
content: content-recording.tpl.html
|
|
|
|
[request_a_slot]
|
|
navigation: navigation-give-shows.tpl.html
|
|
content: content-request_a_slot.tpl.html
|
|
|
|
[podcatchers]
|
|
navigation: navigation-contribute.tpl.html
|
|
content: content-podcatchers.tpl.html
|
|
|
|
[promote]
|
|
navigation: navigation-about.tpl.html
|
|
content: content-promote.tpl.html
|
|
|
|
[sitemap]
|
|
navigation: navigation-about.tpl.html
|
|
content: content-sitemap.tpl.html
|
|
|
|
[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
|
|
|