roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
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

    [ https://issues.apache.org/jira/browse/ROL-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475851#comment-13475851
] 

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:
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>$model.weblogEntry.title : $model.weblog.name</title>
-->    <meta name="Description" content="$model.weblogEntry.searchDescription"> <--
    #showAutodiscoveryLinks($model.weblog)
    <link rel="stylesheet" type="text/css" media="all" href="$model.weblog.stylesheet">
</head>

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: https://issues.apache.org/jira/browse/ROL-1947
>             Project: Roller
>          Issue Type: Improvement
>            Reporter: Glen Mazza
>            Assignee: Roller Unassigned
>
> Hi, as discussed here:
> http://mail-archives.apache.org/mod_mbox/roller-user/201207.mbox/%3C4FF1A023.5020504%40talend.com%3E
> 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: http://www.atlassian.com/software/jira

Mime
View raw message