Download | Change Log

This plugin provides an easy shortcode macro to generate a list of new arrivals with cover art from Syndetics (if available). Both the title and cover image are links to the online catalog search results page. Shortcode examples:

[selco_new_arrivals lib_code=zum]

[selco_new_arrivals lib_code=zum]

[selco_new_arrivals lib_code=zum num_days=15]

[selco_new_arrivals lib_code=zum num_days=15]

[selco_new_arrivals lib_code=zum num_days=15 item_type=dvd]

[selco_new_arrivals lib_code=zum num_days=15 item_type=dvd]

lib_code is your library’s Horizon location code;
num_days is the number of days back the plugin looks for new arrivals. In the example above the plugin will look for all the item record that were created 15 days from the day that the page is loaded. This parameter is optional, if not specified 30 will be used;
item_type specifies whether you want the new books, DVDs, Blu-Rays, CDs, Music CDs, or Audiobook CDs. Valid values are book, dvddvd-only, blu-ray, cd, cdm, or cdb. This parameter is optional, if not specified the plugin will list the new books.

For items to be included in this list they must have a status of ‘i‘, ‘o‘, ‘tr‘, or ‘h‘:

  • i = available
  • o = checked out
  • tr = transit
  • h = held

Items must be in one of the following collection codes:

For books:

  • any of the b codes

For DVDs:

  • any code beginning with dvd
  • any code beginning with dvd but not dvdb (dvd-only)
  • any code beginning with dvdb (blu-ray)

For CDs:

  • any code beginning with cd
  • any code beginning with cdm
  • and code beginning with cdb

Installation instructions

To download:

SELCO_New_Arrivals

 

Change Log

Date of Change Ticket Description
2013/11/06 15950 Verion 2.0 call to SELCO Web Service to get XML list of new arrivals. Also removed aqualink from the short-code because of the change to a new online catalog.
2013/11/06 15921 Sort items in descending order so that the newest books are listed at the top of the list
2014/02/10   Change base URL for SELCO Horizon web service to the permanent sub domain hzws.selco.info and version to 2
2015/01/29 21211 Add the auto-update functionality
2015/02/18   Added granular breakdown for music CDs only,  audiobook CDs only, DVDs only (no Blu-Rays),  and Blu-Rays only
2015/05/15 22187 Added special code so that the SELCO Professional Collection would shoe only the collection code ‘bnf’ and to swap out the location code of ‘selco’ with ‘default’ in the catalog links.
2016/07/14 22811 If there are no items returned put out message else continue as normal.