I published the latest changeset that make xllmnrd respond with a real answer. Now we can access Samba with IPv6!
A Google Sites gadget can be made from just an XML file as below:
<?xml version="1.0" encoding="UTF-8"?> <Module> <ModulePrefs height="32"/> <Content type="html"> <![CDATA[ <!-- INSERT YOUR HTML BUTTON CODE HERE --> ]]> </Content> </Module>
Here is the short instructions to make your own gadget:
- Create an XML file with the above contents.
- Get a HTML code from your Sellfy account with Open in new window selected.
- Substitute your HTML code for
<!-- INSERT YOUR HTML BUTTON CODE HERE -->.
atag. Note if you forget this step, your product will be displayed only in a small area around the button.
- Upload the XML file to any location with a public URL.
- On Google Sites, choose [Insert] > [More gadgets...] and [Add gadget by URL], enter your gadget’s URL, and finally [Add].
- Then adjust preferences. I hope 32 pixels for the gadget height is enough, but your mileage may vary.
For probably security reasons, Google Sites forbids you to embed your scripts in your page, unfortunately. But you can make your own gadget that contains the button code and insert it into you page, alternatively.
A gadget is just an XML file that can contain HTML contents. You can make the XML file easily with any text editor. If you place the file at any public location accessible with a URL, you can then insert it in your page on Google Sites. Here is an examble.
But before you begin writing your own gadget, please note that a gadget will be contained in an iframe on the page. Your contents will be clipped by the iframe’s width and height, so you should specify a reasonable size for it. In addition, you might have to add a target attribute to some links in your gadget to avoid the link destinations happens to be displayed in the small iframe.
If I could get any request, I would make my example code published later on this blog. Thank you for reading.
I posted a milestone release announcement on the xllmnrd project blog.