diff --git a/site-generator b/site-generator index 71ec176..405c849 100755 --- a/site-generator +++ b/site-generator @@ -116,8 +116,15 @@ use Pod::Usage; use Config::Std; use Text::CSV_XS; use HTML::Entities qw(encode_entities_numeric); +use Date::Calc; +use DBI; +use DBD::SQLite; +use Tie::DBI; use Template; +use Template::Plugin::Date; +use Template::Plugin::DBI; use Template::Plugin::HTML::Strip; + use Data::Dumper; exit main(); diff --git a/templates/content-about.tpl.html b/templates/content-about.tpl.html index e3d7f1e..a9df034 100644 --- a/templates/content-about.tpl.html +++ b/templates/content-about.tpl.html @@ -1,40 +1,40 @@ -
What differentiates HPR from other podcasts is that the shows are crowd sourced from the community - fellow listeners like you. There is no restriction on how long the show can be, nor on the topic you can cover as long as they are not spam and "are of interest to Hackers". If you want to see what topics have been covered so far just have a look at our Archive. We also allow for a series of shows so that hosts can go into more detail on a topic.
+
What differentiates HPR from other podcasts is that the shows are crowd sourced from the community - fellow listeners like you. There is no restriction on how long the show can be, nor on the topic you can cover as long as they are not spam and "are of interest to Hackers". If you want to see what topics have been covered so far just have a look at our Archive. We also allow for a series of shows so that hosts can go into more detail on a topic.
-
You can download/listen to the shows here or you can subscribe to the show in your favorite podcatching client to automatically get our new shows as soon as they are available. You can copy and redistribute the shows for free provided you adhere to the Creative Commons Attribution
You can download/listen to the shows here or you can subscribe to the show in your favorite podcatching client to automatically get our new shows as soon as they are available. You can copy and redistribute the shows for free provided you adhere to the Creative Commons Attribution
Hacker Public Radio (HPR) is an Internet Radio show (podcast) that releases shows every weekday Monday through Friday. HPR has a long lineage going back to Radio FreeK America, Binary Revolution Radio & Infonomicon, and it is a direct continuation of Twatech radio. Please listen to StankDawg's "Introduction to HPR" for more information.
+Hacker Public Radio (HPR) is an Internet Radio show (podcast) that releases shows every weekday Monday through Friday. HPR has a long lineage going back to Radio FreeK America, Binary Revolution Radio & Infonomicon, and it is a direct continuation of Twatech radio. Please listen to StankDawg's "Introduction to HPR" for more information.
-Hacker Public Radio is dedicated to sharing knowledge. We do not accept donations so please consider supporting our patrons. If you listen to HPR, then we would love you to contribute one show a year. Our shows are by default released under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. All the software we use is Free software. All the code we develop is published in our gitlab repository. All the media is available via the feeds. We are going through an audit process to release the website code as well.
-HPR is entirely community driven. Policy decisions are proposed and discussed on the Mailing list, which is open to anyone to join. Mailing list discussions are brought to the attention of the listening community on the first Monday of the month in the HPR Community News show. This show is also open to anyone to participate in. The schedule for the Community News shows can be downloaded as an iCal calendar containing recording dates for the next 12 months. A reminder is also sent to the mailing list in the week before the recording.
-Our hosting is kindly provided to us by Josh Knapp from AnHonestHost.com, and he has the last word in issues related to site security. A changing team of volunteers called the "admins" or "Janitors", deal with the day to day operation of HPR. Acting as the first point of contact, processing the shows, coordinating policy discussions, removing spam, updating the website, etc. They are contactable via the email account admin @ HPR. They have no more say over policy than anyone else. Anyone who has shown a long term dedication to the project and is trusted by the community, can become an admin. +
HPR is entirely community driven. Policy decisions are proposed and discussed on the Mailing list, which is open to anyone to join. Mailing list discussions are brought to the attention of the listening community on the first Monday of the month in the HPR Community News show. This show is also open to anyone to participate in. The schedule for the Community News shows can be downloaded as an iCal calendar containing recording dates for the next 12 months. A reminder is also sent to the mailing list in the week before the recording.
+Our hosting is kindly provided to us by Josh Knapp from AnHonestHost.com, and he has the last word in issues related to site security. A changing team of volunteers called the "admins" or "Janitors", deal with the day to day operation of HPR. Acting as the first point of contact, processing the shows, coordinating policy discussions, removing spam, updating the website, etc. They are contactable via the email account admin @ HPR. They have no more say over policy than anyone else. Anyone who has shown a long term dedication to the project and is trusted by the community, can become an admin.
-See the section stuff you need to know for more information.
+See the section stuff you need to know for more information.
Our hosting is kindly provided by Josh from AnHonestHost.com. We would appreciate it if you could donate to help reduce his costs in funding the hosting. He is also accepting bitcoins to 1KsxJr9HtsdaUeU7yaV9bk9bQi21UPBtUq
@@ -52,14 +52,14 @@We are always looking for more hosts...
HPR is governed by the community, so decisions about how Public Radio should be run are made on the mailing list you can join it by going to :
- /maillist
+
Well you've come to the right place. Our goal here at HPR is to make it as easy as possible for you to get a podcast released. We take care of the hard bits so you don't need to. Recording your first show is always a daunting prospect but over people like yourself have done it and so can you.
-The first thing you will need to do is decide on a topic for your show. You might already have an idea but if not you can have a look at our Archive page for examples of shows people have recorded in the past. You can also look at our Requested Topics, or our Series page to see if you can add your knowledge to the pool.
@@ -122,7 +122,7 @@ If you can't think of anything to talk about then please just record a show telling us how you got into tech as a way to introducing yourself to the community. -Please select more detailed information on how to record a show:
@@ -138,7 +138,7 @@Don't forget to introduce yourself in your show.
-Once you have your audio ready you can post your show by going to the Calendar page or press the ⇧Upload⇧ button.
@@ -149,12 +149,12 @@ More Information. -
Got any questions not covered here, then just email "admin" at "", and we’ll get in touch with you with all you need to know about getting your show published.
You can chat with other podcasters using IRC in the #oggcastplanet channel on the freenode.net network. Follow us on identi.ca (use the tag !hpr) and on Twitter (use the tag #hpr). We have a Facebook and LinkedIn group, so please join and spread the word.
Fellow listeners like yourself contribute the shows and so we all know how hard it is to do that first show. You're probably worried that we won't like the topic. Well don't be, have a look at our archive to see how diverse the contributions have been. You're probably worried about the quality of your audio, that you sound funny, that English isn't your native language, that you suffer from a speech impediment, that your show has loads of ummms and awws in it, well don't be. We have plenty of hosts that fall into all these categories but continue to produce great shows.
@@ -173,7 +173,7 @@This is a list of topics that have been requested by the community. Feel free to add it to the list by emailing admin at hpr or by tweeting us on @HPR.
The community decides the HPR policies. - Please join the HPR Mailing List to participate. + Please join the HPR Mailing List to participate.
- In exceptional circumstances it may be necessary to reserve a slot while not having the audio available, but this must be approved by the HPR Mailing List in advance. + In exceptional circumstances it may be necessary to reserve a slot while not having the audio available, but this must be approved by the HPR Mailing List in advance. Be sure to allow as much time as possible, and include a reason why you feel it is necessary to reserve the slot.
@@ -481,7 +481,7 @@
Feel free to use the promotional material to spread the word in your podcasts, or have them played on to other shows.
- Any host can select any free slot a up to year in advance, by recording their show and uploading it to the desired slot. In exceptional circumstances it may be necessary to reserve a slot while not having the audio available, but this must be approved by the HPR mailing list in advance. Be sure to allow as much time as possible, and include a reason why you feel it is necessary to reserve the slot. + Any host can select any free slot a up to year in advance, by recording their show and uploading it to the desired slot. In exceptional circumstances it may be necessary to reserve a slot while not having the audio available, but this must be approved by the HPR mailing list in advance. Be sure to allow as much time as possible, and include a reason why you feel it is necessary to reserve the slot.
This is intended only for exceptional circumstances, such as a scheduled interview where we would like the audio to be released as soon after the event as possible, or to cover an important topical situation that has occurred. Due to the extended time now needed to post shows to external sites, the extra work this entails and the disruptive effect of reservations, we will no longer be allowing them except in very rare cases of the type mentioned above. [?] @@ -687,7 +687,7 @@
Similarly, a summary helps to add more information describing the show so a potential listener can decide whether to listen to it or not.
Each show is expected to have certain mandatory attributes listed below.
HPR shows are usually expected to be informative or educational, and as such some sort of accompanying written material is highly desirable. This might consist of brief notes, links to relevant web sites, or possibly longer notes and examples. Photographs, diagrams and example files are also welcome if the host feels it helps to get the message across.
Shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported license. See Stuff you need to know for much more detail about this and related issues.
Shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported license. See Stuff you need to know for much more detail about this and related issues.
As a contributor you can choose when your show will be released. We only release one show a day, during week days, but if a slot is free you can claim it. Go to the calendar page to do this. You need to have your show ready to upload before you reserve a slot though.
- Then just record your show, request a slot, and we'll do the rest. + Then just record your show, request a slot, and we'll do the rest.
- +
Audacity is a free, easy-to-use and multilingual audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems.@@ -70,7 +70,7 @@
- +
- +
- Any host can select any free slot a up to year in advance, by recording their show and uploading it to the desired slot. In exceptional circumstances it may be necessary to reserve a slot while not having the audio available, but this must be approved by the HPR mailing list in advance. Be sure to allow as much time as possible, and include a reason why you feel it is necessary to reserve the slot. + Any host can select any free slot a up to year in advance, by recording their show and uploading it to the desired slot. In exceptional circumstances it may be necessary to reserve a slot while not having the audio available, but this must be approved by the HPR mailing list in advance. Be sure to allow as much time as possible, and include a reason why you feel it is necessary to reserve the slot.
This is intended only for exceptional circumstances, such as a scheduled interview where we would like the audio to be released as soon after the event as possible, or to cover an important topical situation that has occurred. Due to the extended time now needed to post shows to external sites, the extra work this entails and the disruptive effect of reservations, we will no longer be allowing them except in very rare cases of the type mentioned above. [?]
- You can post your show by going to the Calendar page. Once you have selected a date you will be redirected to the request page, where you will be asked to select your show and email address. We will send a link to where you can upload your show to this address and therefore it must be a valid working address that you can access quickly. We intend to use GPG to speed up the validation of hosts, so you may wish to use an email address that has an associated public key available on public key servers. + You can post your show by going to the Calendar page. Once you have selected a date you will be redirected to the request page, where you will be asked to select your show and email address. We will send a link to where you can upload your show to this address and therefore it must be a valid working address that you can access quickly. We intend to use GPG to speed up the validation of hosts, so you may wish to use an email address that has an associated public key available on public key servers.
- The audio of your show will not be moderated, however the information provided in the upload form may be moderated. All publicly facing material is managed by the HPR Community as a whole, and not just the host providing the show. The show hpr2210 :: On Freedom of Speech and Censorship describes the agreed approach to this topic. + The audio of your show will not be moderated, however the information provided in the upload form may be moderated. All publicly facing material is managed by the HPR Community as a whole, and not just the host providing the show. The show hpr2210 :: On Freedom of Speech and Censorship describes the agreed approach to this topic.
Note: This email address will be published on the HPR website and will be given out in the feeds, so please use a public email address for this purpose. Where we publish it we pad it with dot nospam at-sign nospam dot.
i.e. hpr@example.com becomes hpr.nospam@nospam.example.com. If you do not want to have your email exposed, please contact the admin@hpr team to arrange a alias.
@@ -52,7 +52,7 @@