如何创建仅供人们阅读的网页?
我有一个网站 http://www.bccfalna.com/,该网站上的内容为印地语语言。我想让所有这些页面仅供人们阅读,以便他们无法复制内容。
由于我用印地语写了一些关于计算机技术的书籍,并且我知道互联网上关于计算机和 IT 技术的印地语信息很少,所以我想以 PDF 格式出售我的电子书。
为了展示我的书籍内容的有用性,我将所有内容以文本格式放置在我的网站上,以便人们可以看到、阅读并在这本书对他们有用时做出购买的决定。
由于我已将我的整本书以内容形式放置在我的网站上,以便各种搜索引擎也可以为我的网站提供越来越多的流量,但我担心,由于我已将我的所有内容以文本形式放置在我的网站上,任何人都可以复制并且不会有兴趣购买 PDF 格式的电子书。
我希望人们可以阅读我网站的内容,但无法在任何文字处理程序中复制内容。
是否可以?
我不想制作类似图像的内容,因为谷歌、雅虎等现代搜索引擎并不太重视图像网站。
我也不想使用类似 Flash 的网站。原因是一样的。现代搜索引擎不会过多关注此类网站。
我想要文本格式的内容,但我想让它们只读。是否可以?如果是:我想知道如何?如果否,我想获得替代类型的解决方案。
有高手能解决这个问题吗?谢谢。
I have a website http://www.bccfalna.com/ and the contents on this site are in HINDI Language. I want to make all these pages read only for peoples so that they can not copy the content.
Since I have written some books in HINDI Language on Computer Technology and I know that there are very few Information in HINDI language on the Internet about the Computer and I.T. Technology so I want to sell my EBooks in PDF format.
To show the usefulness of the contents of my books, I have placed all the contents in TEXT format in my website, so that people can see, read and can make decision to buy the book if the book is useful for them.
Since I have placed my whole books in Content form on my site so that various search engines also can give more and more traffic to my site but I am afraid that since I have placed all my content on my site in text form, any one can copy and will not be interested to buy them as PDF Format EBOOK.
I want that people can Read the content of my site but can not be able to copy the contents in any word processor.
Is it possible?
I don't want to make image like content, because Google, Yahoo like modern search engines don't gives too much importance to image sites.
I don't want to use Flash like sites too. The reason is same. Modern Search Engines don't gives too much attention to these kinds of sites.
I want my contents in TEXT format but I want to make them READ ONLY. Is it possible? If Yes: I would like to know HOW? and if No, I would like to get the alternative type solution.
Is there someone Genius to solve this problem? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
一般来说,搜索引擎可以读取的任何网页内容也可以被访问您页面的人读取和复制。
我想您可以检查 HTTP 请求中的 user_agent 来确定它是否源自流行的搜索引擎;如果是,则返回内容的纯文本;如果没有,则返回内容的光栅图像(无法选择图像中的文本进行复制和粘贴,但可以由用户进行 OCR 或以其他方式打印)。有些网站会使用脚本来禁用右键单击保存图像(但此类脚本很容易被绕过)。有些网站会在包含内容的图像上放置透明图像(但这也可以被规避)。请注意,如果网络冲浪者知道您正在特殊对待搜索引擎,则 user_agent 可能会被伪造。
不过,我建议最好的方法是让事情变得简单。仅在线发布图书的第一章和目录,或者仅发布每章的第一页或类似内容。搜索引擎不需要您书籍的完整文本,只需要有代表性的示例。如果他们只能访问整本书的一部分,那么没有人会费心复制/粘贴您的文本。
Generally speaking, any web content that is readable by a search engine will also be readable and copyable by people visiting your page.
I suppose you could examine the user_agent in the HTTP request to determine whether it originated from a popular search engine or not; if it did, return the plain-text of your content; if it did not, return a raster image of your content (text in an image can't be selected for copying and pasting, but it could be OCR'd or otherwise printed by the user). Some websites will use a script to disable right-clicking to save an image (but such scripts can easily be circumvented). Some sites will place a transparent image over the image containing the content (but this, too, can be circumvented). Note that the user_agent can be falsified if the web surfer knows you're treating search engines specially.
I suggest the best approach, though, is to keep things simple. Only publish the first chapter of your book and a table of contents online, or else only publish the first page of each chapter, or something similar. Search engines do not need the complete text of your book, only representative samples. Nobody will go to the trouble of copy/pasting your text if they can only get to a portion of the complete book.
您无法使其可被搜索引擎索引并且无法被复制和复制。粘贴... Google 必须能够从您的文本中复制单词以在其索引中使用。也许您可以将想要索引的部分片段以文本格式放入,并将大部分放入图像/Flash 中。在销售书籍的网站上看到章节预览并不罕见。
You can't make it indexable to search engines and incapable of being copy & pasted... Google has to be able to copy words from your text to use in it's index. Maybe you could put snippets of the parts you want indexed in text format and put the majority in image/flash. It's not uncommon to see chapter previews on websites selling books.
尝试 Google 图书:
我不知道它是否适用于印地语(可以。一些示例:http://www.scribd.com/doc/15257971/Google-Hindi-Books)此解决方案允许 Google 建立索引,并且每个人都可以阅读整个内容。无论如何,复制仍然很尴尬。
http://books.google.com/googlebooks/tour/
Try Google Books:
I don't know if it works with the HINDI Language(It works. Some examples: http://www.scribd.com/doc/15257971/Google-Hindi-Books)This solution allows Google to index and everyone to read the whole content. Anyhow copying remains awkward.
http://books.google.com/googlebooks/tour/
“只读”意味着他们无法修改您的网页,“可读但不可复制”根据定义是不可能的,其意义就像“我想给某人一些水,但我不想要”它是湿的”。所以,回答你的问题,不,这根本不可能。 (我经常不得不与那些认为这个(和其他)物理/数学定律不适用于他们的人打交道,如果我听起来有点粗鲁,很抱歉。)
在实践层面上,如果你只给他们一些信息,那么他们就只能复制这部分信息。 (如果他们购买了这本书,他们将能够从那里复制其余的内容。)
"Read-only" means they cant modify your webpages, "readable but not copyable" is impossible by definition, and makes about as much sense as "I want to give someone some water, but I dont want it to be wet". So, to answer your question, no this is not possible at all. (I regularly have to deal with people who think that this (and others) law of physics/mathematics doesn't apply to them, so sorry if I sound a bit rude.)
On a practical level, if you only give them some of the information, then they will only be able to copy that part of the information. (If they buy the book, they will be able to copy the rest from there.)
正如这里其他人所说,您所要求的是不可能的。
如果您托管内容供人们在浏览器中查看,并供 Google 编制索引,那么绝对没有办法阻止任何人复制它。复制内容可能会变得困难(或至少不方便),但如果有人真正想做的话,就没有办法阻止他们复制内容。
正如其他人已经说过的,唯一的选择是只发布本书的第一章,让读者根据该章做出判断。如果他们喜欢这一章,他们就会购买整本书。这是一种很常见的做法。
我知道仅发布部分内容不是您想要的,但如果您想让复制整本书变得不可能,那么这是您唯一真正的选择。
另一种选择是不担心它。科里·多克托罗(Cory Doctorow)(我确信还有其他人)在知识共享许可下出版了他的所有书籍。这些书籍可以从他的网站免费下载,但他仍然设法通过销售实际书籍来赚钱。如果人们足够喜欢你的作品,他们就会花钱购买好的格式。
As others here have said, what you are asking is not possible.
If you host content for people to view in a browser, and for Google to index, there is absolutely no way to stop anyone from copying it. It is possible to make copying the content difficult (or at least inconvenient), but there's no way to stop someone from copying it if that's what they really want to do.
The only alternative, as others have already said, is to only post the first chapter of the book, and allow your readers to make a judgement based on that chapter. If they like the chapter they'll buy the whole book. This is a pretty common practice.
I understand that posting only part of the content is not what you want, but if you want to make it impossible to copy the whole book then this is your only real option.
The other alternative is to not worry about it. Cory Doctorow (and others I'm sure) publishes all his books under a Creative Commons license. They are free to download from his website but he still manages to make money from selling actual books. If people like your work enough, they'll pay to have it in a nice format.
有一种方法可以指示浏览器禁用复制文本。然而,这并不能阻止复制,只是使复制变得困难。并非所有浏览器都能识别这一点,尤其是较旧的浏览器。然而,有一些方法可以解决这个问题,用户可以下载整个页面并搜索嵌入在 HTML 中的文本。
另一种方法是使其成为图形,而不是 ASCII 文本。这样就意味着,如果有人真的想复制您的内容,他们必须经历使用 OCR(光学字符识别)的过程,然后校对并纠正结果。
另一种方法是将其制作成 Flash 动画,也可以通过进行屏幕捕获,然后进行 OCR 来绕过。简而言之,没有办法阻止复制浏览器中显示的材料……但你可以让它变得困难,希望人们不会打扰。
仅供参考,通常人们希望他们的网站是只读的,以使黑客很难或不可能更改他们的网站内容(即用破坏的内容替换内容)......而不是阻止人们访问合法上传到网站的内容。
希望这有帮助。
There is, a way to instruct the browser to disable copying text. This does not, however, prevent copying, just makes is difficult. Not all browsers recognize this, especially older browsers. However, there are ways around this, the user can download the entire page and search for the text embedded in the HTML.
Another way, is to make it a graphic, rather than ASCII text. That way would mean that if anyone really wanted to copy your content, they would have to go through the process of using OCR (optical character recognition), then proof read plus correct the result.
Another way is to make it into a Flash animation, that can also be bypassed by doing a screen capture, then doing an OCR. In short, there is no way to prevent copying of material displayed in a browser ... but you can make it difficult and, hopefully, people won't bother.
FYI, typically people want their website to be read-only, to make it difficult or impossible for hackers to change their website content (i.e. replace content with vandalized content) ... not to prevent people from accessing the content legitiamately uploaded to the website.
Hope this helps.
扫描文本并以图像形式发布,人们仍然可以阅读但不能直接复制文本。他们可以复制图像,但这并不重要,因为这与仅从屏幕上阅读相同,如果他们想窃取作品,则必须重新输入所有内容。
Scan the text and post as an image, people can still read but not copy the text directly. They can copy the image but that will not matter as it would be the same as just reading from the screen they would have to retype it all if they wanted to steal the work.