Saskscript on Demand
SaskScript on Demand
Sometimes it would be great to run SaskScript if you have a new database or collection activated in your SFX knowledge base. The only problem is there is no simple way of resolving one single target with SaskScript . SaskScript is an all or nothing deal if you use the GET style resolving where it queries your SFX server live to get the data. I've put together a little app that will do the MANUAL style resolving of one or two particular targets.
- Install sask-script somewhere, edit sfx-tools.conf change it to 'MANUAL' and make a note of where the data directory is. You'll need that when you install the utility. I originally tried a PHP solution but that was pretty icky considering SaskScript is written in Perl..
- Download the source. Follow Readme.txt and you are good to go. Make sure the utlity has the same upload directory as your DATA_DIR for SaskScript
- The start page will give you the basic instructions on preparing a datafile.
Since the process takes a bit of time depending on the size of the datafile there is a progress animation to make sure the user doesn't get the desire to hit the refresh button.
When it completes you'll have a erm_data.txt file that is ready to be loaded in the ERM.
