Commit Graph

48 Commits

Author SHA1 Message Date
Dave Morriss
ccba560ee3 Setting up static RSS feeds
site-generator: Changed the routine used to generate entities in
    'HTML::Entities'; see filter function 'xml_entity'

site.cfg: Added root variable 'http_baseurl' which defines the base URL
    using 'http'

templates/rss.tpl.xml: RSS template defining the channel and inserting
    the 'item' definitions; adjusted to be in step with the PHP version.

templates/shared-item.tpl.xml: RSS template used for each 'item' in an
    RSS feed; contains a call to 'HTML::Strip' which turns off the
    addition of spaces when removing tags; adjusted to be in step with
    the PHP version.

templates/shared-utils.tpl.html: Macro collection used by other
    templates; addition of temporay macro 'display_explicit_feed_2'
    which generates 'Yes/No' strings to be in step with the PHP version.
2024-05-23 20:14:42 +01:00
7009533e25 Fixing invalid links in the templates. 2023-09-03 17:51:03 +02:00
0b841ba78f Fixed the link to the mail list
- added redirect via hpr_hub .htaccess file
- added links to mastodon, matrix, and mumble

Removed contact and stuff you need to know pages as these are now in the about page
2023-08-06 14:04:00 +02:00
726ac57989 Changes to get the site working 2023-06-17 22:04:35 +02:00
d828cdbce8 Rename php_baseurl to hub_baseurl 2023-05-30 20:48:32 +02:00
6211b9a033 Change dynamic site name to hub.hackerpublicradio.com 2023-05-30 20:10:08 +02:00
69055d6e9c Added php_baseurl 2023-05-30 09:13:01 +02:00
52c5d02dbc Add config entry for php_baseurl 2023-05-30 09:10:27 +02:00
Gordon Stanton
afc6b7518f Fixed link to Tags.
Get episode ID and episode tags from eps.
Generate the Tags page by looping through the tags, order by their first character.
Added tags page to the config.
2023-05-01 00:50:01 +10:00
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
a33fa197df
Fix database instructions in configuration file
Add back instructions for SQLite
2023-03-03 22:44:05 -05:00
59875e772e
Implement comments_viewer page 2023-02-24 20:42:01 -05:00
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
be1344e10c
Update database connection information 2022-10-20 23:23:00 -04:00
6d0d1b99a6
Add page mumble-howto 2022-10-16 18:12:05 -04:00
3de4476a3f
Add comments feed template 2022-10-08 08:52:47 -04:00
dbd9f8e973
Integrate twat episodes
Add twat shows to the full episodes index, the host pages.
Add individule twat episodes.
2022-09-17 17:28:39 -04:00
cf001df9ec
Add feed hpr_total
This includes all three audio type feeds
2022-08-17 22:41:59 -04:00
6d4f5f28c9
Refactor main feed to need fewer templates
Add configuration properties to minimize the number of templates
needed to generate the different audio format feeds.
2022-08-17 22:32:32 -04:00
5b48b91e99
Add main HPR SPX feed 2022-08-17 18:08:45 -04:00
507b7db4a1
Add main HPR MP3 feed 2022-08-17 17:56:56 -04:00
162d8c6703
Initial implementation of HPR RSS feeds template
Add templates and macros to create main HPR OGG feed.
2022-08-17 17:12:47 -04:00
d53d4fc36c
Add page sitemap 2022-08-13 13:12:45 -04:00
019607e94f
Add page promote 2022-08-13 10:08:55 -04:00
3365244688
Add page podcatchers 2022-08-12 22:59:54 -04:00
ca66743a3b
Add page request_a_slot 2022-08-11 08:51:13 -04:00
a65c18cbda
Add page recording 2022-08-10 22:30:11 -04:00
c1a5b25a67
Add page requested_topics 2022-08-10 22:08:38 -04:00
0d3c688167
Add Theme page 2022-08-09 22:06:37 -04:00
300c02eba9
Add Stuff you need to know page 2022-08-09 22:05:06 -04:00
18b44e515f
Add page download 2022-08-09 19:06:06 -04:00
f90c704033
Add page help_out 2022-08-08 22:00:24 -04:00
bccfa695a3
Add page search 2022-08-08 21:07:34 -04:00
0b916b9b98
Add page contribute 2022-08-08 20:53:04 -04:00
413ca0ce92
Add page syndication 2022-08-07 23:47:40 -04:00
227510316b
Add page episode 2022-08-07 14:09:44 -04:00
c34ddc6256
Rename page series_shows to series_episode
Align name with more standard naming scheme.
2022-08-06 12:14:47 -04:00
945ddc9939
Add episodes page to configuration file 2022-08-06 10:54:12 -04:00
a65dbbd32e
Implement full show index page 2022-08-05 17:44:58 -04:00
b1f1fd4229
Add generation of individual series pages 2022-08-05 15:51:59 -04:00
1800d52f88
Initial implementation of series page 2022-08-02 21:57:56 -04:00
536f7cce03
Add baseurl feature
Allow an optional base url to be included in generation of html files.
2022-07-31 19:25:56 -04:00
7770f67409
Allow multiple pages to be generated from one template
Feature to allow generation of host and episode pages.
2022-07-28 22:22:55 -04:00
873cfda86a
Allow defining of filename via configuration file 2022-07-28 21:59:38 -04:00
b0006071e9
Add about and index page templates 2022-07-01 22:07:06 -04:00
dd8b9b655b
Configure root template page in config file
Currently the root template is page.tpl.html.
2022-06-29 11:03:32 -04:00
3d0ddbfe24
Configure database connection in config file
Pass the db configuration info to the page templates via the
template constants feature.
2022-06-29 10:42:10 -04:00
5cb694de14
Initial add of site-generator app and config file
A Perl program which uses Template Toolkit to generate static html
files for Hacker Public Radio.

Signed-off-by: Roan Horning <roan.horning@gmail.com>
2022-06-28 05:38:36 -04:00