Changeset 3402


Ignore:
Timestamp:
08/16/13 14:38:37 (11 years ago)
Author:
olof
Message:

translation of annotation to om_object first draft done

Location:
DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/annotator-service/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/annotator-service/test/mockjax/mockjax-xml.js

    r3398 r3402  
    8989                                   
    9090                                    var om_object = annotation2om_object(this);
    91                                     $('#xmlContents').append("<br /><strong>om_object:</strong><br/><textarea cols='130' rows='16'>"+JSON.stringify(om_object, null, '  ')+"</textarea>");
     91                                    $('#xmlContents').append("<br /><strong>converted to om_object:</strong><br/><textarea cols='130' rows='16'>"+JSON.stringify(om_object, null, '  ')+"</textarea>");
    9292                                });   
    9393                               
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/annotator-service/test/proxy.php

    r2780 r3402  
    1212      file_put_contents('log.txt', date("c")."\t".$_REQUEST['message']."\n",  FILE_APPEND);
    1313  }
     14 
     15  if($_GET['store']){
     16      $postdata = file_get_contents("php://input");
     17      file_put_contents('log.txt', date("c")."\tstore in: ".date('Y-m-d_H.i.s').".xml\n",  FILE_APPEND);
     18      file_put_contents(date('Y-m-d_H.i.s').'.xml', $postdata);
     19  }
    1420
    1521  $response = file_get_contents($_GET['url'].'?'.$params);
Note: See TracChangeset for help on using the changeset viewer.