Friday, December 23, 2011

CodeCanyon – Web Grabber WordPress Plugin



If you want to embed various contents from public web sites into your WordPress blog, then the Web Grabber WordPress Plugin is the perfect tool that will help you do that.
No frames or iframes involved! Real HTML content, grabbed form the web and displayed in whithin your blog just like you wrote it by yourself.

Plugin Description

WiseLoop Web Grabber WordPress Plugin is designed to extract HTML content form the web and then, display them in within your blog.
This WordPress plugin allows complex content extraction and embedding in a very flexible manner, by using WordPress shortcodes or widgets. The extraction can be made from any web URL or local file; the desired content to be grabbed can be a full web page or a tag that can even have incomplete specifications.
Shortcode and widget can setup the grabbing engine to perform some additional after-extraction processing:
  • tags removal from the raw grabbed contents, so you can get rid of any unwanted tags and their contents;
  • tags stripping of the raw grabbed contents, so you can leave only their inner contents;
  • string replacement (just like the str_replace function) in the raw grabbed contents, so you can alter the results in a personalized manner;
These after-extraction capabilities can enhance the results, saves storage space, enhances speed and really can help to fullfill the terms of usage of the web page that is grabbed.
The caching feature improves speed, saves bandwidth, prevents useless parsing and procesing of the grabbed web pages, by storing in the cache the resulting processed contents for a given URL and set of tags and after-extraction settings.
The choosen programming model allows the development of a personalized widget library based on its simple, but yet smart tag HTML DOM parser and processor.

Main Features

  • WordPress shortcode provided to embed extracted web contents in within pages or posts;
  • WordPress Widget provided to configure and embed extracted web contents in within sidebars;
  • grab any resource having HTML content (web or local);
  • smart grabbing engine;
  • tag based search and extraction (incompete tags accepted);
  • tag autocomplete based on the full extracted HTML content from the parsed URL ;
  • tags removal from the raw grabbed content capability;
  • tags striping of the raw grabbed content capability;
  • string replacement on the raw grabbed content capability;
  • smart caching for fast processing;
  • technical documentation for the grabbing engine provided also;
  • easy development and extension of the personalized widget library (sample widgets included: Google and Yahoo Search);
  • lightweight and easy to use;

Short Guide

Using the shortcode feature

Example 1: Very simple grabbing of first paragraph from the WordPress website
[webgrab url='http://wordpress.org/about/' tag='p>']
Example 2: A little more complex grabbing with some tags removal
[webgrab url='http://www.freewebsitetemplates.com' tag='div id="leftside">' rtag1='h1>' rtag2='div' rtag3='div>' rtag4='div>']
You can add unlimited number of tags to be removed from the output: use shortcode attributes that starts with rtag
Example 3: Grabbing with some tags removal and some tags stripping
[webgrab url='http://www.freewebsitetemplates.com' tag='div id="leftside">' rtag1='h1>' rtag2='div' rtag3='div>' rag4='div>' stag1='a' stag2='span>']
You can add unlimited number of tags to be stripped of the output: use shortcode attributes that starts with stag
Example 4: Grabbing with tags removal, tags stripping and string replacements
[webgrab url='http://www.freewebsitetemplates.com' tag='div id="leftside">' rtag1='h1>' rtag2='div' rtag3='div>' rtag4='div>' stag1='a' stag2='span>' srch1='class="ss"' repl1='style="display:block;"' srch2='class="title"' repl2='style="display:block;"']
You can add unlimited number of search/replace pairs to be passed to processor: for needle, use shortcode attributes that starts with srch, and for replace, use shortcode attributes that starts withrepl
Example 5: Grabbing with tags removal, tags stripping and string replacements – advanced custom own design formatting
[webgrab url='http://www.freewebsitetemplates.com' tag='div id="leftside">' rtag1='h1>' rtag2='div' rtag3='div>' rtag4='div style="clear:' rtag5='div>' rtag6='div style="margin-left:31px;display:block;">' rtag7='div>' srch1='class="title"' repl1='style="display:block;font-size:16px;font-weight:bold;margin-bottom:5px;background-color:#dedede;padding:2px;border:1px solid #ababab;"' srch2='class="ss"' repl2='style="display:block;margin-bottom:10px;"' srch3='class="download"' repl3='style="margin-top:17px;padding:5px;font-weight:bold;text-decoration:none;border:1px solid #ababab;background-color:#dedede;color:#000000;"' srch4='class="preview"' repl4='style="margin-top:17px;padding:5px;font-weight:bold;text-decoration:none;border:1px solid #ababab;background-color:#dedede;color:#000000;"' srch5='class="getwix"' repl5='style="margin-top:17px;padding:5px;font-weight:bold;text-decoration:none;border:1px solid #ababab;background-color:#dedede;color:#000000;"' srch6='class="templateleft"' repl6='style="padding:10px 0 10px 0;border-bottom:1px solid #ababab;"' srch7='class="templateright"' repl7='style="padding:10px 0 10px 0;border-bottom:1px solid #ababab;"'/]

Using the widget feature

Basicly, the widget feature offers a simple interface to setup a grabber engine, and then, it diplays the grabbed content into the blog sidebar.
Also, the package contains two sample widgets in order to demonstrate the powerfull extension capabilities of WiseLoop Web Grabber WordPress Plugin.
You can extend this library with more widgets that handles web grabbed content; your imagination is the limit.

Requirements

  • WordPress 3.0 or newer

Instalation

  • Step 1: make a folder named /webgrabber-wordpress-plugin under the /wp-content/plugins directory;
  • Step 2: copy entire archive contens to the new created /wp-content/plugins/webgrabber-wordpress-plugin folder;
  • Step 3: make sure that the /wp-content/plugins/webgrabber-wordpress-plugin/engine/cache directory is writable;
  • Step 4: activate the plugin through the ‘Plugins’ menu in WordPress administration page;
  • Step 5: use [webgrab] short code into posts/pages editor, or drag and configure a widget under the ‘Appearance/Widgets’ section
Demo:
http://codecanyon.net/item/web-grabber-wordpress-plugin/full_screen_preview/239696
Downloads:
http://www.filesonic.com/file/1240052884/webgrabber-wordpress-plugin.zip

0 komentar:

Post a Comment