/ Published in: Groovy
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import groovy.net.xmlrpc.* import java.net.ServerSocket // check api key // returns 1 if valid serverProxy.user.checkkey("[yourkey]") // returns all languages on Snipplr as map // returns list of (your own!) snippets println "You have ${snippets.size()} snippets and favorites" // access a specific snippet println snippet // individual attributes println snippet.source println snippet.tags println snippet.created
URL: http://www.bighugesystems.com/wordpress/?p=42