question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can codemeta increase discoverability by Google?

See original GitHub issue

(copying this question over from another issue thread by @maelle. We ought to get this hashed out a bit better and then could maybe address this directly on https://codemeta.github.io)

Google uses and encourages the use of JSON-LD markup using the schema.org terms: https://developers.google.com/search/docs/guides/intro-structured-data . This focuses on ‘rich card’ results shown on primarily on mobile devices, but applies to search generally.

At the moment, just adding a codemeta.json file to a github repo probably won’t do anything to Google search since it’s not embedded into an html file. If we embedded into, say, html version of the README page CRAN generates, or into a pkgdown-generated site for a package, since then it would be crawled by Google. There’s currently no rich card format for software, but the use of rich markup may still increase search rank.

(Google aside, the hope is also that this improves search in specific repositories that adopt or learn to read codemeta, such as Datacite: https://search.datacite.org/works?query=Software or http://citeas.org/ , Software Heritage, Zenodo, DataONE).

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
danbricommented, Nov 22, 2019

Yes, what Carl says: it checks that Google can understand the dialects of json-ld understood by 25-30 or so Google product features

On Fri, 22 Nov 2019, 00:49 Carl Boettiger, notifications@github.com wrote:

@danbri https://github.com/danbri can probably elaborate further, but I believe Google’s structured data testing tool is not intended to be a generic validator of the W3C JSON-LD specification, but rather, whether the JSON-LD conforms to Google’s specific use cases.

That said, I think just going with @context: “http://schema.org” makes sense to me in this case. It doesn’t look like you have any terms that aren’t already schema.org terms, so I think either way should be considered to be a valid codemeta file. Furthering the already close alignment between CodeMeta and schema.org vocabularies would improve interoperability overall anyway.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/codemeta/codemeta/issues/179?email_source=notifications&email_token=AABJSGJOPO7MLQMNHSO3STDQU4NAHA5CNFSM4EJJTAOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE4BO2Y#issuecomment-557324139, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJSGPYANMTQW4KLMQKZRLQU4NAHANCNFSM4EJJTAOA .

1reaction
cboettigcommented, Nov 21, 2019

@danbri can probably elaborate further, but I believe Google’s structured data testing tool is not intended to be a generic validator of the W3C JSON-LD specification, but rather, whether the JSON-LD conforms to Google’s specific use cases.

That said, I think just going with @context: "http://schema.org" makes sense to me in this case. It doesn’t look like you have any terms that aren’t already schema.org terms, so I think either way should be considered to be a valid codemeta file. Furthering the already close alignment between CodeMeta and schema.org vocabularies would improve interoperability overall anyway.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ensure Your Content is Discoverable - Google for Creators
Ensure your content is discoverable with this guide. ... Use tools to check how your content looks when shared on social media.
Read more >
Generate CodeMeta Metadata for R Packages • codemetar
CodeMeta is built on schema.org a simple structured data format developed by major search engines like Google and Bing to improve discoverability in...
Read more >
codemetar: Generate 'CodeMeta' Metadata for R Packages
simple structured data format developed by major search engines like Google and Bing to improve discoverability in search. CodeMeta is also ...
Read more >
The CodeMeta Project
Fortunately, a rapidly growing movement to improve preservation, discovery, reuse and attribution of academic software is now underway: a recent NIH report, ...
Read more >
We need your feedback: Aligning the CodeMeta vocabulary ...
Metadata that describes scientific software in standard ways – in particular citation metadata such as title, authors, publication year, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found