Ticket #1076 (closed clarification: fixed)

Opened 3 years ago

Last modified 3 years ago

Selection of recent articles for display on a journal front page

Reported by: ssterling Assigned to: rich
Priority: medium Milestone: 0.9.2
Component: ambra Version: 0.9.1-SNAPSHOT
Keywords: recent articles random "front page" Cc:
Blocking: Blocked By:

Description

On the front page of a journal, display a random selection of recently published articles in random order. This ticket is inextricably linked to the code created for ticket #1052

  • Acquire a set of articles published in the "recent" past
  • If not enough "recent" articles, then query again to get a large enough set articles, no matter how far in the past
  • From the selected articles, show a random subset on the front page of the Journal

Details

  • Recent articles are selected only from the articles published in that Journal
  • Values for recent past and number of articles to show are configurable per journal (see ticket #1052)

Dependency Graph

Change History

02/02/09 15:15:11 changed by rich

  • milestone set to 0.9.2.

02/25/09 17:42:40 changed by ssterling

(In [7306]) Implemented dynamic display of recent articles on the front page of every Journal.

Each time this page is displayed, the "Recent Articles" section is populated (in random order) by random selection from a pool of the most recent articles published in that Journal. Display is controled by the Configuration properties "numDaysInPast", "numArticlesToShow", and "typeUriArticlesToShow", all of which are set in the defaults.xml file for each Journal. Removed static file recentArticles.ftl from each of the Journals. Edited file index.ftl (for each Journal) to point to the default (dynamic) recentArticles.ftl file.

Addresses #1052 Addresses #1076

02/26/09 15:25:12 changed by ssterling

  • owner changed from ssterling to rich.
  • type changed from enhancement to clarification.

03/16/09 15:55:26 changed by rich

  • status changed from new to closed.
  • resolution set to fixed.

Verified that the custom configuration for the recently published block is working correctly. If no <typeUriArticlesToShow> is set in ambra.xml, then the default is to display all article types.