ontopia/liferay integration @tmra 2010
DESCRIPTION
Current state of the Ontopia/Liferay integration, with more complete demo, and future plans.TRANSCRIPT
![Page 1: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/1.jpg)
1
Ontopia/Liferay integration
TMRA 2010, Leipzig, 2010-10-01
Lars Marius Garshol, <[email protected]>Matthias Fischer, <[email protected]>
![Page 2: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/2.jpg)
2
Agenda
• The integration: why and what• Demo• Conclusion
![Page 3: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/3.jpg)
3
Why and what
![Page 4: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/4.jpg)
4
Why integrate?
• Ontopia• Semantic
technology• Complex metadata• Tools for
conversion/manipulation/creation
• Very limited content support
• Liferay• CMS• Users, permissions,
...• Content features– versioning, ...
• Very limited metadata support
Content from Liferay,metadata from Ontopia
![Page 5: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/5.jpg)
5
How it works
• We want to describe Liferay content in Topic Maps
• In a topic map, everything is topics• Therefore, we need topics for our Liferay
content• The integration creates this for us
automatically
![Page 6: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/6.jpg)
6
Creating and annotating content
Liferay Ontopia
A Liferay Tutorial
A Liferay Tutorial
Liferay
CMS
Liferay, Inc.
USALiferay CE
Liferay EE
Installing Liferay CE
Installing Liferay CE
![Page 7: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/7.jpg)
7
In short
• Create your content in Liferay• Organize it in the topic map
![Page 8: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/8.jpg)
8
Current status
• Prototype integration built by Matthias Fischer– later polished by Lars Marius Garshol– now in a working and fairly well-tested state– has been installed successfully by third
parties
• Working now:– synchronization of users and communities– web content (with structures)– wiki content (partly)– some display portlets
![Page 9: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/9.jpg)
9
Demo
![Page 10: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/10.jpg)
10
Set up your ontology
• Include ready-made Liferay ontology as part of your ontology– make associations across as necessary
![Page 11: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/11.jpg)
11
Write content, as usual
Click save and continue
![Page 12: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/12.jpg)
12
Now you can tag from the topic map
Select topics here. Which fields and topicsare displayed is configurable in Ontopoly.(This is Ontopoly, embedded in Liferay.)
![Page 13: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/13.jpg)
13
Tagged
![Page 14: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/14.jpg)
14
The article topic The integration has created this topic forus and will keep it in sync as we makechanges in Liferay.
![Page 15: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/15.jpg)
15
An example front page
Normal Liferay portlets
YahooTree portlet
Data shown is Los, a governmental classificationscheme published in XTM. The YahooTree portletneeds just two tolog queries to produce this output.
![Page 16: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/16.jpg)
16
Topic page
• Put together from three portlets• Very simple configuration– basically just one tolog query for the whole
page– one association type for the related-topics
portlet
![Page 17: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/17.jpg)
17
Article page
• No configuration at all
![Page 18: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/18.jpg)
18
Status
• This is just an outline, but shows how you can put together a simple site from ready-made components
• A number of components still missing– a similar articles portlet (started)– a search portlet– a breadcrumb portlet (maybe)– a tree view portlet– ...
![Page 19: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/19.jpg)
19
Similar topics
• Takes an input topic– generally an article
• Finds other topics which have similar classifications– sorted by similarity– configurable cutoff
• Currently in progress
http://code.google.com/p/ontopia/source/browse/trunk/ontopia/src/java/net/ontopia/topicmaps/nav2/portlets/pojos/SimilarTopics.java
![Page 20: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/20.jpg)
20
Search portlet
• Actually two portlets– one for the search form– another for the search results
• Also requires search integration with Liferay– achievable by implementing a tolog plug-in
predicate
• Needs to support some configuration– like what topic types to make searchable
![Page 21: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/21.jpg)
21
Breadcrumb portlet
• Many sites want these, so should support it
• Not clear how it should work, however– upwards taxonomy traversal must be part of it– but probably not enough
• Still waiting for ideas on this one
![Page 22: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/22.jpg)
22
TreeView portlet
• Normal hierarchy display• Already exists as a Java
component• Just need to wrap as a
portlet with configuration etc
![Page 23: Ontopia/Liferay integration @TMRA 2010](https://reader036.vdocument.in/reader036/viewer/2022062616/54b4ee604a7959244d8b46ce/html5/thumbnails/23.jpg)
23
Conclusion
• We believe that the combination of– CMS support via the data integration, and– display support via ready-made portlets
• make it far easier to develop portals with Ontopia