Comments (4)
I need more information in order to help you.
What is dashing?
Can you post the ruby code for the wombat scraper you wrote?
from wombat.
Hi,
Dashing is a sinatra based framework in which you create a dashboard for
display on monitors. :
http://shopify.github.io/dashing/
I wanted to use the wombat gem in order to gather information from a
website and display it on a dashboard.
require 'wombat'
Wombat.crawl do
base_url "http://www.github.com"
path "/"
headline xpath: "//h1"
subheading css: "p.subheading"
what_is({ css: ".teaser h3" }, :list)
search css: '.search'
features css: '.features'
blog css: '.blog'
SCHEDULER.every '10s' do
send_event('wombat_test', text: search)
end
end
I just used what you provided me in the example page just to try and test
it out.
SCHEDULER.every '10s' do
send_event('wombat_test', text: search)
end
This bit of code is responsible for sending the information to the actual
widget, but other than that the code is similar. I understand it will be
difficult without knowing that the code does, sorry about that.
On Mon, Nov 25, 2013 at 7:33 PM, Felipe Lima [email protected]:
I need more information in order to help you.
What is dashing?
Can you post the ruby code for the wombat scraper you wrote?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-29180446
.
from wombat.
You cannot use that block inside the crawler DSL:
SCHEDULER.every '10s' do
send_event('wombat_test', text: search)
end
Wombat will try to parse that and it won't understand, so it will break your crawler.
Just remove that or do it ouside the crawl
block
from wombat.
Awesome,
Thanks a lot,
Cheers
Joshi
On Tue, Nov 26, 2013 at 6:48 PM, Felipe Lima [email protected]:
You cannot use that block inside the crawler DSL:
SCHEDULER.every '10s' do
send_event('wombat_test', text: search)
endWombat will try to parse that and it won't understand, so it will break
your crawler.
Just remove that or do it ouside the crawl block—
Reply to this email directly or view it on GitHubhttps://github.com//issues/25#issuecomment-29269035
.
from wombat.
Related Issues (20)
- Is it possible to programmatically create the properties to search for? HOT 2
- Cannot run the example code. HOT 4
- How to get image src link HOT 2
- Support many proxy server
- How to go over multiple subpaths
- local file support HOT 3
- Get url of followed link HOT 3
- Clearing cookies HOT 1
- `set_proxy` not working HOT 1
- Use more strict dependencies
- Dynamically set base_url and path. HOT 2
- How do i access the siblings using css selector in wombat
- customize http header
- page function is not work
- Allow hash selector as last argument to property
- Image provision
- How do I remove a node?
- Documentation links are incorrect
- LoadError in sample code → mechanize.rb: cannot load net/http/digest_auth
- pagination infinite scroll HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wombat.