MetaDataArray

Author Message

Luc Chase

Monday 02 May 2005 4:34:02 pm

Want to implement metadata tags similar to this.

<meta name='name' scheme='scheme' content='content' />

Are there other arrays similar to MetaDataArray which can be used for this?

The Web Application Service Provider

Ɓukasz Serwatka

Wednesday 04 May 2005 12:34:05 am

Hi Luc,

No, all "custom" metas you will have to add in page_head.tpl manualy.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Luc Chase

Wednesday 04 May 2005 1:21:52 am

Ok... will probably do an override and add some custom entries in the site.ini....
Came accross this code in page_header.tpl
What is it??
What is '$#Header:extra_data'?

 {section show=and(is_set($#Header:extra_data),is_array($#Header:extra_data))}
      {section name=ExtraData loop=$#Header:extra_data}
      {$:item}
      {/section}
    {/section}

The Web Application Service Provider

Jan Borsodi

Wednesday 04 May 2005 1:31:46 am

The <i>extra_data</i> variable is something that can be set by the PHP code to create extra header entries.
It hasn't been used and will have problems with pages that cache their output.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 10:59:43
Script start
Timing: Jan 18 2025 10:59:43
Module start 'layout'
Timing: Jan 18 2025 10:59:43
Module start 'content'
Timing: Jan 18 2025 10:59:44
Module end 'content'
Timing: Jan 18 2025 10:59:44
Script end

Main resources:

Total runtime0.6280 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.9063152.6250
Module start 'layout' 0.00490.0026 740.531339.4453
Module start 'content' 0.00750.6186 779.9766589.5547
Module end 'content' 0.62610.0019 1,369.531312.4922
Script end 0.6280  1,382.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5040160.0002
Check MTime0.00120.1933160.0001
Mysql Total
Database connection0.00070.105610.0007
Mysqli_queries0.579492.2623620.0093
Looping result0.00060.0949600.0000
Template Total0.596595.020.2983
Template load0.00180.282220.0009
Template processing0.594894.708020.2974
Template load and register function0.00020.025010.0002
states
state_id_array0.00150.232810.0015
state_identifier_array0.00220.348920.0011
Override
Cache load0.00150.2403200.0001
Sytem overhead
Fetch class attribute can translate value0.00080.128530.0003
Fetch class attribute name0.00120.187660.0002
XML
Image XML parsing0.00130.214830.0004
class_abstraction
Instantiating content class attribute0.00000.002460.0000
General
dbfile0.00170.2753250.0001
String conversion0.00000.001140.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs