官术网_书友最值得收藏!

  • WordPress Top Plugins
  • Brandon Corbin
  • 350字
  • 2021-04-13 17:05:56

WP Web Scrapper

By Akshay Raje (http://webdlabs.com/)

WP Web Scrapper
  • Manual Install URL:
  • Automatic Install search term: WP Web Scrapper
  • Geek level: WordPress Ninja
  • Configuration location: Settings | WP Web Scrapper
  • Used in: Pages, posts

WP Web Scrapper is definitely not for the weak of heart, but it is for those of you who know what a "JQuery Selector" is. If you know what a "JQuery Selector" is, then you are in for one awesome coding treat. WP WebScrapper makes grabbing parts of ANY website and including it in a post or page on your blog, a snap!

WP Web Scrapper uses CURL and phpQuery to grab and manipulate data from any public website. Because WP Web Scrapper uses phpQuery, you have the luxury to select which elements you want from the external website using jQuery Selectors. Plus you do not need to be afraid if the external website changes, as WP Web Scrapper degrades gracefully if any changes occur.

Copyright warning

It's important to note that while WP Web Scrapper makes ripping content from a website super simple, it doesn't mean that it's legal. There are many big websites out there that will not take kindly to someone stealing their content. Make sure that you have permission before you take another website's content, or you might find a nice letter from some law firm in your mailbox.

Adding a scrapping

To create a new Web Scrapping, you edit a post or a page. Once installed, WP Web Scrapper will include a new button in your Toolbar that looks like a Gear.

Adding a scrapping

All that is needed for WP Web Scrapper to work is a valid website URL (Source URL) and a valid CSS Selector. Once you have added the external website's URL (don't forget the http://) and added your selector, click Insert. This plugin will create a short code that is inserted into the body of your post. Once you get familiar with the WP WebScrapper syntax, you will be able to add them without ever clicking the "Gear". For example:

[wpws url="" selector=".product" ]

Learn more about CSS Selectors by visiting http://code.google.com/p/phpquery/wiki/Selectors

主站蜘蛛池模板: 青河县| 临漳县| 广饶县| 塔城市| 饶阳县| 湖州市| 大洼县| 于都县| 大英县| 齐齐哈尔市| 武宁县| 揭东县| 平潭县| 江永县| 汝州市| 阆中市| 余姚市| 辰溪县| 宁乡县| 宜州市| 沾化县| 文化| 望谟县| 滕州市| 虞城县| 长武县| 玛沁县| 界首市| 资溪县| 油尖旺区| 和顺县| 韩城市| 青冈县| 平南县| 日照市| 乐东| 东安县| 永福县| 东城区| 泌阳县| 巴中市|