Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

[Dev] Blog missing good markup for social shares. #145

Closed
beriberikix opened this Issue Feb 11, 2014 · 13 comments

Comments

Projects
None yet
5 participants
Contributor

beriberikix commented Feb 11, 2014

I saw I post on Google+ and noticed the blog is missing good markup - schema.org and otherwise. At the very least, the post title should be set so it gets SEO but a proper description would be nice for both Schema & Open Graph. This is what Google sees & what Facebook sees.

Using the Google+ Snippet Tool, I generated this sample schema:

<!-- Update your html tag to include the itemscope and itemtype attributes. -->
<html itemscope itemtype="http://schema.org/Blog">

<!-- Add the following three tags inside head. -->
<meta itemprop="name" content="Updates to some of our generators">
<meta itemprop="description" content="Today we have a few updated generators for your consumption. nom nom nom. As always, we welcome any and all feedback or bug reports on the relevant trackers.">
<meta itemprop="image" content="http://i.imgur.com/hSEppjX.gif">

The same page has samples for FB.

Owner

sindresorhus commented Feb 12, 2014

Definitely! Thanks for catching that. Would you be interested in doing a PR?

Contributor

beriberikix commented Feb 12, 2014

I can take a stab at it once I figure out why Jekyll hates my machine :)

There's two spectrums of effort for the author - they manually insert the contents of the tags in some way or the templates try to be smart. I found a good article /by @davidensinger that meets somewhere in the middle (link).

Contributor

robwierzbowski commented Feb 12, 2014

What's the issue with Jekyll? Might be able to help.

Contributor

beriberikix commented Feb 12, 2014

@robwierzbowski nothing a little SO couldn't solve but I'm getting mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h. I'll take a look after work.

Owner

SBoudrias commented May 27, 2014

Any update on that issue? The redesign would be a good time to fix.

@eddiemonge eddiemonge changed the title from Blog missing good markup for social shares. to [Dev] Blog missing good markup for social shares. Jul 8, 2014

Member

eddiemonge commented Jul 8, 2014

@beriberikix still want to take a shot at this?

@eddiemonge eddiemonge added the Dev label Jul 8, 2014

Contributor

beriberikix commented Jul 8, 2014

This definitely fell off my radar. Is there an upcoming redesign? If I can commit, I'd rather wait until there is a new layout before working on changes.

Member

eddiemonge commented Jul 8, 2014

The redesign is already done and live

Contributor

beriberikix commented Jul 8, 2014

Ah, duh. One challenge would be defining workflow for authors to set the title, description and preview image. In a traditional CMS like wordpress, I would add those fields specifically. But since this is based off MD, how would you declare those? You could ask the authors to manually include open graph/schema tags or you could infer it from a css class, like "preview-url."

Thoughts?

Member

eddiemonge commented Jul 8, 2014

The site is built from a static site generator so we can add whatever and have it autopopulated the same as wordpress

Contributor

beriberikix commented Jul 9, 2014

The question is more of how authors populate the previews. Wordpress is GUI-based so it can enforce that requirement before publishing. AFAIK, authors just commit a new MD file and the generator spits out the new build. What's the desired workflow?

Member

eddiemonge commented Aug 13, 2015

Seems done

@eddiemonge eddiemonge closed this Aug 13, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment