roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: (Roller 3.1) Creating blog entry-specific description meta tags
Date Tue, 19 Jun 2012 12:41:51 GMT
On Thu, Jun 14, 2012 at 6:59 PM, Glen Mazza <gmazza@talend.com> 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

Mime
View raw message