Eric - I did forget to tell you about the solr-convert.xsl file in the web/xsl directory.  VuFind converts Solr's response to something a bit simpler for ease of parsing.  You will need to add these fields to this xsl file.  Let me know if you have any trouble with this.

Andrew

On Wed, May 27, 2009 at 5:32 PM, Eric Lease Morgan <emorgan@nd.edu> wrote:

On May 27, 2009, at 4:45 PM, Eric Lease Morgan wrote:

>> I'm re-thinking how I can display call numbers and institution names,
>> and now I am thinking I can pull this data directly from the Solr
>> index. For example, given a Bib ID, how feasible is it for me to
>> create a "driver" that queries the Solr index to extract the values
>> in institution, collection, building, and callnumber to display the
>> location of a found item?...
>
> So apparently, I need to see how things like title and author are
> displayed and use something similar for call number and location. Off
> to the races...



I am now able to display call numbers. The solution was trivial. Edit
list-list.tpl to include {$record.callnumber} in the display:

  <b>{translate text='Call Number'}:</b> {$record.callnumber}<br>

Unfortunately, the same process does not seemingly work for
institutions and buildings:

  <b>{translate text='Located'}:</b> {$record.institution},
{$record.building}

Is the institution field included in $record? If so, then what am I
doing wrong? If not, then what do I need to do get it included?

--
Eric "Appreciating The Support" Morgan


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Vufind-tech mailing list
Vufind-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vufind-tech