Jump to content

Module:Citation/CS1: Difference between revisions

add compulsory book or journal suffix
m>Wikid77
(try a change & see if "Script error")
m>Shyamal
(add compulsory book or journal suffix)
Line 380: Line 380:
     local OCinSdata = {} -- COinS metadata excluding id, bibcode, doi, etc.
     local OCinSdata = {} -- COinS metadata excluding id, bibcode, doi, etc.
     local ctx_ver = "Z39.88-2004"  
     local ctx_ver = "Z39.88-2004"  
     OCinSdata.rft_val_fmt = "info:ofi/fmt:kev:mtx:"
     OCinSdata.rft_val_fmt = "info:ofi/fmt:kev:mtx:book"
     if ( nil ~= Periodical ) then
     if ( nil ~= Periodical ) then
        OCinSdata.rft_val_fmt = "info:ofi/fmt:kev:mtx:journal"
         OCinSdata["rft.genre"] = "article"
         OCinSdata["rft.genre"] = "article"
         OCinSdata["rft.jtitle"] = Periodical
         OCinSdata["rft.jtitle"] = Periodical
Line 387: Line 388:
     end
     end
     if ( nil ~= Chapter ) then
     if ( nil ~= Chapter ) then
        OCinSdata.rft_val_fmt = "info:ofi/fmt:kev:mtx:book"
         OCinSdata["rft.genre"] = "bookitem"
         OCinSdata["rft.genre"] = "bookitem"
    OCinSdata["rft.btitle"] = Chapter
    OCinSdata["rft.btitle"] = Chapter
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.