Topic
4 replies Latest Post - ‏2009-12-15T14:52:09Z by nitsvault
WCMer
WCMer
3 Posts
ACCEPTED ANSWER

Pinned topic Use Athoring Template Profile Category/Keywords fields for Dublin Core?

‏2009-07-15T02:20:23Z |
IBM recommends using Dublin Core Meta tags to aid SEO with Portal Search.

Utilising the WCM Athoring Template Profile Category and Keywords fields, how can you enable these values to be output wihtin the <head> tag of a Portal / WCM delivered website?

Since the Theme has control of the the HTML document outside of the <body> there seems to be no documented solution.

Is there any coding within the Theme that can done to look at content of these fields (of a defined?) Web Content Viewer Portlet of a page?

Thanks
Updated on 2009-12-15T14:52:09Z at 2009-12-15T14:52:09Z by nitsvault
  • WCMer
    WCMer
    3 Posts
    ACCEPTED ANSWER

    Re: Use Athoring Template Profile Category/Keywords fields for Dublin Core?

    ‏2009-07-15T02:30:44Z  in response to WCMer
    Forgot to mention... 6.0

    Thanks
  • nitsvault
    nitsvault
    14 Posts
    ACCEPTED ANSWER

    Re: Use Athoring Template Profile Category/Keywords fields for Dublin Core?

    ‏2009-12-14T19:31:28Z  in response to WCMer
    Hi I have the same question, if anyone knows about it please reply back
    • SystemAdmin
      SystemAdmin
      3918 Posts
      ACCEPTED ANSWER

      Re: Use Athoring Template Profile Category/Keywords fields for Dublin Core?

      ‏2009-12-15T07:51:27Z  in response to nitsvault
      Within a Portal 6.0 environment this there is not an out-of-the box solution to do this. By definition the portal (theme) does not know the state of the portlets (jsr168 or IBM spec.). Also since there can be more than one piece of content per portal page the meta-data information could be ambiguous.
      E.g. the Dublin core metadata demands a unique identifier to point out to the content, but what if 2 WCM articles are on the one page? And what about the content from other portlets on the page.

      Nevertheless it can be done. But only by employing custom coding, and dedicated to your specific requirements. We have used a portlet service and a custom tag to be placed in the theme. The portlet service tracks the clicked WCM context (by inspecting the URL changes). WCM uses this 'unorthodox' method of 'messaging', and the 'messages' can easily be intercepted. The 'default' content of the portal page can be retrieved by inspecting the portlet(s) on that page using the model SPI's. How to do this depends on your configuration / portal page lay-out.

      The custom tag used the WCM API to retrieve the (dublin core) metadata value's. Please note that this API has some notoriously slow element that you need to avoid.

      Hope this helps.

      best regards,
      Pieter Hertogh
      • nitsvault
        nitsvault
        14 Posts
        ACCEPTED ANSWER

        Re: Use Athoring Template Profile Category/Keywords fields for Dublin Core?

        ‏2009-12-15T14:52:09Z  in response to SystemAdmin
        Hi Pieter,
        Thanks for your reply,
        but i am not sure about following comment how to do this? if you have any example please send me that.

        The portlet service tracks the clicked WCM context (by inspecting the URL changes). WCM uses this 'unorthodox' method of 'messaging', and the 'messages' can easily be intercepted. The 'default' content of the portal page can be retrieved by inspecting the portlet(s) on that page using the model SPI's. How to do this depends on your configuration / portal page lay-out.

        -Nits