/[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 68 by dpavlin, Sat Mar 28 01:45:04 2009 UTC revision 72 by dpavlin, Sat Mar 28 14:21:21 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>
8    
9  // Set this to something unique to this client  <link rel="stylesheet" type="text/css" href="koha.css">
   
 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>  
10  </head>  </head>
11    
12  <body>  <body>
# Line 48  Koha RFID data Line 16  Koha RFID data
16  </h1>  </h1>
17    
18  <div id="test">  <div id="test">
19  Waiting for data...  RFID reader not connected
20    </div>
21    <div id="koha" style="border: 3px dashed #888">
22    Item description from <a href="http://koha.ffzg.hr/">Koha</a>
23  </div>  </div>
24    
25  </body>  </body>

Legend:
Removed from v.68  
changed lines
  Added in v.72

  ViewVC Help
Powered by ViewVC 1.1.26