<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=Zernebok_Radio%2FHTML_Request_Guide</id>
	<title>Zernebok Radio/HTML Request Guide - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=Zernebok_Radio%2FHTML_Request_Guide"/>
	<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Zernebok_Radio/HTML_Request_Guide&amp;action=history"/>
	<updated>2026-05-03T09:13:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=Zernebok_Radio/HTML_Request_Guide&amp;diff=4541&amp;oldid=prev</id>
		<title>Orudge: 4 revisions</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Zernebok_Radio/HTML_Request_Guide&amp;diff=4541&amp;oldid=prev"/>
		<updated>2011-06-12T21:10:35Z</updated>

		<summary type="html">&lt;p&gt;4 revisions&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:10, 12 June 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Orudge</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=Zernebok_Radio/HTML_Request_Guide&amp;diff=4540&amp;oldid=prev</id>
		<title>Roboboy: /* Setting up the HTML */</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Zernebok_Radio/HTML_Request_Guide&amp;diff=4540&amp;oldid=prev"/>
		<updated>2007-06-15T10:28:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Setting up the HTML&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:28, 15 June 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you get upload errors in the FTP log, try unblocking port 1221 so it can upload properly. This is the same port as the one used for requests as mentioned in the next tutorial.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== The Requests System ==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== The Requests System ==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Roboboy</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=Zernebok_Radio/HTML_Request_Guide&amp;diff=4539&amp;oldid=prev</id>
		<title>Roboboy: /* The Requests System */</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Zernebok_Radio/HTML_Request_Guide&amp;diff=4539&amp;oldid=prev"/>
		<updated>2007-06-15T10:27:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;The Requests System&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:27, 15 June 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If everything has worked, you should see all the songs in your library! Click the Request button and a popup window should pop up, telling you whether or not the request was sucessful.  Depending on what you set in the configuration, the song will go into the playlist as the next item, the last item or sit in the Requests box until you put it in yourself.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If everything has worked, you should see all the songs in your library! Click the Request button and a popup window should pop up, telling you whether or not the request was sucessful.  Depending on what you set in the configuration, the song will go into the playlist as the next item, the last item or sit in the Requests box until you put it in yourself.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you get upload errors in the FTP log, try unblocking port 1221 so it can upload properly. This is the same port as the one used for requests as mentioned in the next tutorial.&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;Happy DJing!&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;Happy DJing!&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Roboboy</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=Zernebok_Radio/HTML_Request_Guide&amp;diff=4538&amp;oldid=prev</id>
		<title>Roboboy: /* The Requests System */</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Zernebok_Radio/HTML_Request_Guide&amp;diff=4538&amp;oldid=prev"/>
		<updated>2007-06-15T07:31:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;The Requests System&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Setting up a HTML + request interface in SAM³ Broadcaster ==&lt;br /&gt;
