,
Skip to content

WordPress WebSnapr plugin

WebSnapr1 是一個網頁快照(snapshot)、縮圖(thumbnails)的免費服務,指定網址之後,它可以幫忙擷取網頁並產生縮圖。例如:

http://images.websnapr.com/?url=www.microsoft.com&size=s

可以產生如下的圖像:


目前的版本中,圖像的大小可以指定:

  • T = 92×70
  • S = 202×152
  • M = 400×300
  • L = 640×480

WebSnapr Preview Bubble2是這樣服務的一個應用,當游標移到連結上的時候,在游標附近顯示連結目標的縮圖。Link Preview3也是相同的應用。

我依照我的需求修改了Link Preview的程式碼,並且包裝成WordPress的plugin,範例兼測試:喵爸爸的窩

<a href="filitov.twcat.org" class="preview">喵爸爸的窩</a>

目前的打算是繼續維持class="preview"這樣的寫法,Andres Santos的WP-Websnapr WordPress plugin4則是將指定型態的連結都轉成預覽縮圖,那樣也很方便。不過我懶得去考慮,哪些要轉哪些不要轉的問題了。

我包裝的檔案可以在下面連結下載。某喵不負責提供任何維護。若是需要穩定或相容性高的版本的話,強烈建議使用Link PreviewWebSnapr Preview Bubble的版本。

  1. fili-websnapr-0.1.tgz

有空的話,再來亂改。

2006/12/23補充:otagSnapr也是類似的服務呵。

  1. WebSnapr lets you capture screenshots of (almost) any web page. Let your visitors to instantly visualize any web page before clicking. Increase site traffic, click-through rate and site stickiness. []
  2. WebSnapr Preview Bubble: A simple, unobtrusive script used to display an overlay bubble showing a hyperlink target thumbnail. Now with Safari support. Author: Xavier Larrea. []
  3. Link Preview: Based on the original Preview Bubble functionality, on steroids. Very well elaborated and fully functional.Author: Brian McAllister. []
  4. WP-Websnapr WordPress plugin: Automatically allows visitors to preview your post’s linked websites by using Websnapr’s service. Author: Andres Santos. []
Creative Commons License
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Taiwan License.

{ 1 } Trackback

  1. [...] Founds at http://filitov.twcat.org/blog/?p=293 [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *