18
August 2013 Content Types Version 1,2,2

Rubedo tutorial: dynamic content types

  • Upload
    rubedo

  • View
    3.616

  • Download
    3

Embed Size (px)

DESCRIPTION

Tutorial : In Rubedo, each data structure is a called a “Content Type” Content Types are built on typed fields: Text, Rich Text, Rating, Slider, Number, Media, External Media, Date, Time, Color, Link on page ...

Citation preview

Page 1: Rubedo tutorial: dynamic content types

August 2013

Content Types

Version 1,2,2

Page 2: Rubedo tutorial: dynamic content types

Rubedo Content types

CONTENTS

I. Concepts & Terminology

II. Step by Step

III. Roadmap

Page 3: Rubedo tutorial: dynamic content types

CONCEPTS & TERMINOLOGY

� A web site displays basic pieces of information :

– text

– office documents : pdf, office, open-office, …

– digital assets: images, videos, audios, animations, …

� Theses pieces of information are grouped into structured contents :

– Article: Title, abstract, body, image, ...

– News: Title, abstract, body, date, document ...

– Event: Title, abstract, body, start date, end date, video, ...

But also: Recipe, Job, Classified Ad, ...

Rubedo Content types

Page 4: Rubedo tutorial: dynamic content types

CONCEPTS & TERMINOLOGY

� This structure makes it possible to implement a fundamental concept of content management: the division between substance (ie. the datas) and format (ie. their display in pages).

� The same content, for example a recipe (see next page), can be displayed in several templates, such as a summary mode in a search result or a more detailed mode with the full recipe.It also makes it possible to get different layouts on a PC screen, a tablet or a smartphone.

Rubedo Content types

Page 5: Rubedo tutorial: dynamic content types

CONCEPTS & TERMINOLOGY

� Different templates for the same content:

Rubedo Content types

Page 6: Rubedo tutorial: dynamic content types

CONCEPTS & TERMINOLOGY

� In Rubedo, each data structure is a called a “Content Type”

� Content Types are built on typed fields: Text, Rich Text, Rating, Slider, Number, Media, External Media, Date, Time, Color, Link on page ...

� A type of field is:

– An input field:

– A default graphic layout, which can be overwritten

� For each field in a content type, many parameters can be set: label, default, tooltip to help users, controls, indexed for search ...

Rubedo Content types

Page 7: Rubedo tutorial: dynamic content types

CONCEPTS & TERMINOLOGY

� Once the content type has been set, it is important to define how to distinguish the contents from each other within the same content type.

� In Rubedo, taxonomy is used to make multi-dimensional content classification using vocabularies. The concept of taxonomy is described in another tutorial, so it won’t be explained here, but illustrated with an example.

Rubedo Content types

Page 8: Rubedo tutorial: dynamic content types

CONCEPTS & TERMINOLOGY

� Content types can be tagged with terms form vocabularies to make multi-dimensional content classification

Rubedo Content types

Recipe Type- Dessert- Soup- Main Dish Difficulty

- Very easy- Easy- Difficult

Price- Very cheap- Cheap- Priceless

Page 9: Rubedo tutorial: dynamic content types

CONCEPTS & TERMINOLOGY

� As far as our content type Recipe is concerned, recipes may be classified on three axes, so three different vocabularies :

– the type of recipe,

– the difficulty of preparation,

– the price

� Each entry is a vocabulary term. The content “Spinach Tomato Tortellini” will be characterized by three terms : “Main Dish”, “easy” and “cheap”. Vocabularies can be arborescent (this concept is explained in the tutorial dedicated to taxonomy).

Rubedo Content types

Page 10: Rubedo tutorial: dynamic content types

CONCEPTS & TERMINOLOGY

� Content types can be associated to workspaces, to determine :

– who has read access (for example, for the content type “Recipe” : “everyone”) and / or writing (for example, only “chefs”)

– or where they can be displayed (on which website and in which sections)

� Content types can implement workflows if contribution and validation are dissociated

– Ex: recipes submitted by users are checked before publication

Rubedo Content types

Page 11: Rubedo tutorial: dynamic content types

CONCEPTS & TERMINOLOGY : SUMMARY

� Each Content belongs to a Content Type

� Content Types determine:

– structure of contents and their decomposition into fields

– controls and tooltips for help,

– vocabularies used to classify content

– its publishing workflow

– create / modify / write access

– graphics layout

� In the Content Types application in Rubedo, webmaster profiles can model and manage an unlimited number of Content Types.

Rubedo Content types

Page 12: Rubedo tutorial: dynamic content types

CONTENT TYPES : STEP BY STEP

� Open the menu and launch the « Content types » application

Rubedo Content types

Page 13: Rubedo tutorial: dynamic content types

� Create a new Content type

Rubedo Content types

CONTENT TYPES : STEP BY STEP

Page 14: Rubedo tutorial: dynamic content types

CONTENT TYPES : STEP BY STEP

� Add new fields

Rubedo Content types

Add fields one by one or by multiple adding

Page 15: Rubedo tutorial: dynamic content types

CONTENT TYPES : STEP BY STEP

� Add properties on each field

Rubedo Content types

1 -Select a field

2 – Change properties

Page 16: Rubedo tutorial: dynamic content types

CONTENT TYPES : STEP BY STEP

� Select vocabularies, applied for this content type

Rubedo Content types

Page 17: Rubedo tutorial: dynamic content types

CONTENT TYPES : STEP BY STEP

� The ‘Recipe’ Content type is now available for contributors.

� Webmasters can add a new ‘Content detail’ or ‘Content list’ block to a page to display the recipes.

Rubedo Content types

Page 18: Rubedo tutorial: dynamic content types

http://www.rubedo-project.org

Thanks !

@Rubedo_project

See also:

Facebookhttp://www.webtales.fr