Skip to content
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

PRohledavatelnost PDF googlem (a ostatnima) #40

Open
3 tasks
mesemus opened this issue Feb 16, 2021 · 0 comments
Open
3 tasks

PRohledavatelnost PDF googlem (a ostatnima) #40

mesemus opened this issue Feb 16, 2021 · 0 comments
Labels

Comments

@mesemus
Copy link
Collaborator

mesemus commented Feb 16, 2021

Chceme aby google mohl indexovat obsah public PDF ale zaroven take chceme, aby kdyz clovek na pdf vleze tak dostal record, ne pdf.

  • uwsgi musi servovat pdf, ne pre-signed urlcko (jehoz platnost muze skoncit, nez se k tomu google dostane)

  • tohle view se podiva na user agenta a na referera. Pokud je user agent google nebo referer je nas repozitar, tak vraci pdf

  • v ostatnich pripadech vraci redirekci na record obsahujici PDF (pripadne s ?highlight_file= ktery v uiku zpusobi scroll na pdf odkaz a jeho zvyrazneni)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants