As you create content in Liferay, topics for that content is created in the topic map by the integration.The integration keeps the topic map in sync with Liferay, so that any changes in Liferay are immediately applied to the topic map.
Ontopia/Liferay integration TMRA 2010, Leipzig, 2010-10-01 Lars Marius Garshol, <email@example.com> Matthias Fischer, <firstname.lastname@example.org>
Agenda The integration: why and what Demo Conclusion
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
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
Creating and annotating content Liferay Ontopia A Liferay Tutorial A Liferay Tutorial Installing Liferay CE CMS Installing Liferay CE Liferay, Inc. Liferay Liferay CE USA Liferay EE
In short Create your content in Liferay Organize it in the topic map
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
The article topic The integration has created this topic for us and will keep it in sync as we make changes in Liferay.
An example front page Normal Liferay portlets YahooTree portlet Data shown is Los, a governmental classification scheme published in XTM. The YahooTree portlet needs just two tolog queries to produce this output.
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
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 ...
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
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
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
TreeView portlet Normal hierarchy display Already exists as a Java component Just need to wrap as a portlet with configuration etc
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