Created
June 1, 2012 08:19
-
-
Save superfeedr/2850245 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
function subscribe() { | |
var intent = new WebKitIntent("http://webintents.org/subscribe", "application/atom+xml", "http://blog.superfeedr.com/atom.xml"); | |
window.navigator.webkitStartActivity(intent, onSuccess, onError); | |
} | |
</script> | |
<button onclick="subscribe();">Follow me in your favorite Subscription app!</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment