-
Notifications
You must be signed in to change notification settings - Fork 6
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
Google dataset search support #63
Comments
I can start to look at taking the mappings from v1 that would apply here, but |
Have branch: First attributes don't even need mapping after a json dump (from: get_dataset_metadata), just the addition of a 1st: "@context" : { "@vocab" : "https://schema.org/" }, element; then will have to coordinate to figure out how to get this within a <script type="application/ld+json"> w/in the dataset html; that is usr-metdata, not the internal class metadata, that we see in routers/datasets, so writing a form of to_jsonld for this w/new mapping |
Have a datasetout2jsonld and wanted to know if I should put it as a route, before coordinating w/the front end? |
cool, I'll continue were I left a stub for it, and update here/tnx! |
get_dataset_jsonld route, off of get_dataset now, so can get just one for the frontend rendering of that one dataset page, but the problem is this method gets a dict from mongo that has objids & datatimes which are not serializable, as originally needed |
Have jsonld script route will look/ask about getting into the dataset page; |
I have the working start of the sitemap which I could get it with the making the ld+json script; but think it best to take advice of having someone who knows typscript have it inserted. So this could be 2 or 3 PRs, depending on if I should include the sitemap generation now too, lmk |
Can you add it to the backend as an endpoint? The frontend will have to retrieve it from there anyways. |
I have the /jsonld route in, and will add the sitemap, but need a public setting to be able to crawl it |
will take out of draft PR once I can open these routes, but still getting: ‘Cannot GET /sitemap.xml’ &similar for summary.jsonld route, even w/o the dependencies= line in main.py |
Add required jsonld schema.org fields to pages for indexing with google data search.
The text was updated successfully, but these errors were encountered: