Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsed sources need metadata #3

Open
nullisnil opened this issue Mar 18, 2011 · 0 comments
Open

Parsed sources need metadata #3

nullisnil opened this issue Mar 18, 2011 · 0 comments
Labels

Comments

@nullisnil
Copy link
Contributor

Meta data for remote sources is required

#   * URL
#   * Data Column amount
#   * Mapping Hash
#   * Static data Hash (Use an Array with a hash inside if there are multiple tables on this page)
#   * REgexp to match date/time
# 
# First row needs to be table header with descriptions
#
# Name all mapping fields even if they are not used
# E.g.:
# Scraper::TableParser.new("http://www.bousai.ne.jp/eng/speedi/pref.php?id=01", 6, {:id => "No",
#                                                                                   :value => "Rate of space dose", 
#                                                                                   :wind_direction => "Wind Direction",
#                                                                                   :location_name => "Observation office", 
#                                                                                   :wind_velocity => "Wind Velocity",
#                                                                                   :precipitation => "Precipitation"},
#                                                                                   "[0-9]{4}/[0-9]{2}/[0-9]{2} [0-9]{2}:[0-9]{2}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant