Changeset 5683 for DASISH


Ignore:
Timestamp:
09/26/14 11:39:45 (10 years ago)
Author:
stephanie.roth@snd.gu.se
Message:

Updated to annotation href and targetInfo href attributes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/client/branches/webannotator-basic/chrome/markingcollection/content/markingcollection/annotator-service/conversion.utils.js

    r5680 r5683  
    131131                            xmlns:xhtml="http://www.w3.org/1999/xhtml"\n\
    132132                            xml:id="aaa00000-0000-0000-' + om_object.oid.substring(0, 4) + '-' + om_object.oid.substring(4, 14) + '00"\n\
    133                             href="' + backend_relpath.substring(pos) + '/api/annotations/aaa00000-0000-0000-' + om_object.oid.substring(0, 4) + '-' + om_object.oid.substring(4, 14) + '00"\n\
     133                            href="' + backend_relpath.substring(pos) + '/api/annotations/aaa00000-0000-0000-' + om_object.oid.substring(0, 4) + '-' + om_object.oid.substring(4, 14) + '00">\n\
    134134                        <ownerHref>' + backend_relpath.substring(pos) + '/api/principals/aaa00000-0000-0000-' + om_object.oid.substring(0, 4) + '-' + om_object.oid.substring(4, 14) + '00</ownerHref>\n\
    135135                        <headline>' + om_object.oid_title + '</headline>\n\
     
    142142                        </body>\n\
    143143                        <targets>\n\
    144                             <targetInfo ref="' + annotationFramework.getBackend() + '/api/targets/aaa00000-0000-0000-' + om_object.oid.substring(0, 4) + '-' + om_object.oid.substring(4, 14) + '00">\n\
     144                            <targetInfo href="' + backend_relpath.substring(pos) + '/api/targets/aaa00000-0000-0000-' + om_object.oid.substring(0, 4) + '-' + om_object.oid.substring(4, 14) + '00">\n\
    145145                                <link>' + om_object.doc_url + xpointer + '</link>\n\
    146146                                <version>' + timestamp.toISOString() + '</version>\n\
Note: See TracChangeset for help on using the changeset viewer.