https://github.com/gggordon/crabber
Grabing content from external links
https://github.com/gggordon/crabber
Last synced: 3 months ago
JSON representation
Grabing content from external links
- Host: GitHub
- URL: https://github.com/gggordon/crabber
- Owner: gggordon
- License: mit
- Created: 2015-10-18T18:33:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-15T23:04:42.000Z (about 9 years ago)
- Last Synced: 2025-02-22T23:47:24.204Z (3 months ago)
- Language: JavaScript
- Homepage: http://gggordon.github.io/Crabber/
- Size: 1.26 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crabber
Content Grabbing Made Easy!
Crabber allows you to quickly grab content from external websites into a container specified by you.
## Demo
[http://gggordon.github.io/Crabber/](http://gggordon.github.io/Crabber/)## Dependencies
| jQuery > 1.11## Getting Started
Use npm
npm install --save crabber
Use bower
bower install --save crabber
or Download minified script and stylesheet from GitHub
https://raw.githubusercontent.com/gggordon/Crabber/master/crabber.js
https://raw.githubusercontent.com/gggordon/Crabber/master/crabber.cssThen Include in html file
You may then include the default stylesheet, feel free to add your own styles
## Usage
```
var options = {
appendContent:true, //append new content to end of html element. Optional. Defaults to true
descWordCount:25, //Max word count in description. Optional. Defaults to 20
viewNode:'.selector' //jquery selector/html node to display grabbed content in. Optional. Defaults to creating new node
};
$('#myTextNode').crabber(options);
```## Enjoy
Enjoy this project and if you have any issues feel free to state them here on github or contribute.
## MIT License