Difference between revisions of "Templates/website/submission"
From Apache OpenOffice Wiki
(3 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
: Taken from mime type, see below | : Taken from mime type, see below | ||
* License: 'BSD' | * License: 'BSD' | ||
− | :taken from file: uploadfile::meta.xml::user-defined | + | :taken from file: uploadfile::meta.xml::user-defined::License |
− | : | + | |
* Provider: 'Created by Sun Microsystems, Inc.' | * Provider: 'Created by Sun Microsystems, Inc.' | ||
:taken from logged in user account (prefered)/ or from file: uploadfile::meta.xml::creator, would mean user data from OOo | :taken from logged in user account (prefered)/ or from file: uploadfile::meta.xml::creator, would mean user data from OOo | ||
− | : | + | :has to be inside the template metatdata:: description |
− | * Category: 'Business' | + | * Category: 'Business' and Sub category: 'Business Correspondence' |
:manual selection | :manual selection | ||
− | : | + | :selected by submitter on submission |
− | + | * Name: 'Business Letter 1' | |
− | + | ||
− | + | ||
− | * Name | + | |
:taken from file: uploadfile::meta.xml::title | :taken from file: uploadfile::meta.xml::title | ||
:generated by OOo/template creator: File-Properties-Description-Title | :generated by OOo/template creator: File-Properties-Description-Title | ||
Line 46: | Line 42: | ||
** 'application/vnd.oasis.opendocument.presentation-template' => 'otp' => 'Presentation' | ** 'application/vnd.oasis.opendocument.presentation-template' => 'otp' => 'Presentation' | ||
** 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots' => 'Spreadsheet' | ** 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots' => 'Spreadsheet' | ||
+ | |||
+ | ==Categories== | ||
+ | [[Templates/website/translation#Categories]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[Category:Templates]] | ||
+ | [[Category:Template Repository]] |
Latest revision as of 13:35, 22 January 2009
Needed information, and where to put/take it from
- Compatibility: with which OOo version does it work; 'Runs with OpenOffice.org 3.0 and higher'
- Taken from mime type, see below
- Application type: 'Writer'
- taken from extension of upload file / or from file: uploadfile::mimetype
- generated automatical by OOo
- Taken from mime type, see below
- License: 'BSD'
- taken from file: uploadfile::meta.xml::user-defined::License
- Provider: 'Created by Sun Microsystems, Inc.'
- taken from logged in user account (prefered)/ or from file: uploadfile::meta.xml::creator, would mean user data from OOo
- has to be inside the template metatdata:: description
- Category: 'Business' and Sub category: 'Business Correspondence'
- manual selection
- selected by submitter on submission
- Name: 'Business Letter 1'
- taken from file: uploadfile::meta.xml::title
- generated by OOo/template creator: File-Properties-Description-Title
- Short description
- taken from file: uploadfile::meta.xml::description
- generated by OOo/template creator: File-Properties-Description-Comments
- Tags
- taken from file: uploadfile::meta.xml::keyword
- generated by OOo/template creator: File-Properties-Description-Keywords
- Last Updated / Versioning: Date of upload
- Preview image
- generated via webservice of a StarOffice 8 Server - PDF Converter
- Original submitter: user which is logged in
- Language: in which language is the template
- taken from file: uploadfile::styles.xml::default-style:paragraph:text-properties:language=
- generated by OOo/template creator: defining appropiate language default paragraph style
- same as internal language from drupal locale; a template has just one language!
- if user selects language for site view, he just gets templates in his language
Template Mime Types
- Compatible since OpenOffice.org 2.0:
- 'application/vnd.oasis.opendocument.text-template' => 'ott' => 'Text'
- 'application/vnd.oasis.opendocument.graphics-template' => 'otg' => 'Drawing'
- 'application/vnd.oasis.opendocument.presentation-template' => 'otp' => 'Presentation'
- 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots' => 'Spreadsheet'