Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

meta tag

The "GX WebManager Usage" forum covers all topics concerning the actual usage of GX WebManager. Topics include using editor functions, content elements, workflow, authorizations, My WebManager, Media repository, Personalization, Page templates, etc.

Answered
Not marked as answered yet

Forums  >  GX WebManager Usage  >  meta tag


Author meta tag
SPeter


Posts: 6

Posted: 18-08-2010 11:50

Hi All,

Is it possible to use the file -> properties -> meta tags functionality to generate a meta tag on a page like <META NAME="CATEGORIE" content="PRODUCTINFO"/>

According to the api http://connect.gxsoftware.com/api/webmanager/javadoc/nl/gx/webmanager/cms/core/MetaTag.html i think it should be possible but the documentation isn't really clear about this topic...

Any ideas?

Regards, Peter

michelt



Posts: 235

Posted: 20-08-2010 13:58

Hi,

What you get back when you call PageVersion.getMetaTags() is comprised of:
- 'keywords' as set for the website as a whole unless overruled on page level
- 'description' is derived from the first text element on that page
- 'robots' is derived form the switch about indexing on that page

So you can't use that mechanism to add your 'CATEGORIE', What you could do is add a page metadata wcb that basically container a name/value pair (like 'CATEGORIE'/'PRODUCTINFO'). You can access that data from your jsp and print it as what you like...

Regards,

Michel

SPeter


Posts: 6

Posted: 20-08-2010 14:14

Thanks!

Back to top

New message: "meta tag"
Message:
bold boitalicd underline url quote code smile cool eek grin mad razz sad wink
 
© 2012 GX Software B.V.

Disclaimer

This website (Connect.gxsoftware.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.