Skip to content

Instantly share code, notes, and snippets.

@patricksavalle
Created July 7, 2015 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patricksavalle/60dcc9c1d25dcce20eeb to your computer and use it in GitHub Desktop.
Save patricksavalle/60dcc9c1d25dcce20eeb to your computer and use it in GitHub Desktop.
<html>
<head>
<!-- the Mobbr payment script, example, generate this dynamically based on contribution/participation -->
<meta name="participation" content='
{
"type":"payment",
"language":"EN",
"title":"Mobbr demo page",
"description":"Some descriptive text",
"keywords":
[
"keyword1",
"keyword2"
],
"participants":
[
{"id":"https://mobbr.com/#/person/Patrick","share":"2","role":"administrator"},
{"id":"https://mobbr.com/#/person/Ernesto","share":"1"},
{"id":"mailto:some@email.com","role":"architect"},
{"id":"https://mobbr.com/#/person/Patrick","role":"owner","share":"10%"}
]
}'>
<!-- The Mobbr javascript includes, needed for the button -->
<script type="text/javascript" src="https://mobbr.com/mobbr-button.js"></script>
</head>
<body>
<h3>Mobbr test script</h3>
<p>See HTML source and https://github.com/mobbr/mobbr-api-v1/tree/master/examples</p>
<!-- the visible button -->
<script type="text/javascript">mobbr.buttonMedium("", "EUR");</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment