# Oneboxing of PDFs and other attachments

**URL:** <https://meta.discourse.org/t/oneboxing-of-pdfs-and-other-attachments/55972>\
**Category:** Feature\
**Created:** [18 Gennaio 2017, 4:20pm UTC](https://meta.discourse.org/t/oneboxing-of-pdfs-and-other-attachments/55972 "2017-01-18T16:20:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [6 Febbraio 2017, 7:30pm UTC](https://meta.discourse.org/t/oneboxing-of-pdfs-and-other-attachments/55972/4 "2017-02-06T19:30:33Z")

</div>

Okay, we now support PDF onebox using [PDF metadata](https://helpx.adobe.com/acrobat/using/pdf-properties-metadata.html).

The oneboxing works best when the metadata of PDF file is complete i.e. it contains “Title”, “Subject” & “Author”.

Demo:

1. PDF contains complete metadata:

[https://www.wired.com/images\_blogs/threatlevel/2009/12/redaction.pdf](https://www.wired.com/images_blogs/threatlevel/2009/12/redaction.pdf)

1. PDF only have “Title” & “Author” as metadata:

> **[Black\_Cat.pdf](https://www.ibiblio.org/ebooks/Poe/Black_Cat.pdf)**
>
> 80.34 KB

1. PDF with no metadata:

> **[Sample\_Syllabus\_for\_Wikipedia\_assignment.pdf](https://upload.wikimedia.org/wikipedia/commons/e/ef/Sample_Syllabus_for_Wikipedia_assignment.pdf)**
>
> 1993.87 KB

---

_[View the full topic](https://meta.discourse.org/t/oneboxing-of-pdfs-and-other-attachments/55972)._
