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

Support for client-generated markup #15

Open
aurel-l opened this issue Oct 2, 2017 · 3 comments
Open

Support for client-generated markup #15

aurel-l opened this issue Oct 2, 2017 · 3 comments

Comments

@aurel-l
Copy link

aurel-l commented Oct 2, 2017

The tool might want to be able to support schema injected asynchronously/dynamically on the client (typically as a result of API calls).

Things to look into might be Chrome headless, or PhantomJS. These tools would load the page and execute the JavaScript, and then, when the page is idle for x amount of time, dump the HTML to do the parsing that is already implemented by this tool.

Server-side rendering might be a way to avoid this problem, but I'm not sure we should assume every page implementing schemas.org markup would be willing to do so.

@terazus
Copy link
Owner

terazus commented Oct 3, 2017

Going to correct #14 and then tackle this issue.
Bioschemas people suggested having a look @ PhantomJS

@aurel-l
Copy link
Author

aurel-l commented Oct 3, 2017

I'd say have a look at Chrome headless instead, see ariya/phantomjs#15105 which indicates that PhantomJS might eventually disappear.

@terazus
Copy link
Owner

terazus commented Oct 4, 2017

Thanks for that, I'll investigate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants