Ignore:
Timestamp:
2023-10-03T15:46:28+13:00 (8 months ago)
Author:
davidb
Message:

Updated to work as a GS3 extension without the need for Ruby

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/jena-fuseki/trunk/src/src3/gs-triplestore-add3

    r37301 r38274  
    1818
    1919
    20 # The following line helps with runing a she-bang line of:
    21 #   '#!/usr/bin/env ruby'
    22 # when the current script has been run from Perl under Cygwin
    23 #
    24 export PATH=/usr/bin:$PATH
     20## The following line helps with runing a she-bang line of:
     21##   '#!/usr/bin/env ruby'
     22## when the current script has been run from Perl under Cygwin
     23##
     24#export PATH=/usr/bin:$PATH
    2525
    26 echo s-post http://localhost:$port/fuseki3/greenstone/data "$graph_uri" "$file_ttl"
    27 s-post http://localhost:$port/fuseki3/greenstone/data "$graph_uri" "$file_ttl"
     26#echo s-post http://localhost:$port/fuseki3/greenstone/data "$graph_uri" "$file_ttl"
     27#s-post http://localhost:$port/fuseki3/greenstone/data "$graph_uri" "$file_ttl"
    2828
     29echo "    " curl POST: http://localhost:$port/fuseki3/greenstone/data?graph="$graph_uri" "$file_ttl"
     30
     31curl --silent -X POST \
     32     -F "filename=@$file_ttl" \
     33     "http://localhost:$port/fuseki3/greenstone/data?graph=$graph_uri" 1>/dev/null
     34
     35#     -H 'text/turtle;charset=utf-8' \
     36
Note: See TracChangeset for help on using the changeset viewer.