Git Product home page Git Product logo

Comments (10)

pbuttigieg avatar pbuttigieg commented on July 27, 2024

Hi @arnounesco - wasn't there an OE calendar of trainings mentioned in our thematic meeting on this? That would be the most natural link.

Aside from that, OE Organization IDs (or Individual IDs) could be used as a valid input to identify providers of trainings

from odis-arch.

arnounesco avatar arnounesco commented on July 27, 2024

we have the trainings info, but within that training info there is no notion of the concept 'provider', the best I can find is an organizer, which is a person or a list of persons.
I did understand that 'provider' is rather an institute/organization.
I created the sitemap for training https://www.oceanexpert.org/assets/sitemaps/sitemapTraining.xml and there is JSON-LD in the training pages.

from odis-arch.

wardappeltans avatar wardappeltans commented on July 27, 2024

Jumping in if useful. The participants list in OE has categories for instructors and learners. E.g https://www.ioc-cd.org/index.php?option=com_oe&task=viewEventParticipants&eventID=2118

from odis-arch.

fils avatar fils commented on July 27, 2024

@arnounesco

I was able to harvest the sitemap once I addresses the hard returns. However, now this is raising on issue in the JSON-LD.

Take the resource https://www.oceanexpert.org/event/10

Do a view source and copy the JSON-LD in the page into the playground at https://json-ld.org/playground/#startTab=tab-expanded

You should see the errors in the JSON-LD coming from the hard returns. You can remove them there and test there too.
Can these be easily removed in your publishing process?

Google seems to do fine with it. https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fwww.oceanexpert.org%2Fevent%2F10 (where they get their recommended and required from I'd love to know).

from odis-arch.

arnounesco avatar arnounesco commented on July 27, 2024

solved and tested
removed all the newlines in all txt fields

from odis-arch.

fils avatar fils commented on July 27, 2024

@arnounesco
Progress. I can now get about 400 indexed.

The next issue I am hitting is that you have quotations in some of the strings. So look at the JSON-LD in https://www.oceanexpert.org/event/236. The descriptions has quotes in it. These need to be removed or escaped out with a back slash.

We need to arrive at a best way to deal with quotations in JSON strings. It might be the backslash escape, but we should verify that is the best way in JSON-LD.

from odis-arch.

arnounesco avatar arnounesco commented on July 27, 2024

Just hit the same problem while making the JSON for the documents.
Will fix this tomorrow if that is ok for you?

from odis-arch.

pieterprovoost avatar pieterprovoost commented on July 27, 2024

@arnounesco Shouldn't your serializer take care of all these quirks like linebreaks and quotes automatically?

from odis-arch.

arnounesco avatar arnounesco commented on July 27, 2024

no serializer here, twig template, maybe have to change that

from odis-arch.

arnounesco avatar arnounesco commented on July 27, 2024

double quotes are escaped, https://www.oceanexpert.org/event/236 passed the JSON playground

from odis-arch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.