This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Suggestions » meta tag, rss and google
expandshrink

meta tag, rss and google

meta tag, rss and google

Wednesday 30 September 2009 10:50:18 am - 2 replies

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

Wednesday 30 September 2009 1:17:03 pm

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

Friday 23 October 2009 1:23:05 pm

Hello,

is it possible to add photo to RSS?

Thanks

Modified on Friday 23 October 2009 1:24:11 pm by tomislav tomislav

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from