`

利用Website Thumbnail Generator做快照

阅读更多
利用Website Thumbnail Generator做快照
由海特精品论坛网络开发斑竹CUTE翻译国外技术文章,转载请保留完整信息.
现在许多站长正在寻找为网站创建快照(缩微图)的工具,以便显示网站更多的数据,从而吸引更多的访问者。在搜索结果网页使用缩略图,对产品细节页手工制作网页缩略图等,是常用的程序,需要大量时间,而对于大站则需要专门的来处理.下面我们将通过这一过程自动化,提供一些建议.
1:从其他网站抓取缩微图
一些搜索引擎,象http://www.alexa.com , http://www.exalead.com等网站,提供了快照. 可写脚本语言(如PHP的,Perl的,等等)从他们攫取搜索网站形象的效果.
好处:
廉价
小型服务器负载既然你不需要你创造缩微图服务器。
弊端:
依赖第三方服务器。
结果有限。
速度慢,受第三方服务器速度影响。
不稳定,他们随时有可能禁止这一服务。虽然你可以用匿名投票工具,但它会减慢负荷页。
你将无法获得网站缩略图,如果缩略图未产生但提供商的网站.这意味着你会经常收到"没有缩略图"形象.
通常预先大小不一定是你需要的
2:使用现有的网站缩微图服务或工具。
有些网站缩略图/快照可供自由创作工具.你希望把你的HTML提供的一砖一页它将显示缩略图,PHP的一个例子可以从artviper工具(http://www.artviper.com/tools.php).据说,它是利用PHP的脚本的C++DLL的编码生成网站缩略图.
另一个例子是免费服务网站缩略图服务http://www.websitethumbnails.net
使用教程:http://www.web-development-blog. ... ails-from-websites/
好处:
廉价
小型服务器负载既然你不需要你创造缩微图服务器。
弊端:
你依赖第三方服务器(有时甚至可以向下)
你最可能只能得到的最高缩略图只有一页.这些都不是主要的。要获取全部缩微图,需要付出额外的费用
如果第三方速度慢,你的网页速度也会随之变慢.
你将无法获得网站缩略图,如果缩略图未产生但提供商的网站.这意味着你会经常收到"没有缩略图"形象.
通常预先大小不一定是你需要的。
需要支付额外费用才能获取自定义功能。
3:拥有自己的缩微图制作工具
实现通常是利用/写入一个自定义程序放在WEB服务器上,利用一些浏览器来获取网站缩微图。具体过程如下:
设置一个写入工具接受请求为目标网址创建网页缩微图。
在你的WEB服务器上打开浏览器(隐藏进程)。
从浏览器获取网站缩微图并保存。
好处:
你不需要依赖任何人,安全自己控制。
速度快,因为你不需要去获得另一个服务器缩略图。
相对廉价的解决。
缩略图可以创造你想要的任何一页,上层、子页等.
能否收费服务
弊端
可能造成服务器高负荷。
可能有些不适应的HOSTINGS。
举办这类活动,费用较昂贵。

Website Image Creator 就是这类工具之一。

Website Thumb Generator can be used to create website thumbnails for your needs, or start your own website thumbnail generation service.



Requirements:

Windows hosting
PHP GD library (installed on most hostings)
Permissions to execute third-party applications (i.e. exe files)
Permissions to execute Internet Explorer

How it works:

Website Thumbnail Generator checks if it already has website image in the cache, and shows it in the browser.
If no cached image then IECapt would be run from the script.
IECapt would run Internet Explorer, grab full sized website screenshot from it, and save image into the folder you specified in script settings.
Then Website Thumbnail Generator would resize image, and show it in the browser.

Installation:

Download IECapt from http://iecapt.sourceforge.net or from our site: IECapt. Place it in some folder on your server.
Download Website Thumbnail Generator using link below, and unzip it to the same folder.
Update webthumb.php with your settings for thumbnails folder, cache time, default thumbnail size, etc.

Sample usage:

webthumb.php?url=http://www.microsoft.com
webthumb.php?url=http://www.thumbnails.com&x=150&y=150
Download Website Thumbnail Generator 下载软件,DIY你自己的网站快照
http://www.zubrag.com/downloads/webthumb.zip
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics