We made it anyway to settle the natives, and to try something fun.
I used a new student on this project to break them in.
Though we agreed to develop this, we didn't want to maintain this over the long run.
With the goals in mind, we needed to find 'A' solution.
Logic for the polling is very simple.
The development server environment at UW-Platteville uses Perl.
The zipped files are available at the presentation URL.
We have two versions of the code available: Perl and PHP.
<?xml version='1.0'?>
<!DOCTYPE poll SYSTEM
'http://www.uwplatt.edu/template_data/polling/poll.dtd'>
<poll>
<question>PLACE YOUR QUESTION HERE</question>
<option>
<value>PLACE YOUR FIRST CHOICE HERE</value>
<votes>0</votes>
</option>
<option>
<value>PLACE YOUR SECOND CHOICE HERE</value>
<votes>0</votes>
</option>
...
</poll>
The documentation for the polling has to be as simple as the poll itself.
The documentation is online at: http://www.uwplatt.edu/web/wtc/poll.html
There are some decisions that were made along the way. They affect how our polling works.
I had a very negative experience with the last update to the University's website.

It is painful enough to design a web site by committee. I didn't want to extend that pain.
Though we agreed to develop this, we didn't want to maintain this over the long run.
With the goals in mind, we needed to find 'A' solution.
The development server environment at UW-Platteville uses Perl.
The zipped files are available at the presentation URL.
We have two versions of the code available: Perl and PHP.
The decisions made in the Feedback affect the data collected.
<?xml version='1.0'?>
<!DOCTYPE poll SYSTEM 'feedBack.dtd'>
<feedback department=''>
<file>
<name>contact.html</name>
<hate>0</hate>
<dislike>1</dislike>
<like>1</like>
<love>0</love>
<comments>
<note datestamp='7/27/2006' os='WinXP' browser='MSIE'
version='6.0'>Hi there! I like this.</note>
</comments>
</file>
</feedback>
<!ELEMENT feedback (file+)>
<!ATTLIST feedback department CDATA #IMPLIED>
<!ELEMENT file (name, hate, dislike, like, love, comments)>
<!ELEMENT name (#CDATA)>
<!ELEMENT hate (#CDATA)>
<!ELEMENT dislike (#CDATA)>
<!ELEMENT like (#CDATA)>
<!ELEMENT love (#CDATA)>
<!ELEMENT comments (note*)>
<!ELEMENT note (#CDATA)>
<!ATTLIST note datestamp CDATA #IMPLIED>
<!ATTLIST note os CDATA #IMPLIED>
<!ATTLIST note browser CDATA #IMPLIED>
<!ATTLIST note version CDATA #IMPLIED>
<!ELEMENT feedback (file+)>
<!ATTLIST feedback deptartment CDATA #IMPLIED>
<xsl:template match="feedback">
<xsl:for-each select="file">
<dl>
<xsl:variable name="total" select="hate + dislike + like + love" />
<xsl:variable name="hate" select="hate" />
<xsl:variable name="dislike" select="dislike" />
<xsl:variable name="like" select="like" />
<xsl:variable name="love" select="love" />
<dt>Hate</dt>
<dd style="width:{($hate div $total)*100}%">
<span><xsl:value-of select="hate" /></span>
</dd>
...
</dd>
</dl>
<xsl:template match="feedback">
<xsl:for-each select="file">
<ul class="notes">
<xsl:for-each select="comments/note">
<li>
[ <strong> <xsl:value-of select="@datestamp" /> </strong> ]
<img src="{@os}.gif" alt="{@os}" />
<img src="{@browser}.gif" alt="{@browser} {@version}" />
<sup> <xsl:value-of select="@version" /> </sup>
<xsl:value-of select="." />
</li>
</xsl:for-each>
</ul>
The use of AJAX helps make the Feedback form more user friendly and unobtrusive.
The results are restricted so it can not be viewed online. We had too many users playing with the feedback form, adding junk data. Results can be viewed offline only.
http://www.uwplatt.edu/web/presentations
Email: frommelt@uwplatt.edu
Copyright Daniel M. Frommelt, 2006. This work is the intellectual property of the author. Permission is granted for this material to be shared for non-commercial, educational purposes, provided that this copyright statement appears on the reproduced materials and notice is given that the copying is by permission of the author. To disseminate otherwise or to republish requires written permission from the author.