I've seen this on a few instances of vufind. I would like to add it to
my instance but I can't find any documentation to do it. Would someone
please send instructions for adding it so we can limit advance searches by
publication date? Thanks, Emily
Is there a specific VuFind instance you remember that has this feature? If you point me there, I might be able to tell you how it can be done.
There isn't currently a built-in date control in the standard VuFind distribution... though this is something I have thought about adding. For the moment, there are a few options, none ideal, but possibly workable with a bit of adaptation:
1.) You can turn on a year facet by adding "publishDate = year" to the [Advanced] section of web/conf/facets.ini. If you are using the default theme, this may cause some layout problems on the home page due to the way the [Advanced] section is shared by the home page and advanced search. Additionally, while the facet list on the advanced search screen will allow selection of multiple years, these multiple selections will be treated as an AND search rather than an OR search, which is likely to cause confusion (see http://vufind.org/jira/browse/VUFIND-45 for some comments on this).
2.) You can actually do date limiting in the default out-of-the-box configuration by selecting the "Year of Publication" value in the drop-down next to the text fields in the advanced search screen. You can even do date ranges using the [xxxx TO yyyy] syntax. This isn't obvious to casual users, but if you need to do these kinds of searches, it is possible if you know the right tricks.
3.) It probably wouldn't be too hard to add a new form element to the advanced search that takes start and end years and injects a date range into the search to simulate the user inserting a clause as described in point #2.
Hopefully this is somewhat helpful - let me know if you need more details on anything.
From: Emmy Spriggs [mailto:emspriggs@...]
Sent: Wednesday, October 27, 2010 9:02 AM
Subject: [VuFind-General] limit by publication date on advanced search
I've seen this on a few instances of vufind. I would like to add it to my instance but I can't find any documentation to do it. Would someone please send instructions for adding it so we can limit advance searches by publication date? Thanks, Emily