I think this is ready for prime time. Here are some bullet points:
1) In the UI, you'll find a "Load MARC" tab.
2) The user may choose from searching by Bib ID or LCCN by clicking the dropdown.
3) The user can change profiles by using the "Choose profile" dropdown (this uses the same function as Load IBC)
4) An SRU request is made to lx2.loc.gov:210 with recordSchema set to "bibfram2a" and will retrieve a single record. NOTE: if a record is not found a modal pops up alerting the user.
5) The RDF portion of the response is posted to http://rdf-translator.appspot.com/ which returns a JSON-LD record. This all happens in a function named rdfxml2store.
6) The response is added to bfestore.store using jsonldcompacted2store.
7) The stored object is then updated to change URIs (i.e. http://bibframe.example.org) to something the editor can use (i.e. http://id.loc.gov). This function also adds a 9 digit, 0 padded Bib id to the URIs.
8) Instance and Item URIs get "0001" appended to them so that they can be found at http://mlvlp04.loc.gov:8230/resources/instances/...
I think this is ready for prime time. Here are some bullet points:
1) In the UI, you'll find a "Load MARC" tab. 2) The user may choose from searching by Bib ID or LCCN by clicking the dropdown. 3) The user can change profiles by using the "Choose profile" dropdown (this uses the same function as Load IBC) 4) An SRU request is made to lx2.loc.gov:210 with recordSchema set to "bibfram2a" and will retrieve a single record. NOTE: if a record is not found a modal pops up alerting the user. 5) The RDF portion of the response is posted to http://rdf-translator.appspot.com/ which returns a JSON-LD record. This all happens in a function named rdfxml2store. 6) The response is added to bfestore.store using jsonldcompacted2store. 7) The stored object is then updated to change URIs (i.e. http://bibframe.example.org) to something the editor can use (i.e. http://id.loc.gov). This function also adds a 9 digit, 0 padded Bib id to the URIs. 8) Instance and Item URIs get "0001" appended to them so that they can be found at http://mlvlp04.loc.gov:8230/resources/instances/...
Enjoy!