How To: make a button on a HTML page, to easily transfer data from a weight or blast matrix to the paste field of the Seq2Logo webserver:

<form action='http://www.cbs.dtu.dk/biotools/Seq2Logo-1.0/index.php' method='POST'>
 <input type='hidden' name='INPASTE' value='
ALIGNMENT-A
ALIGNMENT-C
ALIGNMENT-D
FFFFFFFFFFF
 '>
 <input type='submit' value='Visualize file using Seq2Logo'>
</form>

If you are using python to create the webpage and have created a weight matrix file, then you can use following code example:

print "<form action='http://www.cbs.dtu.dk/biotools/Seq2Logo-1.0/index.php' method='POST'>"
print "<input type='hidden' name='INPASTE' value='"
f = open("<weightmatrix_filename>")
for s in f:
  print s.strip("\n")
f.close
print " '/>"
print "<input type='submit' value='Visualize file using Seq2Logo' />"
print "</form>"