Class: LocSearch::DCRecord
Constant Summary
collapse
- DC_NS =
{ "dc" => "http://purl.org/dc/elements/1.1/" }
Constants inherited
from LocSearch
LOC_SRU_BASEURL
Instance Method Summary
collapse
Methods inherited from LocSearch
import_from_sru_response, #initialize, make_sru_request_uri, search
Constructor Details
This class inherits a constructor from LocSearch
Instance Method Details
#creator ⇒ Object
55
56
|
# File 'app/models/loc_search.rb', line 55
def creator
end
|
#lccn ⇒ Object
52
53
54
|
# File 'app/models/loc_search.rb', line 52
def lccn
@node.xpath('.//dc:identifier[@type="lccn"]', DC_NS).first.content
end
|
#title ⇒ Object
49
50
51
|
# File 'app/models/loc_search.rb', line 49
def title
@node.xpath('.//dc:title', DC_NS).first.content
end
|