3 Ways to Implement Embeddable Custom Badges

Originally published at: http://www.sitepoint.com/3-ways-implement-embeddable-custom-badges/

One great way of organically promoting your application is to provide “badges”; snippets of content that people can embed on their own websites.

This can contain up-to-the-minute information from your application about a user, piece of content or another object, dynamically generated and inserted into other websites. This is probably best illustrated with some examples:

Some examples of embedded content

In this article I’m going to take a look at some of the ways you can implement this.

Setting up our Example Application

All the code from this tutorial is available on Github. There’s also an online demo.

First, we’ll define our application’s dependencies using Composer:

"silex/silex": "~2.0@dev",
"twig/twig": ">=1.8,<2.0-dev",
"smottt/wideimage": "dev-master"

Continue reading this article on SitePoint

1 Like

Awesome tutorial, period.

Does it work with wordpress

It works with everything.

Ok thanks i was going to use it for my site

Super article Lucas
And what about SEO aspect? Which solution will be better to gain additional external links?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.