Forums / Suggestions / meta tag, rss and google

meta tag, rss and google

Author Message

Fernando MarinĂ²

Wednesday 30 September 2009 1:50:18 am

hello folks!

I'm experiencing the first site built on top of ezp and that is good, but google tells me some problems regarding rss and meta tags. About rss it say that there is a syntax error, using the 2.0 version. This result in the impossibilities to use it into google reader.

The second issue is about the meta tag. For better indexing by search engine is better to have custom keywords and description for each page. Google webmaster tools mark as an error pages with the same meta keywords and description. I think the better solution is to set these parameters by extracting it from the current content node. If not avaible use defaults in site.ini.

I'm using ezp 4.1

Gaetano Giunta

Wednesday 30 September 2009 4:17:03 am

For meta tags in your html headers, you have basically a couple of options, but there will be some coding required

- add them in some custom ini files, and alter the pagelayout template to read those ini files and echo the appropriate meta-tags depending on node url; easy to code, hard to maintain

- add some html_meta attributes to your classes, and use them in the pagelayout template. To avoid fetching again the current node in your pagelayout template on every page view, optimize this by using a cache block or, even better, the persistent_variable; a bit harder to setup (you will need to add the same attributes to all your content classes) but it will allow editors to manage those meta tags.

As an alternative, you can look up extensions on projects.ez.no or http://ez.no/developer/contribs. One that seems to fit your bill is http://projects.ez.no/fezmetadata

Principal Consultant International Business
Member of the Community Project Board

tomislav tomislav

Friday 23 October 2009 4:23:05 am

Hello,

is it possible to add photo to RSS?

Thanks

eZ debug

Timing: Jan 18 2025 01:13:10
Script start
Timing: Jan 18 2025 01:13:10
Module start 'content'
Timing: Jan 18 2025 01:13:11
Module end 'content'
Timing: Jan 18 2025 01:13:11
Script end

Main resources:

Total runtime0.7085 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.8359180.8438
Module start 'content' 0.00650.4894 769.6797569.5859
Module end 'content' 0.49590.2125 1,339.2656334.7109
Script end 0.7084  1,673.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.6200210.0002
Check MTime0.00150.2105210.0001
Mysql Total
Database connection0.00070.093710.0007
Mysqli_queries0.636889.88461960.0032
Looping result0.00220.30741940.0000
Template Total0.680696.120.3403
Template load0.00280.390820.0014
Template processing0.677895.662620.3389
Template load and register function0.00020.023710.0002
states
state_id_array0.00100.136110.0010
state_identifier_array0.00110.160920.0006
Override
Cache load0.00230.3214170.0001
Sytem overhead
Fetch class attribute can translate value0.00190.264540.0005
Fetch class attribute name0.00140.199940.0004
XML
Image XML parsing0.00100.140440.0002
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00290.4073270.0001
String conversion0.00000.001030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs