MuckRock / documentcloud-frontend

DocumentCloud's front end source code - Please report bugs, issues and feature requests to info@documentcloud.org
https://www.documentcloud.org
GNU Affero General Public License v3.0
16 stars 5 forks source link

Support for URL extensions #56

Open morisy opened 4 years ago

morisy commented 4 years ago

DocumentCloud currently supports a number of special extensions that can just be added to the DocumentCloud URL (some are documented here):

.txt: Shows just the OCRd text as a txt file. .pdf: Links to the raw PDF /p2: links to specific page /p57/a42283: links to a specific note

And I think there's also something that shows you just the text from a specific page but can't find it?

freedmand commented 4 years ago

Goes hand-in-hand with embeds. Good to note the .txt and .pdf behavior, which can be a redirect