Questions about keywords

Author Message

Luigi Spagnolo

Sunday 18 January 2009 12:50:34 pm

Hello,
I'm new at this forum and at ezPublish in general. I'm studying how to build a faceted browsing (http://en.wikipedia.org/wiki/Faceted_browser) application based on ez Publish 4.0.

I would ask you the following questions:
- Suppose I have multiple attributes of datatype "keywords" for the same content class: eg. for a content class "Project" I may have the attributes "categories","topics covered", "tools used", etc. Can I use ezkeywordlist or eztagcloud to obtain the keywords "belonging" to a single given attribute (eg. only "categories"), or do I need custom functions?
- Can I extract contents matching two or more different keywords using the keyowrd fetch fuctions (or other standard content fecth functions?
- What about keywords related to other keywords (because they both occur for a given object)? Is there a standard way to get them?
- In case it's needed to build custom functions - as I suppose after reading the documentation - do you suggest alternative solutions to start from, e.g. using related objects instead of keywords?

Thank you in advance.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:15:01
Script start
Timing: Jan 18 2025 16:15:01
Module start 'layout'
Timing: Jan 18 2025 16:15:01
Module start 'content'
Timing: Jan 18 2025 16:15:02
Module end 'content'
Timing: Jan 18 2025 16:15:02
Script end

Main resources:

Total runtime1.0662 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 589.0313152.6250
Module start 'layout' 0.00440.0025 741.656339.4453
Module start 'content' 0.00691.0578 781.1016440.0391
Module end 'content' 1.06470.0015 1,221.14068.1641
Script end 1.0661  1,229.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3640160.0002
Check MTime0.00140.1344160.0001
Mysql Total
Database connection0.00060.055510.0006
Mysqli_queries1.020395.6951460.0222
Looping result0.00040.0403440.0000
Template Total1.023796.020.5119
Template load0.00280.259920.0014
Template processing1.020995.755320.5105
Template load and register function0.00020.015610.0002
states
state_id_array0.00110.104010.0011
state_identifier_array0.00100.093420.0005
Override
Cache load0.00170.1599120.0001
Sytem overhead
Fetch class attribute can translate value0.00080.072810.0008
Fetch class attribute name0.00110.100520.0005
XML
Image XML parsing0.00070.061410.0007
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.0697160.0000
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs