So I am thinking of developing an html widget that can be added to any web page (similar to the way sharethis is added but will only display data, no posting). Just a few questions if anyone can help:
1) The widget will fetch data you enter on my website based on a unique code. Shall I return the whole html structure from my site? Or shall I build it on the client site? I want to prevent someone overriding my classes, so I was thinking inline styling or changing the class name on every regeneration of the widget.
2) Was thinking to give it for free and only charge a yearly subscription to remove the logo, or be able to add custom colors etc. What do you think? How does sharethis or other widgets monetize?
3) There should be some transformations as well so some plain javascript will be included. Shall I wrap it in an iframe? Or just call a cdn js file on my site?
CSS is all client side. Inline CSS can be overridden. Besides if I'm adding some 3rd party widget to my site I would want to be able to integrate it with the look and feel of my site. Embedded iframes are just ugly and most any modern web developers are not going to want to have to deal with an embedded iframe. That's like some old HTML4 stuff. Same goes with randomizing CSS via JS. I'm not going to want a bunch of crazy CSS injected into my webpage. What would this widget do? It would have to be one hell of a widget for me to pay a subscription fee for, especially when I just could make an equivalent on my own. The other consideration is the server side setup. What happens if your server goes down or get overloaded? Your users are going to either have slow load times or a broken element. That's a good way to lose a customer, especially if it's a businesses site. Your best bet for monetization is make it a Wordpress or some other popular CMS plugin and add some slick features for the paid version. There's already a market there for things like widgets.