Mapping PDF fields
-
I’m having trouble understanding the process of what needs to be done to successfully import two pieces of metadata from the PDFs I’m uploading to the Media Library. Each PDF includes (an example of a PDF metadata entry is shown below):
pdf:Title => The Role of Politics in the Appointment of Board Members at Sydney Organizing Committee of the Olympic Games (SOCOG)
pdf:Author => Stylianos Daskalakis, Dimitrios Gargalianos & Evangelos Albanidis
When I upload a PDF, the TITLE field, by default, contains the file name, which is useless to users when they execute a search. I want this TITLE field to be replaced by the pdf:Title.
I would also like the new “AUTHOR” field (created using the Custom Fields plugin) to contain the data from the pdf:Author metadata.
I’m assuming that I somehow have to map the IPTC fields so MLA knows what metadata to harvest from the PDFs I upload to my Media Library, but I’m at a loss to know how/where to introduce that mapping and what the code should look like.
Thanks for helping.
- The topic ‘Mapping PDF fields’ is closed to new replies.