Re: (Roller 3.1) Creating blog entry-specific description meta tags

Glen Mazza <[email protected]>
Newsgroups gmane.comp.java.roller.user
Message-ID <[email protected]>
On 6/19/2012 8:41 AM, Dave wrote:
> On Thu, Jun 14, 2012 at 6:59 PM, Glen Mazza<[email protected]>  wrote:
>> Hi, my blog is hosted on JRoller so I'm using Roller 3.1.  For URLs which
>> point directly to a specific blog entry (such as here:
>> http://www.jroller.com/gmazza/entry/cxf_and_metro_team_links, instead of a
>> day, month, or category, etc.), I'd like to alter the<title>  and<meta
>> name="description"/>  tags in the HTML<head>  part to increase hits while
>> Googling and also to make the Google title and description more relevant for
>> the blog posting.  I got the former done fine in the "header" template but
>> am having problems with the latter:
>>
>> #if ($model.permalink == false)
>> <title>#showWebsiteTitle()</title>
>> <meta name="description" content="#showWebsiteDescription()">
>> #else
>> <title>$model.weblogEntry.title | #showWebsiteTitle()</title>
>> <!--meta name="description" content="$model.weblogEntry.????"-->
>> #end
>>
>> <title>  works great now, but description is difficult, I don't know what if
>> anything I can place in that "????" above.  Within each blog entry, I'd like
>> to have a field where I can put in the description blurb ("This blog entry
>> shows you blah blah blah...") that the above template would read in.
>>
>> Any ideas for Roller 3.1?  If not, has this been solved in Roller 4.0 or
>> 5.0?  I can put in an enhancement request if it's not already available.
> Roller now has title, summary and description for each post, but I
> believe that summary was added after Roller 3.1.
>
> - Dave
Hmm, having checked a Roller 5.0 instance, I couldn't see any field on 
the blog entry form where I could type in the description.  Am I looking 
in the wrong place?

Glen


-- 
Glen Mazza
Talend Community Coder
http://coders.talend.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.