-
Notifications
You must be signed in to change notification settings - Fork 10
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
SEO-related tweeks: OG and TwitterCard descriptions #480
Comments
As discussed in today's tools meeting, we need the following (roughly). Feel free to tweak this: In the short term:
In the mid/long term:
Also, in the long term, maybe consider to create a Smart Docs extension for Geekodoc for things that we need on top of the standard Geekodoc and that maybe enforces a few more things. Smart Docs will need to contain a few more meta tags than the legacy XML files. |
Ahh, that's interesting! Just found the following paragraph in the Twitter developer's guide (emphasize by me):
They give the following example: A mix of Twitter and Open Graph tags to define a summary card<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@nytimesbits" />
<meta name="twitter:creator" content="@nickbilton" />
<meta property="og:url" content="http://bits.blogs.nytimes.com/2011/12/08/a-twitter-for-my-sister/" />
<meta property="og:title" content="A Twitter for My Sister" />
<meta property="og:description" content="In the early days, Twitter grew so quickly that it was almost impossible to add new features because engineers spent their time trying to keep the rocket ship from stalling." />
<meta property="og:image" content="http://graphics8.nytimes.com/images/2011/12/08/technology/bits-newtwitter/bits-newtwitter-tmagArticle.jpg" /> Maybe that helps us to minimize the markup? |
Nope, it won't. Notice that the OG description is far too long. Would have been nice, though. |
Right, the OG description is too long. However, if we cut it to the minimum, it would work, right. I don't understand why this procedure is recommended in the Twitter development guide if it doesn't work? It's an official guide at least! |
The XSLT stylesheets should match to these elements in https://github.com/SUSE/doc-modular/blob/jjaeger_template-overhaul/templates/xml/assembly.xml#L60-L62 |
Problem Description
Currently, we get suitable meta descriptions for Google by chopping of any characters beyond the 150th of the abstract. This however, isn't good enough for TwitterCards and Open Graph descripions.
Twitter supports up to 120 chars. OG only accepts up to 65 chars. We are currently getting penalized for TwitterCards and OG :(
Proposed fix
Related information
toms: added "related information" section
The text was updated successfully, but these errors were encountered: