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

JSON: comments for types, and property URLs #48

Merged
merged 2 commits into from
Dec 11, 2013

Commits on Aug 2, 2013

  1. Use the rdfs:comment property to fetch type comments

    It seems likely that, at some point over the past year, the HTML
    structure of the type pages changed to use a <div
    property="rdfs:comment"> element to embed the comment, which broke the
    scraper.
    
    This enables us to greatly simplify the scraping process, and to make it
    more consistent with properties via the use of get_inner_html().
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Aug 2, 2013
    Configuration menu
    Copy the full SHA
    f0ca526 View commit details
    Browse the repository at this point in the history
  2. Properties have URLs too

    schema.org recently added URLs that resolve for properties, so let's
    track those as well.
    
    Signed-off-by: Dan Scott <dan@coffeecode.net>
    dbs committed Aug 2, 2013
    Configuration menu
    Copy the full SHA
    7a636fb View commit details
    Browse the repository at this point in the history