roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <>
Subject [jira] [Commented] (ROL-1947) Provide a blog entry-level description field that can go into HTML header field
Date Sun, 14 Oct 2012 15:45:03 GMT


Glen Mazza commented on ROL-1947:

Hi, the attached patch provides a "Search Description" field for each blog entry (max length
255 chars), providing the same functionality offered by Google's Blogger (see attached PNGs
for Blogger and what it would look like in Roller) and removing a potential show-stopper for
those considering use of Apache Roller.  By default, values placed here will not go into the
blog entry header unless the template is modified, but this provides the advanced user the
ability to do so if he or she wishes.

For users wanting this field to be placed in their header, the necessary template modification
would be just the single line below:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>$model.weblogEntry.title : $</title>
-->    <meta name="Description" content="$model.weblogEntry.searchDescription"> <--
    <link rel="stylesheet" type="text/css" media="all" href="$model.weblog.stylesheet">

All Roller tests still pass with this patch.  Note i18n might be an issue, as I've added the
text for this field only to the standard resources property file, not to the various other
UI languages supported by Roller (I believe they default to English if a foreign equivalent
is not provided.)  Due to the database change this patch includes it can probably be added
only to the future Apache Roller 5.1.

If this patch is applied the Template Guide will also need an update with the WeblogEntry
table (Section 6.10) having another row added to describe the new searchDescription field,
something like:
$entry.searchDescription / String / Descriptive text that can be added to the weblog entry's
HTML header for search engine optimization (SEO).

> Provide a blog entry-level description field that can go into HTML header field
> -------------------------------------------------------------------------------
>                 Key: ROL-1947
>                 URL:
>             Project: Roller
>          Issue Type: Improvement
>            Reporter: Glen Mazza
>            Assignee: Roller Unassigned
> Hi, as discussed here:
> Provide an ability to store a description field for each blog entry, that the user may
wish to employ (via template modifications) to place within the HTML header, like so:
> <meta name="Description" content="$model.weblogEntry.description"/>
> This information is utilized by search engines to varying degrees when they wish to describe
the contents of the blog article on the search results page, and is functionality already
available in Google Blogger.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message