国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] Drupal 7.X模块介绍:PDF

[复制链接]
发表于 4-20-2012 18:16 | 显示全部楼层 |阅读模式

PDF


pdf.js-0.2-demo.png

Use HTML5 to display PDF files instead of ask for installing plugins to your browser.

使用HTML 5显示文件而不要求安装插件到你的浏览器。
Demo: 
演 示:

Getting started

入 门
1.Use git (recommended because pdf.js is under active development) to check out pdf.js from
使用Git (因为pdf.js正在积极发展建议)检查出pdf.js
https://github.com/mozilla/pdf.js to DRUPAL_HOME/sites/all/libraries/.

2.OR download v0.1.0.zip from
或者从以下链接下载v0.1.0.zip
and extract pdf.js directory to 
然后提取pdf.js目录到
DRUPAL_HOME/sites/all/libraries/.

3.Make pdf.js file in the pdf.js/build directory by following the README. ((WARNING: pdf.js is a large file! Consider minifying it.
在pdf.js pdf.js文件/目录建立后的README自述???/根据README文件将  pdf.js/里的pdf.js的pdf.js建立目录???【这句Howfar翻译的挺垃圾,发挥你的聪明才智自己理解】。 ((警告: pdf.js是一个大的文件!考虑消减它  !

4.enable pdf module and create a file field and there are two option to display PDF file in the field display setting.
启用PDF模块,然后创建一个file field,有两个字段(field)显示设置选项,以显示PDF文件。

Road map

线路图

  • Should this module provide PDF field or just provide display options for file field?
  • 这个模块提供PDF格式的字段,或者只是提供文件字段的显示选项?

  • Detect pdf reader and just use pdf.js to display when nothing is detected. (Maybe use
  • 检测PDF阅读器,只使用pdf.js时显示没有检测。 (也许使用
  • http://www.pinlady.net/PluginDetect/PDFReader/)
  • Make pdf viewer works inside the Drupal page instead of using iframe (Need JS/CSS masters' help).
  • 使Drupal页面的PDF viewer替代iframe工作(需要的JS / CSS的masters的帮助)。
  • Should Internet Archive BookReader be an option like fileviewer module?
  • Internet Archive BookReader应该是像fileviewer模块这样的选项吗?

Seeking co-maintainer

Because I'm not a master about HTML5, JS and CSS and this module needs many front end works, if you want more advance features, please consider to be the co-maintainer.

Project Information

Downloads


-------------------------------------------------------------------------
抱歉,翻译的太汗颜了

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 4-16-2025 16:13 , Processed in 0.490431 second(s), 231 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表