Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into jpn-app-dev
- Loading branch information
Showing
9 changed files
with
33,311 additions
and
9 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
aristotle/apps/call_number/media/call_number/js/call_number.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
function BrowseDisplay(call_number) { | ||
var data = 'number=' + call_number; | ||
alert("IN BROWSE DISPLAY"); | ||
$.ajax({ | ||
url:'/json/', | ||
data:data, | ||
success: function(response) { | ||
|
||
} | ||
}); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
import sys,os | ||
|
||
#sys.path.insert(0, os.path.abspath('C:\\Users\\jernelson\\Development\\frbr-redis-datastore\\')) | ||
#sys.path.insert(0, os.path.abspath('C:\\Users\\jernelson\\Development\\frbr-redis-datastore\\lib\\')) | ||
sys.path.insert(0, os.path.abspath('../frbr-redis-datastore/')) | ||
sys.path.insert(0, os.path.abspath('../frbr-redis-datastore/lib/')) | ||
MAP_ROOT = os.path.abspath(os.path.dirname(__file__)) | ||
PROJECT_ROOT = os.path.abspath(MAP_ROOT)[0] | ||
FIXURES_ROOT = os.path.join(PROJECT_ROOT,'fixures') | ||
LIB_ROOT = os.path.join(PROJECT_ROOT,'lib') | ||
|
||
sys.path.insert(0, PROJECT_ROOT) | ||
sys.path.insert(0, LIB_ROOT) | ||
sys.path.insert(0, FIXURES_ROOT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
""" | ||
:mod:`rda_toolkit_mapper` Uses RDA Toolkit Mappings to create SKOS files for | ||
MARC and MODS imports into FRBR-Redis datastore. | ||
""" | ||
__author__ = 'Jeremy Nelson' | ||
|
||
import sys,datetime,os | ||
from BeautifulSoup import BeautifulSoup | ||
from lxml import etree | ||
import __init__ | ||
print(__init__.LIB_ROOT) | ||
import lib.namespaces as ns | ||
|
||
def create_rda_toolkit_skos(raw_html_filename): | ||
full_path = os.path.join(FIXURES,raw_html_filename) | ||
raw_html_file = open(full_path,'rb') | ||
raw_html = raw_html_file.read() | ||
raw_html_file.close() | ||
html_soup = BeautifulSoup(raw_html) | ||
|
||
|
||
|
||
if __name__ == '__main__': | ||
rda_marc_bib_html = 'rda-marc-bibliographic-mapping.html' | ||
create_rda_toolkit_skos(rda_marc_bib_html) |