-
-
Notifications
You must be signed in to change notification settings - Fork 711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF metadata #77
Comments
Is it useful to override these from CSS or Python? |
One suggestion was to add the date of PDF generation in the metadata (ie. when WeasyPrint rendered this document) but:
My current plan is to expose this metadata (read/write) on |
<title> → /Title <meta name=author> → /Author <meta name=description> → /Subject <meta name=keywords> → /Keywords <meta name=generator> → /Creator <meta name=dcterms.created> → /CreationDate <meta name=dcterms.modified> → /ModDate "WeasyPrint vX.Y" → /Producer
Add PDF metadata parsed from HTML. Fix #77.
It may be added to cairo: https://lists.cairographics.org/archives/cairo/2016-September/027755.html |
Suggested mapping of HTML metadata to PDF metadata:
<title>
→ Title<meta name=author>
→ AuthorMaybe?
<meta name=description>
→ Subject<meta name=keywords>
→ Keywords<meta name=generator>
→ Creator"WeasyPrint vX.Y" → Producer
<meta name=dcterms.created>
→ CreationDate<meta name=dcterms.modified>
→ ModDateRelevant specs:
http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-title-element
http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#standard-metadata-names
http://wiki.whatwg.org/wiki/MetaExtensions
The text was updated successfully, but these errors were encountered: