documentcloud / documentcloud-pages

Responsively embed DocumentCloud pages.
https://documentcloud.github.io/documentcloud-pages/examples/
MIT License
23 stars 10 forks source link

Published URL sometimes prevents folks from seeing doc #54

Closed reefdog closed 7 years ago

reefdog commented 7 years ago

As a rule, we try to guide people to a document's published_url rather than the platform URL. This has always been a little iffy, but page embeds are uniquely vulnerable to completely blocking document access. Imagine someone:

  1. Uploads a doc
  2. Embeds a page on Article Page
  3. Pixel Ping records Article Page as the document’s detected_remote_url
  4. detected_remote_url feeds published_url
  5. The page embed uses published_url for all interface links back to the "full document"
  6. Now visitors to the page embed on Article Page, who try to click “Read full document on DocumentCloud”, keep getting sent back to the same Article Page they’re on

Gross. We should untangle how this all works, but until then, page embed needs to just send people to the full document on the platform.