&lt;br /&gt;
Well, if you&amp;#039;re here, chances are you want to find out how to set up SAM³ Broadcaster (Hereon referred to as SAM) so that listeners to your broadcast can request for songs to be played on air.&lt;br /&gt;
SAM has the ability to create dynamic HTML pages that automatically update on every song change, and upload them to a remote host via FTP.  Here are some of the benifits:&lt;br /&gt;
&lt;br /&gt;
* Listeners can use the website to find out what song is currently playing before they connect&lt;br /&gt;
* They can also see the artist of the songs that will play next&lt;br /&gt;
* They can browse all the media you have in your library&lt;br /&gt;
* There are links to Amazon to buy the music, a button that displays info on the currently playing song and a button to find the information page for that artist&lt;br /&gt;
* A Request button gives listeners the ability to select any song in your library&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Setting up the HTML ==&lt;br /&gt;
[[Image:Samfiles.png|thumbnail|100 px|The contents of my SAM3 folder]]First things first, you need to upload the files that the website needs, such as images and templates.&lt;br /&gt;
Find the SAM folder on your hard disk (On my computer, it&amp;#039;s F:\SAM3) and make sure it looks something like the example on the left.&lt;br /&gt;
Get your FTP client ready, go into the &amp;quot;samHTMweb&amp;quot; folder and upload and files and folders that don&amp;#039;t start with a _.  The files that start with _s are the files that SAM processes and uploads itself.&lt;br /&gt;
&lt;br /&gt;
When that&amp;#039;s done, fire up SAM and go into the Config menu.  Find the HTML Output menu and make sure it looks exactly like picture below.&lt;br /&gt;
[[Image:samhtmloutput.png|thumbnail|left|SAM HTML Output|200 px]]Make sure the &amp;quot;Remote web directory&amp;quot; points to the folder on the remote server that you uploaded the samHTMweb folder to, and make sure that the &amp;quot;Remote picture directory&amp;quot; is the same but with /images/ on the end.&lt;br /&gt;
&lt;br /&gt;
If you put in all the FTP details correctly, SAM should automatically upload the right HTML files when you play a song!  To test it, play a song in SAM, and look at Desktop B - FTP Log.  If it appears to have worked, point your browser at the address you uploaded the files to, and see if it works! There should be a fairly simple looking page, that you can make look better by editing the _index.html file in the samHTMweb directory.&lt;br /&gt;
&lt;br /&gt;
Well, done, if you&amp;#039;ve got this far, you&amp;#039;ve got a working HTML system!  Don&amp;#039;t breathe easy yet though, this tutorial is for setting up a Request system as well.  However, this bit is quite a lot easier.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Requests System ==&lt;br /&gt;
Providing you&amp;#039;ve set up the HTML output properly, there are only two steps to this.  If you haven&amp;#039;t got the HTML output to work, or you thought you could skip that bit, read up!  If you&amp;#039;re really having problems, tell orudge or jonty-comp on [irc://irc.quakenet.org/tycoon #tycoon] or [irc://irc.quakenet.org/z.radio #z.radio] and they should be able to help you out.&lt;br /&gt;
Anyway, let&amp;#039;s do the request system.  The problem with this system is that it goes through the site www.audiorealm.com which is notoriously slow and often fails with requests completely, and you must make sure your firewall isn&amp;#039;t blocking port 1221, the port SAM uses.  You can still have a go at making it work though, and it probably will!&lt;br /&gt;
The first step is to go into SAM, click Config, go to the &amp;quot;Request Policy&amp;quot; section and make it look just like the picture below.&lt;br /&gt;
[[Image:samrequestsconfig.PNG|thumbnail|left|200 px|The SAM Request Policy Configuration]]In the box that says &amp;quot;Only allow requests from these IP addresses&amp;quot;, type the host that your samHTMweb files are hosted on.  Don&amp;#039;t include the folder that the files are in, just the host, as SAM uses this to get an IP address.&lt;br /&gt;
If you want at this point, you can customize the options to suit yourself, but if you can&amp;#039;t get it to work, put it like it is in the picture, see if that works and then work from there.&lt;br /&gt;
The only other thing to do is to generate a playlist that listeners can view and request songs from, and seeing as you&amp;#039;ve already set up the HTML interface, this is as simple as clicking the &amp;quot;General&amp;quot; Menu, pointing to &amp;quot;HTML Output&amp;quot; and clicking &amp;quot;Generate Playlist&amp;quot;.  Give it a minute or so to catalogue everything and upload it to your server, and then go to the radio page and click &amp;quot;Playlist &amp;amp; Requests&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If everything has worked, you should see all the songs in your library! Click the Request button and a popup window should pop up, telling you whether or not the request was sucessful.  Depending on what you set in the configuration, the song will go into the playlist as the next item, the last item or sit in the Requests box until you put it in yourself.&lt;br /&gt;
&lt;br /&gt;
If you get upload errors in the FTP log, try unblocking port 1221 so it can upload properly. This is the same port as the one used for requests as mentioned in the next tutorial.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Happy DJing!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Tutorial by Jonty, images courtesy of SAM Broadcaster. Tips on fixing upload erors added by roboboy.&lt;/div&gt;</summary>
		<author><name>Roboboy</name></author>
	</entry>
</feed>