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

pdf #1

Open
xuze1993 opened this issue Jul 2, 2019 · 3 comments
Open

pdf #1

xuze1993 opened this issue Jul 2, 2019 · 3 comments

Comments

@xuze1993
Copy link

xuze1993 commented Jul 2, 2019

I've pulled a website from webhttrack which is mixed of pdf and html,it seems that localgoogle can only index html files,is there anyway to solve the problem?

@kodejuice
Copy link
Owner

The code can be modified to read pdf documents (with a pdf library) while crawling and index it, but a copy of the file would need to be kept so the user can open it in the search result page. thats not good i think.

@kodejuice
Copy link
Owner

The code can be modified to read pdf documents (with a pdf library) while crawling and index it, but a copy of the file would need to be kept so the user can open it in the search result page. thats not good i think.

or we could just use the original pdf link in the search results, but if the original file is longer available, you wont be able to open it

@xuze1993
Copy link
Author

xuze1993 commented Jul 3, 2019

gocha,nice work anyway.
Sadly that fewer static sites are left on the web.

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

No branches or pull requests

2 participants