Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (52 sloc) 1.93 KB
<!DOCTYPE html>
<html dir="ltr" lang="en" xmlns="">
<title>XMPP Pubsub Demo :: Publisher</title>
<meta charset=utf-8 />
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="js/strophe.min.js"></script>
<script type="text/javascript" src="js/strophe.pubsub.min.js"></script>
<script type="text/javascript" src="js/shared.js"></script>
<script type="text/javascript" src="js/publisher.js"></script>
<link rel="stylesheet" type="text/css" href=";subset=latin" />
<link rel="stylesheet" href="css/styles.css" media="screen" />
<div id="wrapper">
<div id="connection_status">Connecting...</div>
<div id="content">
<h1>XMPP PubSub Demo</h1>
<p>Fill in the box below, and a message will be sent to all the clients connected.</p>
<label for="message">Enter a message to send:</label>
<textarea id="message" name="message" rows="5" autofocus></textarea>
<legend>Choose your message type:</legend>
<input id="mred" value="MSG_TEXT" name="type" type="radio" checked="checked">
<label for="mred">Text</label>
<input id="mhtml" value="MSG_HTML" name="type" type="radio">
<label for="mhtml">HTML</label>
<button id="publish" type="submit" style="display:none;">Publish the message</button>
<span id="progress"></span>
Jump to Line
Something went wrong with that request. Please try again.