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

Dave <[email protected]>
Newsgroups gmane.comp.java.roller.user
Message-ID <CAF1aazBfgCx0ESDpVXFVwF1ia-j1ssxJFLiCxXsdygc8SaWY2w@mail.gmail.com>
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
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.