improve standard import file; add new definition file for book structure

This commit is contained in:
Helmut Merz 2012-03-10 10:46:43 +01:00
parent 6c16cc9ced
commit c178efe59e
2 changed files with 29 additions and 3 deletions

View file

@ -0,0 +1,16 @@
type(u'book', u'Buch', viewName=u'', typeInterface=u'',
options=u'action.portlet:create_subtype,edit_concept')
type(u'page', u'Seite', viewName=u'', typeInterface=u'',
options=u'action.portlet:edit_concept')
type(u'section', u'Kapitel', viewName=u'', typeInterface=u'',
options=u'action.portlet:create_subtype,edit_concept')
concept(u'ispartof', u'is Part of', u'predicate', options=u'', predicateInterface=u'')
concept(u'issubtype', u'is Subtype', u'predicate', options=u'', predicateInterface=u'')
concept(u'maintext', u'Haupttext', u'documenttype')
concept(u'quote', u'Zitat', u'documenttype')
child(u'book', u'section', u'issubtype')
child(u'section', u'section', u'issubtype')
child(u'section', u'page', u'issubtype')
child(u'system', u'personal_info', u'standard')

View file

@ -54,6 +54,9 @@ concept(u'personal_info', u'Pers\xf6nliche Informationen', u'query', options=u''
viewName=u'personal_info.html') viewName=u'personal_info.html')
concept(u'participants', u'Teilnehmer', u'query', options=u'', concept(u'participants', u'Teilnehmer', u'query', options=u'',
viewName=u'list_children.html') viewName=u'list_children.html')
concept(u'recenct_changes', u'Aktuelle \xc4nderungen', u'query',
options=u'types:concept:*,resource:*',
viewName=u'recent_changes.html')
concept(u'search', u'Suche', u'query', options=u'', viewName=u'search') concept(u'search', u'Suche', u'query', options=u'', viewName=u'search')
concept(u'topics', u'Themen', u'query', options=u'action.portlet:createTopic', concept(u'topics', u'Themen', u'query', options=u'action.portlet:createTopic',
viewName=u'list_children.html') viewName=u'list_children.html')
@ -69,11 +72,18 @@ child(u'system', u'extcollection', u'standard')
child(u'system', u'issubtype', u'standard') child(u'system', u'issubtype', u'standard')
child(u'system', u'media_asset', u'standard') child(u'system', u'media_asset', u'standard')
child(u'system', u'personal_info', u'standard') child(u'system', u'personal_info', u'standard')
child(u'topic', u'topic', u'issubtype', 1)
resource(u'homepage', u'Willkommen', u'textdocument', contentType='text/restructured')
resource(u'impressum', u'Impressum', u'textdocument', contentType='text/restructured')
#nodes #nodes
node(u'home', u'Startseite', '', 'menu', body=u'Willkommen\n==========') node(u'home', u'Startseite', '', 'menu')
node(u'participants', u'Teilnehmer', u'home', 'page', node(u'willkommen', u'Willkommen', u'home', u'text')
target=u'concepts/participants') node(u'willkommen', u'Willkommen', u'home/willkommen', u'text',
target=u'resources/homepage')
node(u'participants', u'Teilnehmer', u'home', 'page', target=u'concepts/participants')
node(u'topics', u'Themen', u'home', 'page', target=u'concepts/topics') node(u'topics', u'Themen', u'home', 'page', target=u'concepts/topics')
node(u'glossary', u'Glossar', u'home', 'page', target=u'concepts/glossary') node(u'glossary', u'Glossar', u'home', 'page', target=u'concepts/glossary')
node(u'search', u'Suche', u'home', 'page', target=u'concepts/search') node(u'search', u'Suche', u'home', 'page', target=u'concepts/search')
node(u'impressum', u'Impressum', u'home', u'info', target=u'resources/impressum')