Presentation is loading. Please wait.

Presentation is loading. Please wait.

DLC-MODS Workbook 1.2 Pinky says, “Hello.” Presented by University of Tennessee Libraries Digital Library Center Melanie Feltner-Reichert, Metadata Librarian.

Similar presentations


Presentation on theme: "DLC-MODS Workbook 1.2 Pinky says, “Hello.” Presented by University of Tennessee Libraries Digital Library Center Melanie Feltner-Reichert, Metadata Librarian."— Presentation transcript:

1 DLC-MODS Workbook 1.2 Pinky says, “Hello.” Presented by University of Tennessee Libraries Digital Library Center Melanie Feltner-Reichert, Metadata Librarian Christine Haygood Deane, Software Developer

2 DLC-MODS Workbook 1.2 When you first load the Workbook, 2 prompt messages appear that you fill in. Then a Welcome alert appears, and the workbook is fully loaded.

3 DLC-MODS Workbook 1.2 Now the Workbook is fully loaded in non-debug mode.

4 DLC-MODS Workbook 1.2 This is the Welcome Page in debug mode. Note that the Upper (yellow) and Lower (pink) Frames show, along with the Display Frame (grey).

5 DLC-MODS Workbook 1.2 The reason for the prompts and alert at the beginning is to allow the Lower (pink) Frame to fully load. This frame holds functions and arrays. Once loaded, these functions are never loaded again and are available to all pages. This saves time for the user.

6 DLC-MODS Workbook 1.2 The Left Frame contains the active page link display. The link to the current page in the Display Frame is highlighted so you know where you are. For debug purposes, there is a link to the static link page so you can navigate to all places.

7 DLC-MODS Workbook 1.2 The information you enter into the prompts is loaded to input boxes on the header page. You must enter your XML filename on the input box on the page and click Save.

8 DLC-MODS Workbook 1.2 When you click the Save button, an alert appears prompting you to check your filename. After you click OK, the data is saved.

9 DLC-MODS Workbook 1.2 This is the display of your saved data in XML format. Note the Name, Institution, and FILENAME values. You may go back to the page to revise the data.

10 DLC-MODS Workbook 1.2 If you visit the Upper Frame, you can see where the data is really saved. All input form variables from all input pages are saved to the Upper Frame.

11 DLC-MODS Workbook 1.2 Returning to the input page, scroll to the bottom. This display shows the array of DOM elements on the page. Every element except buttons is saved to the Upper Frame.

12 DLC-MODS Workbook 1.2 Moving to the input page, note the Summary of Requirements at the top of the page. This is to help the user decide what is important for creating a MODS record.

13 DLC-MODS Workbook 1.2 These are the input boxes on the page. Note the Add/Remove buttons. This allows creation of more than one titleInfo block.

14 DLC-MODS Workbook 1.2 When you click Save, the generated XML tags are displayed, with your inputs in red. If you had used the Add titleInfo block option, multiple sets of … tags would have been generated.

15 DLC-MODS Workbook 1.2 Scrolling to the bottom of the page you see the elements array. Note sentinel elements. This allows dynamic page loading so that you can have more than one title block for the digital object. Again, all input pages work the same, saving to the Upper Frame.

16 DLC-MODS Workbook 1.2 This shows how form values are saved. The elements array is turned into a string that is saved to ti_block_list. The ti_block_list is a hidden variable in the Display Frame and a textarea in the Upper Frame. The separator is parent.U.split_token ( @@@@@ ).

17 DLC-MODS Workbook 1.2 When you return to the page at any time during the session, the values from ti_block_list string in the Upper Frame are loaded into the page input box array. This is how the data is persisted for the duration of a session. And this is how it works for all pages, including Reload.

18 DLC-MODS Workbook 1.2 This is the Reload Dev page, which is exactly the same as the simple Reload page except for a few extra buttons. The Load Test File button allows you to load a hard-coded xml input file that I created for testing, the fictional biography of Fenway Thigpen.

19 DLC-MODS Workbook 1.2 Clicking the Load Test File button causes the xml to be loaded. When you click Process Data in TextArea, this will parse the data and load it to the Upper Frame.

