The DataField class includes getIndicator1() and getIndicator2() methods which can be used to access the data you mention. More documentation here:
I hope this is helpful; let me know if you still have questions.
From: Thomas Misilo [mailto:email@example.com]
Sent: Wednesday, February 06, 2013 8:07 AM
Subject: [VuFind-Tech] format.bsh
I was wondering if the format.bsh index script supports reading the numbers at the beginning of a marc field? For example the following two 856 fields:
856 4 2 |3 Contributor biographical information |u http://www.loc.gov/catdir/bios/wiley044/2002028892.html
856 4 0 |3 SpringerLink |u http://dx.doi.org /10.1007/978-3-540-93956-6 |z An electronic book accessible through the World Wide Web; click for information
I want to be able to read the column that has the 2 and 0, and use that to help determine what format icon to associate with Record.