This utility searches your local content mapping file (skillsoftcontent.xml, by default) to see what content you have available. When the utility finds a course, it puts the content into the content_available.xml file. This utility also scans the specified SkillBrief directory and creates an sb_available.xml file in it.
Run this utility:
The SkillSoft Installer automatically installs the ListContent Utility to the web/utility folder of your content site.
The ListContent utility ships with Sun JRE version 1.4.1_03. No other JVM is
required to run the ListContent Utility.
To use the ListContent Utility, follow the procedure below:
jre\bin\java -cp ListContent.jar;pp2.zip;xml4j.jar com.skillsoft.lms.util.ListContent [<key><value>] [<key> <value>] ...
Example: If you have your content installed in D:\CONTENT\WEB, which is mapped to http://contentserver/virtual you have to specify:
jre\bin\java -cp ListContent.jar;pp2.zip;xml4j.jar com.skillsoft.lms.util.ListContent -lp d:\content\web -vp http://contentserver/virtual
You can use the following keys at the end of the command for this utility.
Example:-sb c:\content\web\sb
map
Specifies custom content mapping xml files. The utility uses SkillsoftContent.xml
file by default. You don't have to specify it in the -map key. When a content
site has a custom mapping xml, file you MUST specify the file with the -map
key. If you don't specify it, the resulting content_available.xml file will
not contain custom learning objects represented in the custom mapping file.
Example: -map myCurriculuminfo.xml
user
Specifies a user name for web server basic authentication (Optional).
Example: -user guest
pass
Specifies a user password for web server basic authentication (Optional).
Example: -pass welcome
Example: -trans c:\content\web\trans
It is recommended that you cut and paste your command line for this utility into the RUN.BAT file that comes with the ListContent kit. Run the RUN.BAT file instead of typing the entire command every time you use this utility. Use the RUN.BAT each time you need to regenerate content_available.xml and sb_available.xml files.
To verify what courses are available, open the content_available.xml file in any editor.
NOTE: This procedure demonstrates how to use the ListContent utility on a single content server. You can also use this utility from a content server to other content locations on your network. Just ensure you have sharing rights for the folders that contain the remote content before you run this utility to the remote content.
If you are accessing web server(s) hosting SPCSF XML files, the -user, -pass, -proxyUser, and -proxyPass parameters might be required. The SPCSF attributes in the content mapping files could have the following format:
To create SB_AVAILABLE.XML only:
jre\bin\java -cp ListContent.jar;pp2.zip;xml4j.jar com.skillsoft.lms.util.ListContent
-sb s:\library\sb
To create CONTENT_AVAILABLE.XML for standard mapping file SKILLSOFTCONTENT.XML:
jre\bin\java -cp ListContent.jar;pp2.zip;xml4j.jar com.skillsoft.lms.util.ListContent
-lp s:\library\contentITS\web -vp http://qacontent/contentITS
To create CONTENT_AVAILABLE.XML assuming you have 2 custom content mapping files:
MYCURRICULA.XML and ZC.XML(SKILLSOFTCONTENT.XML will be used anyway)
Also, the proxy server authentication is required.
jre\bin\java -cp ListContent.jar;pp2.zip;xml4j.jar com.skillsoft.lms.util.ListContent
-lp s:\library\contentITS\web -vp http://qacontent/contentITS -map zc.xml -map
mycurricula.xml -proxyUser guest -proxyPass welcome
SkillSoft ©2004
All brand or product names and their content mentioned in this product are
the property, trademark, service mark, or registered trademark of their respective
holders.