Is there a pdf-version file that allows you to automatically (or manually) add the http-source of the document?

Is there any version in pdf format that allows you to automatically (or manually) add the http-source of the document?

The scenario of this problem on the part of the user is as follows:

  • I found a disire pdf file on the Internet.
  • I keep it.
  • In a few months I will open this document and I want to find the web page where I found it.

It would be nice to have the address of this file, of course, it could be written manually in the soe text file, but usually there are problems with copying + pasting the names of documents in PDF format.

+4
source share
2 answers

If you can change your PDF files before sending them to the browser, there are several places where you could put the URL where the document came from:

  • You can use node in the "logical structure" tree (Chapter 14, Part 7 of the PDF Reference Document ). This tree appears in Acrobat Reader on the Model Tree tab.
  • You can add a hyperlink annotation to the top or bottom of each page or to the first page or to a new page, which you can add at the beginning or end of the file. I personally think this is the best approach since the link will be clickable.
  • You can add a button field on the page that triggers the GoTo action associated with the source URL. The actions are explained in Chapter 12 - Interactive Functions of the PDF Reference Document.
  • You can add a bookmark (outline) that points to a named destination that is associated with the source URL. Named destinations are also described in chapter 12. This approach can also be used with just one click, and you can hide the bookmarks tab if we do not use it.
  • You can add it as a document property as @Bobrovsky said .
+4
source

PDF allows you to add custom values โ€‹โ€‹to the document information dictionary (see section 14.3.3 "Document Information Dictionary" in the PDF Reference). You can place your URL. Adobe Reader displays custom values โ€‹โ€‹in the Document Properties dialog box on the Advanced tab.

Starting with PDF 1.4 (Acrobat 5x and later), you can add the URL to the XMP metadata stream specified in the document directory (see 14.3 Metadata in the PDF Reference). Adobe Reader will also show metadata properties if you put them in a custom schema.

Acrobat Professional can be used to add custom XMP values โ€‹โ€‹or metadata. For this purpose, you can also use almost any PDF library that can open and save PDF files.

I think there are no other places in the PDF that you can use to store your information.

PDF Reference

+2
source

All Articles