ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

how to:

October 18, 2007 8:44am

Subscribe [1]
  • #1 / Oct 18, 2007 8:44am

    robertniessen

    11 posts

    Hi,

    How can I get article-related keywords in the head/meta information of a webpage?
    1. I created an extra field called “trefwoorden” (it is working fine when put in the body)
    2. in the head of my read ‘more’-template I created the #####meta-tag##### as shown below.
    3. That construction does’n't work at all, my read-more template is almost down.
    (see http://www.hollanditus.nl/index.php/weblog/more/the_secret_een_excuus_voor_het_grote_nietsdoen/)

    Some advice would be nice! thanks, Robert

    ps. I am running 1.5.1.

    <head>
    
    <title>{exp:weblog:info weblog="{master_weblog_name}"}{blog_title} | {blog_description}{/exp:weblog:info}</title>
    
    ###{exp:weblog:entries weblog="{master_weblog_name}" 
    <meta name="keywords" content="{trefwoorden}" /> {/exp:weblog:entries}####
    
    <meta name="robots" content="all" />
    
    <meta http-equiv="Content-Type" content="text/html; charset={charset}" />
    
    <link rel='stylesheet' type='text/css' media='all' href='{stylesheet=weblog/weblog_css}' />
    <style type='text/css' media='screen'>@import "{stylesheet=weblog/weblog_css}";</style>
    
    </head>
  • #2 / Oct 18, 2007 11:11am

    robertniessen

    11 posts

    oeps, how easy life can be:)
    I placed, replaced, the }-sign many times…. the wrong way after all. Thanks
    btw: lovely haircut!

    robert

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases