Giter Club home page Giter Club logo

ember-community-versions's Introduction

Web content never expires. A blog post written in 2011 will live on in search engine results for years.

Ember.js, the JavaScript framework for ambitious apps, has already been around for several years. This means the Internet is littered with content and posts that were accurate at the time, but have since been obsoleted.

To ensure old content gets properly flagged, with no effort needed by the author, we've created a GitHub-driven badge service. See the user-friendly website for more details on the general idea.

Updating a badge

Badges are stored as Jekyll posts. For example, the badge for this blog post:

Is stored at:

Versioning information is stored in the YAML front-matter of that post:

---
layout: post
url: http://madhatted.com/2015/5/14/ember-js-2-0-preview-with-canary
title: "Previewing Ember 2.0 on Canary"
date: 2015-05-13
start_version: "1.13"
end_version: "2.0" # end_version is optional
---

To update the badge (as seen the blog post at madhatted.com), open a PR changing the YAML front-matter.

Creating a badge

To create and embed a badge, first author a Jekyll post with the version information as exists. Most badges are likely to be for current content, and thus may only have a start_version property.

To embed your badge, use the filename to determine the badge URL. For example this filename:

_posts/2015-05-13-previewing-ember-2-0-on-canary.md

Is used as a badge with the following markup:

<iframe
  width="178" height="24" style="border:0px"
  src="https://mixonic.github.io/ember-community-versions/2015/05/13/previewing-ember-2-0-on-canary.html">
</iframe>

Please help ensure your own blog posts are correctly flagged by adding a badge when you publish.

Linking to a URL that does not exist, such as before your PR with the new badge is merged, will result in a "pending" badge. As soon as the PR is merged and GitHub pages updates, the versioned badge will appear.

ember-community-versions's People

Contributors

alexdiliberto avatar alisdair avatar balinterdi avatar dhaulagiri avatar eliotsykes avatar elwayman02 avatar ghedamat avatar jgwhite avatar kevinkucharczyk avatar makepanic avatar mixonic avatar mockra avatar orkon avatar raytiley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ember-community-versions's Issues

no license

Is this project open source? It'd be useful to replicate to other communities, but without a license, it's all rights reserved.

Pending Badge doesn't display properly

See screenshot below:

jordan_hawker

My badge code:

<iframe width="178" height="24" style="border:0px" src="https://mixonic.github.io/ember-community-versions/2015/09/07/upgrading-ember-the-way-it-was-intended-part-i.html">
</iframe>

FWIW, I was able to embed the sample "real" badge and have it show up fine. It was only the badge for non-existent jekyll posts that didn't work.

Add form to submit link via UI

It would be nice to have a slick ui where people can put their post information in a form (url, title, date, versions, etc) in the ember-community-versions github page UI and have it automatically generate a PR to add the jekyll post and provide them with the link/code to embed the badge in their page. I think we'd see a lot more adoption of this great concept if the interface was more user-friendly...most people have no idea what Jekyll is, much less what the README means by "author a Jekyll post" in order to get their badge generated.

Provide badges in other formats

iframe is not the most desirable format for a badge...would be a lot more user-friendly for people if they could simply embed a png or jpg, much like other badge services (badge.fury.io, for example). I've actually heard of a few people who found out about this project and then went to a badge service to create a custom badge rather than add a jekyll post to this project, simply because they didn't want to embed an iframe.

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.