20 DLC-MODS Workbook 1.2 The display of this alert is proof that reloading completed successfully. Data has been parsed and saved to the upper frame.

21 DLC-MODS Workbook 1.2 What happens when you click the Process button on the reload page? First the xml tags are broken up into element blocks. These are loaded to the Upper Frame in the U2 form in textareas. Each textarea corresponds to one input page. Then each textarea is processed…

22 DLC-MODS Workbook 1.2 …and loaded into corresponding Upper Frame form UF inputs. inputs are slightly different from other pages, but the ti_block_list text area is a good representative of all the others. Note the string of values separated by @@@@@ tokens. These values are ready to load in the page.

23 DLC-MODS Workbook 1.2 This shows the values from Reload. These values came from the ti_block_list textarea in the Upper Frame. You can use the Load Test File to explore how pages work.

24 DLC-MODS Workbook 1.2 You can also look at your values on the Review Page. Below are some values from Reload on Fenway Thigpen. You can scroll down and see all values from Reload. If you have on an incomplete file, the Review Page is a quick way to find out what is left to be done.

25 DLC-MODS Workbook 1.2 The Review Page provides a table that displays BLOCK ITERATION and PAGE VALIDATION for all pages in the Workbook. These comments are generated at the top of each XML file created by the workbook and are designed specifically to help with Reload. See how has BI=2, which causes 2 blocks.

26 DLC-MODS Workbook 1.2 Cutting to the Chase. You have filled out your inputs and saved them, now it is time to go to the Final Page and create an XML file.

27 DLC-MODS Workbook 1.2 Scroll down on the Final Page to the buttons. You should probably click View MODS TAGS first to look at your work.

28 DLC-MODS Workbook 1.2 After you click on View MODS TAGS, the display of the entire XML file will appear, with input values in red. You will have to scroll down to see the entire XML output. If you have problems using other download buttons, you can always cut and paste this display into notepad to create your final XML file.

29 DLC-MODS Workbook 1.2 The Create Incomplete button is for saving work in progress. The Create Final button is for finished work. Clicking either one should bring up a download dialog.

30 DLC-MODS Workbook 1.2 Clicking Create Incomplete or Create Final will bring up the download dialog for your browser. Go through standard steps for your browser and save your file to the correct directory.

31 DLC-MODS Workbook 1.2 Your xml output should look like this.

32 DLC-MODS Workbook 1.2 In this release of the Workbook, php is needed to create the download. If you do not have php, click on the Display XML as HTML button.

33 DLC-MODS Workbook 1.2 When you click the Display XML as HTML button, you will see the alert shown below. When you close the alert, the HTML page will appear.

34 DLC-MODS Workbook 1.2 The Display Frame contains the XML as HTML. Right Click on the display frame for the browser menu containing View Source to show up.

35 DLC-MODS Workbook 1.2 Clicking on View Source should create your xml file as a.txt file.

36 DLC-MODS Workbook 1.2 This is the text file created by View Source from the Display Frame. You will have to edit out the lines before the <?xml line and you will have to change the filename to the correct name with the.xml file extension, then you will have a final MODS record.

37 DLC-MODS Workbook 1.2 The Workbook contains User Documentation that is aimed at the standard user ( probably a cataloger ) with brief notes about each input page.

38 DLC-MODS Workbook 1.2 The Workbook contains Programmer Documentation, with technical notes to help in customizing the code.

39 DLC-MODS Workbook 1.2 Pinky says, “Good-bye.” Code available online at: http://dlc.lib.utk.edu/~cdeane/UTK_LIB_DLC/beta.htm http://dlc.lib.utk.edu/~cdeane/UTK_LIB_DLC/beta.htm And available as download at: http://dlc.lib.utk.edu/~cdeane/UTK_LIB_DLC/beta_download.htm http://dlc.lib.utk.edu/~cdeane/UTK_LIB_DLC/beta_download.htm


Download ppt "DLC-MODS Workbook 1.2 Pinky says, “Hello.” Presented by University of Tennessee Libraries Digital Library Center Melanie Feltner-Reichert, Metadata Librarian."

Similar presentations


Ads by Google