Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

Synchronizing Annotations Between Local and Remote PDFs

By judell | 2 April, 2015

People are sometimes surprised to learn that Hypothes.is can annotate PDFs. They’re even more surprised when they learn you can annotate a local copy of a PDF in a way that synchronizes with another local copy and/or with a web copy of the same PDF.

Here’s a browser with a local PDF in one tab and a web PDF in a second tab.

pdf-anno-01.jpg

To enable what I’m showing here, and if you’re running our Chrome extension, you’ll need to make sure you’re allowing access to local file URLs. Start by opening up the extensions settings:

pdf-anno-03a

And make sure Allow Access to File URLs is checked.

pdf-anno-07

OK, now I’ll make an annotation in the second tab against the web PDF.

pdf-anno-04

Switching to the first tab, I see that annotation on the local PDF. And I make another annotation on the local PDF.

pdf-anno-05

And here it is in the web viewer.

pdf-anno-06

If this were a screencast, you’d see both views updating dynamically as annotations sync between them. [Update: Jack Dougherty made a screencast, thanks Jack!] For people who rely on email and/or the local hard drive to find things, this is a convenience. But for me it’s one facet of a general philosophy at Hypothesis.

Consider what makes local PDF annotation possible. It turns out that the PDF specification recommends including a unique ID based on the current time, the file’s pathname, its size, and some other information. Multiple copies of the file can sync to that common ID.

That’s a special case of something of general interest to Hypothesis. A given resource on the web may have many incarnations. Sometimes two different URLs point to the same resource. Sometimes a resource will have vanished from the web but remain accessible in one or more web archives. And sometimes a resource may be in an email attachment or on a local drive. If we can identify and track all these as a family of same resources, we’ll do our best to anchor annotations to any member of the family. That’s the kind of future-proofing and long-term thinking that I admire and, as our newly-appointed product manager, will be happy to help advance.

Share this article