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 num_days=15]
[selco_new_arrivals lib_code=zum num_days=15 item_type=dvd]
[selco_new_arrivals lib_code=zum num_days=15 collect=bgn,-bgnj]

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.
collect specify the collection codes of the new material that you want to included. For example, if your library wanted to display the new large print books and you use the collection code blp, you could specify collect= blp instead of an item_type. Collection codes are treated as if there is a wild card character at the end;  collect=b will return new material for all the collection codes that start with a ‘b’, so b,bf,bnf,bj (notice that there is no space between the comma and code) will all be returned. If you want to filter out a collection code you can list it with a ‘-‘ in front of it. For example, bgn,-bgnj will return all the non-juvenile graphic novels.

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:



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 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.
2017/02/10 26774 Pull SELCO Horizon web service and access code from database so that they are not in the code. This will make it a little more difficult for hacking.
2017/06/21 28272 Allow user to specify the collection code(s) (multiple collection codes need to be separated by a comma).