![]() |
|
|
|
Link Scraper CFC
Project Home • External Project Link • Contact Project
Author: Joshua F. Rountree (All RIAForge projects by this author) Description:
Link Scraper / Open Graph Parser CFC
============= This CFC uses the "jsoup" java component to parse Open Graph (OG / OpenGraph) meta tags, as well as general meta data such as images on page, title, description, keywords, etc. Returns back a clean struct containing all of the parsed information. USAGE / EXAMPLE ------- The CFC assumes it's placed in the /lib/linkscraper in your webroot. <cfscript> IMPORT lib.linkscraper.LinkScraper; scraper = new lib.linkscraper.LinkScraper("http://www.youtube.com/watch?v=1D6V2VZhCSA"); parsed = scraper.fetch(); writeDump(var='#parsed#',abort=true); </cfscript>
Requirements:
Requires:
* Railo 3.2+ or ColdFusion 9 Depends on: * JavaLoader CFC (included) * Jsoup Library (it's included CFC download) (http://jsoup.org) |
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.