anchor.diff:  
     METHOD build_pages.
   
  -    DATA: li_api    TYPE REF TO if_mr_api,
  -          lt_files  TYPE string_table,
  -          lv_data   TYPE xstring,
  -          lv_result TYPE xstring,
  -          lv_file   LIKE LINE OF lt_files.
  +    DATA: li_api     TYPE REF TO if_mr_api,
  +          lt_files   TYPE string_table,
  +          lv_data    TYPE xstring,
  +          lv_result  TYPE xstring,
  +          lv_max     TYPE smimphio-chng_time,
  +          lv_changed TYPE smimphio-chng_time,
  +          lv_file    LIKE LINE OF lt_files.
   
   
       li_api = cl_mime_repository_api=>if_mr_api~get_api( ).
  
positive.code:           i_url                  = lv_file
          IMPORTING
            e_content              = lv_data
  *        e_mime_type            = lv_mime
  *        e_content_last_changed = lv_changed
          EXCEPTIONS
            not_found              = 1 ).
  
        CONCATENATE lv_result lv_data INTO lv_result IN BYTE MODE.
      ENDLOOP.
  
  * todo: enable caching
  
      mi_server->response->set_compression( ).
      mi_server->response->set_content_type( 'application/x-javascript' ).
  
negative.code:   ENDMETHOD.
  
  
    METHOD convert_timestamp.
  
      DATA: lv_timestamp TYPE char14.
  
  
      lv_timestamp = iv_changed.
  
      rv_timestamp = cl_bsp_utility=>date_to_string_http( lv_timestamp ).
  
    ENDMETHOD.
  
  
    METHOD read_mime.
  
      DATA: li_api      TYPE REF TO if_mr_api,
            lv_data     TYPE xstring,
            lv_changed  TYPE smimphio-chng_time,
            lv_modified TYPE string,
            lv_mime     TYPE string,
            lv_url      TYPE string.
  
  
      CONCATENATE '/SAP/PUBLIC/zabapopentest/' iv_url INTO lv_url.
  