-
Notifications
You must be signed in to change notification settings - Fork 0
Html parser pull request #2
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
base: master
Are you sure you want to change the base?
Conversation
…h schema's dates. Only Microdata is available.
app/models/nokogiri_parser.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File name should be based on the class name.
e.g: HtmlParser => html_parser.rb
app/models/html_parser.rb
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HtmlParser is not really a model but a library.
The lib directory is probably better.
A suitable model would be something like SchemaExtraction that would be used to store in the database the information extracted from a website.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another think, HtmlParser doesn't seem like the right name. This is a schema.org parser.
…idator into html-parser
…idator into html-parser
Problem: SchemaObject problem duplicates validates_type_of errors
…idator into html-parser
…idator into html-parser
…idator into html-parser
No description provided.