History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: API-20
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Ian Davis
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Platform API

Retrieve and Update Licence for Store

Created: 26/Feb/07 02:08 PM   Updated: 21/Jan/08 12:33 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: 3d Remaining Estimate: 3d Time Spent: Unknown
Issue Links:
Requirement
This issue requires:
API-39 Specify API for updating store config... Major In Progress
 

Which means that: The terms under which content is stored in the platform can be stated and easily discovered by any user.
Business Value: Highest


 Description  « Hide
As the owner of a store I should be able to specify what licence applies to the content in the store. This should take the form of free-form text into which the owner can write a description of the terms or reference an existing set of terms or licence plus a link.

Information about the licence should be displayed on every XHTML page generated for the store. This should be a link formed from the bf:licenceText and bf:licenceLink properties and should be placed at the foot of each page in a div with a class of "licence". The a tag should have a rel attribute with a value of "license"

For example:

<div class="licence"><a rel="license" href="http://example.com/">example text</a></div>

(note the different spellings of the word licence)

If the bf:licenceText is not specified in the licence configuration, occurs more than once or does not have a literal value then the text "No licence for using data from this store has been specified" should be used in its place. If the bf:licenceLink is not specified in the licence configuration, occurs more than once or does not have a URI value then no a tag should be included in the HTML. For example, if both properties are missing then the following HTML should be emitted:

<div class="licence">No licence for using data from this store has been specified</div>

The URI for the licence resource is /stores/{storename}/licence

This resource acts like a standard AddressableResource, see http://zoidberg.talis.local/wiki/Addressable_Resources

Expected configuration:

<http://example.com/store>
  a bf:Store ;
  bf:licence <http://example.com/store/licence> .

<http://example.com/store/licence>
  a bf:LicenceDescription ;
  bf:licenceText "Licensed under the Talis Community Licence" ;
  bf:licenceLink <http:/www.talis.com/tdn/tcl> .


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.