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
Use package description for schema.org description, leading to better social sharing #8145
Comments
Added this to the Later milestone. |
Removed Area-Pub label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
This issue has been moved to Github as part of a migration. Please use the Issue on Github going forward: https://github.com/dart-lang/pub-dartlang/issues Added MovedToGithub label. |
This issue has been moved to dart-archive/pub-dartlang#315. |
This issue was originally filed by @sethladd
Suggest we use schema.org metadata for pub packages, which enables much better social sharing.
Here's an example of the markup:
<!-- Update your html tag to include the itemscope and itemtype attributes. -->
<html itemscope itemtype="http://schema.org/Product">
<!-- Add the following tags inside head. -->
<meta itemprop="name" content="My Cool Package">
<meta itemprop="description" content="A port of Blowfish to thwart evil hackers.">
You can test the snippets here: http://www.google.com/webmasters/tools/richsnippets
Here are the docs: https://developers.google.com/+/plugins/snippet/
See screenshot for what we have now. Notice the description is the generic description for pub, and not the description for the package itself.
Hope that helps!
Attachment:
Screenshot_1_26_13_12_24_PM.png (46.04 KB)
The text was updated successfully, but these errors were encountered: