Need configurable sample textbook provider

Description

When doing development, testing or demonstration of textbook tool capabilities, it would be good to be able to create arbitrary sample entries for courses provided by the sample course management implementation or other course management providers to set up examples to verify particular behaviors. The sample textbook provider should read data from a file in the resources tool, which can be changed on the fly to set up new test situations.

Environment

None

Attachments

1

Activity

Show:

Jim Eng February 4, 2009 at 11:05 AM

Attaching a sample file. This should be uploaded to the resources tool. The default location where the textbook tool looks for it is:

/content/user/admin/textbook/sample_courses.json

That is, a file named "sample_courses.json" in a folder named "textbook" in the Administrator Workspace. The name and location of the file can be changed by defining a new value for this property in sakai.properties:

pathToTextbookFile@org.sakaiproject.tbook.provider.TextbookProvider

The value of that property should be a reference to a file in ContentHosting. That means it starts with "/content/" followed by "group/" for a project or course site or "user/" for a MyWorkspace site, followed by the id of the site and the path from there to the file.

Before a file is uploaded to the correct location in CHS, the textbook tool will show that textbooks are to be determined for all classes. To make changes after initially uploading the file, use the "Upload new version" action related to the file.

Jim Eng February 2, 2009 at 9:42 AM

Is this an adequate description of the sample textbook provider? If not, please revise the description above.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created February 2, 2009 at 9:40 AM
Updated December 7, 2012 at 10:46 AM