/[meteor]/trunk/public_html/index.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/public_html/index.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 69 by dpavlin, Sat Mar 28 01:45:04 2009 UTC revision 70 by dpavlin, Sat Mar 28 03:45:31 2009 UTC
# Line 2  Line 2 
2  <head>  <head>
3  <title>Koha RFID</title>  <title>Koha RFID</title>
4    
5  <script type="text/javascript" src="/jquery-1.3.2.js"></script>  <script type="text/javascript" src="jquery-1.3.2.js"></script>
6  <script type="text/javascript" src="/meteor.js"></script>  <script type="text/javascript" src="meteor.js"></script>
7  <script type="text/javascript">  <script type="text/javascript" src="koha.js"></script>
   
 // Set this to something unique to this client  
   
 function process(data) {  
         console.info('process', data);  
         $('#test').append( data );  
 };  
   
 $(document).ready( function() {  
   
         var channel = 'test';  
   
         Meteor.hostid = '409897502705';  
   
         // Our Meteor server is on the data. subdomain  
         Meteor.host = 'data.' + location.hostname;  
         Meteor.port = 4670;  
   
         // Call the test() function when data arrives  
         Meteor.registerEventCallback("process", process );  
   
         console.info('Meteor connect', channel, Meteor.status );  
   
         // Join the demo channel and get last five events, then stream  
         Meteor.joinChannel( channel, 5 );  
         Meteor.mode = 'stream';  
   
         // Start streaming!  
         Meteor.connect();  
   
   
 });  
   
 </script>  
8  </head>  </head>
9    
10  <body>  <body>
# Line 48  Koha RFID data Line 14  Koha RFID data
14  </h1>  </h1>
15    
16  <div id="test">  <div id="test">
17  Waiting for data...  RFID reader not connected
18    </div>
19    <div id="koha" style="border: 3px dashed #888">
20    Item description from <a href="http://koha.ffzg.hr/">Koha</a>
21  </div>  </div>
22    
23  </body>  </body>

Legend:
Removed from v.69  
changed lines
  Added in v.70

  ViewVC Help
Powered by ViewVC 1.1.26