Git Product home page Git Product logo

Comments (5)

robbenmu avatar robbenmu commented on July 24, 2024 13

百度文库是我做的,我来回答下为什么没用pdf.js,因为在我开发的时候还没有pdf.js。。。 我离职了,那边只是维护状态

from dochub.

TruthHun avatar TruthHun commented on July 24, 2024

最初的方案是使用pdf.js提供阅读的,pdf.js需要把整个PDF文档下载下来才能展示内容,而且,如果你的PDF文档是要收费才能提供下载的话,pdf.js会暴露文件直链,积分下载根本就没有意义了。而且,目前成熟的文库站点,都没有使用pdf.js作为阅读展现,肯定也有出于这方面的考虑。
https://github.com/TruthHun/DocHub#read-pdf

from dochub.

ydfzgyj avatar ydfzgyj commented on July 24, 2024

感觉英文的显示效果有些令人惆怅啊,最好还是能用 pdf.js……

from dochub.

TruthHun avatar TruthHun commented on July 24, 2024

@ydfzgyj 上面已经说明不用pdf.js的原因了

from dochub.

shuyabin avatar shuyabin commented on July 24, 2024

这个如果设置成收费的话.咱们可以观看的是免费的前10页生成一个pdf 付费后链接改变成完整的链接。

from dochub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.