forked from HPR/hpr_generator
		
	Add Download Options page
Implement template file and add download page to site.cfg
This commit is contained in:
		
							
								
								
									
										4
									
								
								site.cfg
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								site.cfg
									
									
									
									
									
								
							| @@ -97,6 +97,10 @@ content: content-episode.tpl.html | ||||
| multipage: true | ||||
| filename: eps/hpr[id]/index.html | ||||
|  | ||||
| [download] | ||||
| navigation: navigation-get-shows.tpl.html | ||||
| content: content-download.tpl.html | ||||
|  | ||||
| [syndication] | ||||
| navigation: navigation-get-shows.tpl.html | ||||
| content: content-syndication.tpl.html | ||||
|   | ||||
							
								
								
									
										56
									
								
								templates/content-download.tpl.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								templates/content-download.tpl.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,56 @@ | ||||
| <article> | ||||
| 	<header> | ||||
|         <h1>Download Archive</h1> | ||||
|         <p>Please be aware that our Archive exceeds <strong>62Gb</strong> <em>(Ogg: 21Gb, Spx: 16Gb, mp3: 25Gb)</em>. We are happy for you to download them, but please make sure that you are not going to incur additional bandwidth charges on your side.</p> | ||||
|         <p>We will be happy to post you DVD's of the episodes anywhere in the world if bandwidth is an issue.</p> | ||||
|     </header> | ||||
|         <h2>Full Episode Guide</h2> | ||||
|         <p> | ||||
|         The <a href="./eps/index.html">compete episode guide</a> is available to you, and it lists all the shows on one page going right back to the very first episode. | ||||
|         </p> | ||||
|         <h2>Command line download</h2> | ||||
|         <p> | ||||
|         You can download the audio of the episodes directly from the command line using the following commands: | ||||
|         </p> | ||||
|         <ul> | ||||
|           <li>ogg:<br /> | ||||
|           <span style="font-family:monospace;">curl 'https://www.hackerpublicradio.org/eps/hpr[0001-3657].ogg' -o "hpr#1.ogg"</span></li> | ||||
|           <li>spx:<br /> | ||||
|           <span style="font-family:monospace;">curl 'https://www.hackerpublicradio.org/eps/hpr[0001-3657].spx' -o "hpr#1.spx"</span></li> | ||||
|           <li>mp3:<br /> | ||||
|           <span style="font-family:monospace;">curl 'https://www.hackerpublicradio.org/eps/hpr[0001-3657].mp3' -o "hpr#1.mp3"</span></li> | ||||
|         </li> | ||||
|         </ul> | ||||
|         <h2>Full RSS feed, BitTorrent and Magnet links</h2> | ||||
|         <p>The full rss feed is updated daily and contains the complete show note with links to supporting articles. The torrent/magnet also contains this information and is a snaphot of the archive taken between 2007 and November 2013. </p> | ||||
|         <ul> | ||||
|           <li><span style="font-family:monospace;">ogg: <a href="hpr_total_ogg_rss.php">rss</a>, <a href="https://www.talkgeektome.us/torrents/HPR-Ogg-2007-Nov2013.torrent">torrent</a>, <a href="magnet:?xt=urn:btih:390C66903BBB2B6A067C438C70B2E90988AA8207&dn=HPR-Ogg-2007-Nov2013&tr=http%3A%2F%2Ftracker.info-underground.net%3A16880%2Fannounce">magnet</a></span></li> | ||||
|           <li><span style="font-family:monospace;">spx: <a href="hpr_total_spx_rss.php">rss</a>, <a href="https://www.talkgeektome.us/torrents/HPR-Mp3-2007-Nov2013.torrent">torrent</a>, <a href="magnet:?xt=urn:btih:E2573BEF0209B8C2E3C7908BAF220EC34D4A5B8E&dn=HPR-Speex-2007-Nov2013&tr=http%3A%2F%2Ftracker.info-underground.net%3A16880%2Fannounce">magnet</a></span></li> | ||||
|           <li><span style="font-family:monospace;">mp3: <a href="hpr_total_rss.php">rss</a>, <a href="https://www.talkgeektome.us/torrents/HPR-Mp3-2007-Nov2013.torrent">torrent</a>, <a href="magnet:?xt=urn:btih:6E9492AD78BCCA2B8D6A42C9C0BCAB0E6FA778F8&dn=HPR-Mp3-2007-Nov2013&tr=http%3A%2F%2Ftracker.info-underground.net%3A16880%2Fannounce">magnet</a></span></li> | ||||
|         </ul> | ||||
|         <h3>Direct download of the remaining shows</h3> | ||||
|         <p> | ||||
|         You can download the remaining episodes since the torrent was created directly from the command line using the following commands: | ||||
|         </p> | ||||
|         <ul> | ||||
|           <li>ogg:<br /> | ||||
|           <span style="font-family:monospace;">curl 'https://www.hackerpublicradio.org/eps/hpr[1391-3657].ogg' -o "hpr#1.ogg"</span> | ||||
|           </li> | ||||
|         </li> | ||||
|         </ul> | ||||
|         <ul> | ||||
|           <li>spx:<br /> | ||||
|           <span style="font-family:monospace;">curl 'https://www.hackerpublicradio.org/eps/hpr[1391-3657].spx' -o "hpr#1.spx"</span> | ||||
|           </li> | ||||
|         </li> | ||||
|         </ul> | ||||
|         <ul> | ||||
|           <li>mp3:<br /> | ||||
|           <span style="font-family:monospace;">curl 'https://www.hackerpublicradio.org/eps/hpr[1391-3657].mp3' -o "hpr#1.mp3"</span> | ||||
|           </li> | ||||
|         </li> | ||||
|         </ul> | ||||
|       <footer> | ||||
|       <p>Big to DeepGeek and the team for providing the BitTorrent service.</p> | ||||
|       </footer> | ||||
| </article> | ||||
		Reference in New Issue
	
	Block a user