Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
The samples/path-based-rtp module only handles nt:unstructured nodes, it would be useful to optionally support other node types.
This can be done by extending the configuration strings as follows:
/content:2
applies to nt:unstructured nodes under /content, and uses the second path element as the resource type
/content:3:nt:file
applies to nt:file nodes under /content, and uses the third path element as the resource type
/content:2:(nt:*)
applies to node that match the supplied regular expression (in parentheses) and uses the second path element as the resource type