Skip to content

Commit

Permalink
Add support for DC type
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaier committed Jan 19, 2014
1 parent 5d6b2f2 commit f5c06a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/bibtex/entry/rdf_converter.rb
Expand Up @@ -210,6 +210,13 @@ def title

def type
graph << [entry, RDF.type, bibo[BIBO_TYPES[bibtex.type]]]

case bibtex.type
when :proceedings, :journal
graph << [entry, RDF::DC.type, 'Collection']
else
graph << [entry, RDF::DC.type, 'Text']
end
end

def volume
Expand Down

0 comments on commit f5c06a6

Please sign in to comment.