Managing data for farm holidays
in Sardinia with OpenCms
Antonio Cordeddu
AgriturismoIchnos – Home Page
AgriturismoIchnos – what is
● The web site AgriturismoIchnos
(www.agriturismoichnos.com), picks up the
around 800 farms holiday of Sardinia (Italy) and
it allows the recorded farms to modify their own
data in autonomous way.
● The site web is projected, realized and
managed by our firm.
AgriturismoIchnos – a short history
● 2004 - Born the project
● 2005 - The web site is online
● 2007 - Imported on OpenCms
● 2010 – Upgrade project
AgriturismoIchnos – upgrade project
Objectives:
● Complete integration on OpenCms
● Use of features of OpenCms
● Use of OAMP Modules
AgriturismoIchnos – upgrade project
Features:
● Research Lucene
● Multi-language
● Alkacon OAMP Webform
● Alkacon OAMP Webuser registration
AgriturismoIchnos – upgrade project
We need to import the external relational
database MySQL into structured content type
OpenCms
How make this?
The data import between different system is one of
most crucial matter in IT.
We searched a method that permits it without the
need to write any line of code
Data import on OpenCms
Talend Open Studio
www.talend.com
Talend Open Studio – what is
● It's an open source solution for data integration.
● It improves the efficiency of data integration job
design through a graphical development
environment.
● It enables deployment with prebuilt connectors
to all source and target systems
● It supports all types of data integration, data
migration and data synchronization operations.
Data import on OpenCms
1) Creation of the content definition xsd in
OpenCms;
2) Creation of the job on Talend Open Studio;
3) Configuration of the scheme in Talend Open
Studio;
4) Data export from the source through Talend
Open Studio;
5) Data import in OpenCms.
Database model
First step - Content definition xsd
First step- Content definition xsd
Registering the Content Type
First step- Content definition xsd
Registering the Content Type
Second step - creation of the job on
TOS
Second step - creation of the job on
TOS – MySLQ input configuration
Second step - creation of the job on
TOS – Component tMap
Second step - creation of the job on
TOS – XML output
Third step – configuration of the
scheme on TOS
Third step – configuration of the
scheme on TOS
Fourth step - data export from the
source through TOS
Fourth step - data export from the
source through TOS
Fifth step - data import in TOS
Fifth step - data import in TOS
Depths – Lucene research
Depths – Lucene research
Sardinia is known in the world for its
sea
… but Sardinia is not only sea ...

Presentation for OpenCms Days 2011

  • 1.
    Managing data forfarm holidays in Sardinia with OpenCms Antonio Cordeddu
  • 2.
  • 3.
    AgriturismoIchnos – whatis ● The web site AgriturismoIchnos (www.agriturismoichnos.com), picks up the around 800 farms holiday of Sardinia (Italy) and it allows the recorded farms to modify their own data in autonomous way. ● The site web is projected, realized and managed by our firm.
  • 4.
    AgriturismoIchnos – ashort history ● 2004 - Born the project ● 2005 - The web site is online ● 2007 - Imported on OpenCms ● 2010 – Upgrade project
  • 5.
    AgriturismoIchnos – upgradeproject Objectives: ● Complete integration on OpenCms ● Use of features of OpenCms ● Use of OAMP Modules
  • 6.
    AgriturismoIchnos – upgradeproject Features: ● Research Lucene ● Multi-language ● Alkacon OAMP Webform ● Alkacon OAMP Webuser registration
  • 7.
    AgriturismoIchnos – upgradeproject We need to import the external relational database MySQL into structured content type OpenCms How make this?
  • 8.
    The data importbetween different system is one of most crucial matter in IT. We searched a method that permits it without the need to write any line of code Data import on OpenCms
  • 9.
  • 10.
    Talend Open Studio– what is ● It's an open source solution for data integration. ● It improves the efficiency of data integration job design through a graphical development environment. ● It enables deployment with prebuilt connectors to all source and target systems ● It supports all types of data integration, data migration and data synchronization operations.
  • 11.
    Data import onOpenCms 1) Creation of the content definition xsd in OpenCms; 2) Creation of the job on Talend Open Studio; 3) Configuration of the scheme in Talend Open Studio; 4) Data export from the source through Talend Open Studio; 5) Data import in OpenCms.
  • 12.
  • 13.
    First step -Content definition xsd
  • 14.
    First step- Contentdefinition xsd Registering the Content Type
  • 15.
    First step- Contentdefinition xsd Registering the Content Type
  • 16.
    Second step -creation of the job on TOS
  • 17.
    Second step -creation of the job on TOS – MySLQ input configuration
  • 18.
    Second step -creation of the job on TOS – Component tMap
  • 19.
    Second step -creation of the job on TOS – XML output
  • 20.
    Third step –configuration of the scheme on TOS
  • 21.
    Third step –configuration of the scheme on TOS
  • 22.
    Fourth step -data export from the source through TOS
  • 23.
    Fourth step -data export from the source through TOS
  • 24.
    Fifth step -data import in TOS
  • 25.
    Fifth step -data import in TOS
  • 26.
  • 27.
  • 28.
    Sardinia is knownin the world for its sea
  • 29.
    … but Sardiniais not only sea ...