Editing Workflow:PDF/A validation and metadata extraction

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Infobox COW
+
{{Infobox_COW
|status=Experimental
 
|tools=GNU Wget, VeraPDF, UKWA search interface, XMLstarlet, Excel
 
|input=Corpus of PDF/A files
 
|output=CSV with validation result and metadata
 
|organisation=Digital Preservation Coalition
 
|organisationurl=http://dpconline.org/
 
 
|name=PDF/A validation and metadata extraction
 
|name=PDF/A validation and metadata extraction
 +
|category=File format validation, Metadata extraction
 +
|status=Productive
 +
|tools=UKWA search interface<br />[[GNU_Wget]]<br />[[veraPDF]]<br />XMLstarlet<br />Excel
 +
|input= Corpus of PDF/A files
 +
|output= CSV with validationresult and metadata
 +
|organisation=[http://dpconline.org/ Digital Preservation Coalition]
 
}}
 
}}
 +
 +
[[Category:COW Workflows]]
 
==Workflow description==
 
==Workflow description==
 +
[[Category:Validation]]
 
<!-- Describe your workflow here. If necessary add a diagram -->
 
<!-- Describe your workflow here. If necessary add a diagram -->
 
*UKWA search interface (create URL list of PDF/A files in UKWA) ->
 
*UKWA search interface (create URL list of PDF/A files in UKWA) ->
Line 17: Line 20:
  
 
The workflow begins with creation of a corpus of test files which is constructed using the UK Web Archive search interface (for example see [https://www.webarchive.org.uk/shine/search?query=content_type:%22application/pdf%22%20content_type_version:%221b%22 this]). The result is a list of URLs. These are fetched with Wget to create a large test corpus of predominantly PDF/A files. VeraPDF is then used to validate and extract metadata for each file. XMLstarlet is applied to extract fields of interest from the resulting XML creating a CSV. The CSV is then imported to Excel for analysis.
 
The workflow begins with creation of a corpus of test files which is constructed using the UK Web Archive search interface (for example see [https://www.webarchive.org.uk/shine/search?query=content_type:%22application/pdf%22%20content_type_version:%221b%22 this]). The result is a list of URLs. These are fetched with Wget to create a large test corpus of predominantly PDF/A files. VeraPDF is then used to validate and extract metadata for each file. XMLstarlet is applied to extract fields of interest from the resulting XML creating a CSV. The CSV is then imported to Excel for analysis.
 +
 +
==List of Tools==
 +
<!-- List the tools in your workflow in a bulleted list (begin each line with an asterisk). Link to tool entries in COPTR where possible -->
 +
*UKWA search interface
 +
*[[GNU_Wget]]
 +
*[[veraPDF]]
 +
*XMLstarlet
 +
*Excel
 +
 +
==Organisation==
 +
<!-- Add the name of your organisation here -->
 +
[http://dpconline.org/ Digital Preservation Coalition]
  
 
==Purpose, context and content==
 
==Purpose, context and content==
Line 26: Line 41:
 
<!-- How effective was the workflow? Was it replaced with a better workflow? Did it work well with some content but not others? What is the current status of the workflow? Does it relate to another workflow already described on the wiki? Link, explain and elaborate -->
 
<!-- How effective was the workflow? Was it replaced with a better workflow? Did it work well with some content but not others? What is the current status of the workflow? Does it relate to another workflow already described on the wiki? Link, explain and elaborate -->
 
The workflow was useful in that it helped to identify a number of bugs in veraPDF that have since been fixed. The workflow as is provides a very basic method of investigating PDF files, perhaps where some troubleshooting is required.
 
The workflow was useful in that it helped to identify a number of bugs in veraPDF that have since been fixed. The workflow as is provides a very basic method of investigating PDF files, perhaps where some troubleshooting is required.
 +
 +
==Evaluation/Review==
 +
<!-- How effective was the workflow? Was it replaced with a better workflow? Did it work well with some content but not others? What is the current status of the workflow? Does it relate to another workflow already described on the wiki? Link, explain and elaborate -->
  
 
<!-- Add four tildes below ("~~~~") to create an automatic signature, including your wiki username. Ensure your user page (click on your username to create it) includes an up to date contact email address -->
 
<!-- Add four tildes below ("~~~~") to create an automatic signature, including your wiki username. Ensure your user page (click on your username to create it) includes an up to date contact email address -->
 
[[User:Prwheatley|Prwheatley]] ([[User talk:Prwheatley|talk]]) 11:51, 8 February 2017 (UTC)
 
[[User:Prwheatley|Prwheatley]] ([[User talk:Prwheatley|talk]]) 11:51, 8 February 2017 (UTC)

Please note that all contributions to COPTR are considered to be released under the Attribution-ShareAlike 3.0 Unported (see COPTR:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: