Save as PDF - add page url to pdf metadata
-
milolav last edited by
When using Save as PDF function in Opera, page url is not stored anywhere within the generated PDF document. Printing puts it in the footer, but result is not as nice as single-page layout that Save as PDF offers. Can url be put into Title or Subject fields of PDF's metadata?
-
burnout426 Volunteer last edited by
Can url be put into Title or Subject fields of PDF's metadata?
I was thinking about this. I think the page title should go in Title at least. And, since there's no URL field for a pdf document's properties, putting
PageTitle - PageURL
in the Title field for the PDF would work pretty nicely. Doing so looks nice when loading the PDF in Opera/Chromium.There are a few downsides though. Adobe Reader doesn't show the URL or title (except in the document's properties). The URL isn't clickable. You can select and copy the URL though, but only if it's not elided because it's too long.
A custom SourceURL field might be nice as long as Chromium's PDF viewer gets UI for it to show it and click on it.
-
milolav last edited by
PageTitle - PageURL
in Title sounds good. If page URL is stored in a custom field, different PDF readers might not display that field anywhere. While Subject field is not used as often, it is a part of the PDF specification (Document Information Dictionary) and its use does not fall far from the tree if we say that the subject of the document is the URL from which PDF is saved from.As for the Chromium's PDF viewer UI in general, instead of just handling one specific field, it would be better to display all properties from PDF's Document Information Dictionary. This way it doesn't matter if the URL is in a custom or a standard field.