Forums / Install & configuration / Custom xml tags
Terje J. Hanssen
Tuesday 29 November 2005 3:58:20 am
Without being a programmer myself, I wonder if it is possible and manageable to define and add meaningful custom xml tags (or keywords) in ezxml text blocks , and next utilize these tags for the search engine? It would also been nice if such custom tags (or keywords) easily could be inserted with OE.
What I wish to explore, is if it is possible from a large local farm history text prepared in OpenOffice2 ODF to structure and and generate farmers' family relationships using eZ publish and next publish it to screen (xhtml) and paper books (pdf) versions.
Is there some useful article or document that exemplifies use of custom xml tags (keywords) in eZ publish.
Rgds,Terje J. Hanssen
Ćukasz Serwatka
Tuesday 29 November 2005 6:26:17 am
Hi Terje,
Adding new attribute (keywords datatype) to your content class can help. It will be easy to add keywords in edit mode. This will also give you some benefits like automatically created relations between objects with the same keywords, using fetch function you present objects witch holds given keyword.
Some usefull links:
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/datatypes/keywords
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/objects/ezkeyword
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/modules/content/fetch_functions/keyword
Hope it will help you.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Tuesday 29 November 2005 7:05:15 am
Hi Lukasz,
Thank you for the "keyword" tip. Maybe I next will discuss a little more relevant example for my context befire I really understand and see the possibilites with this feature.
First I wonder: 1) Can defined "keywords" be inserted in the text "offline" with OpenOffice2, or do keywords have to be inserted "online" (eZ publish hosting) using the Admin interface in edit mode (with OE)?2) Can the fetch function be used from the Search Engine's user interface for content search and sort?
Additional: 3) As I have just started to explore and search through the eZ publish documentation, I also noticed the special datatypes "objectrelation" and "objectrelationlist".Is this something that also can be relevant in additional to describe (farm and family) relations and genealogy relationship in the xml text?