Forum Moderators: martinibuster

Message Too Old, No Replies

How to distribute a widget

And get a SE recognised link back

         

surfgatinho

11:06 am on Dec 17, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I was wondering what the best way to distribute a widget would be if I wanted to embed a link back to my site.

At present the content of the widget is created via a PHP script. Now, obviously the user isn't going to put an include statement in their page.
I guess iFrames would kind of work, but then the link is still on my site.
Javascript would work but that wouldn't be SE friendly.

I suppose JS with an html link in the embed code below might work? (But could easily be removed)

Would appreciate any input / suggestions.

Many thanks,
Chris

ZydoSEO

7:52 pm on Dec 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could provide a page on your site w/ the code snippet other sites could use to call your widget. Your code snippet could include both an iframe tag and an anchor tag similar to:

<div id=examplecomwidget1>
<iframe src="">blah</iframe>
This <a href="http://www.example.com/mypageiwanttogetcreditforlink">widget for doing blah</a> provided by example.com.
<div>

Of course the people here would probably copy only the iframe and NOT the <a> tag, but lesser experienced sites or even SEO'd sites that don't mind giving you a link would copy the entire snippet in a lot of cases. I've heard of 60-70% of people copying such code will copy the whole thing.

[edited by: ZydoSEO at 8:40 pm (utc) on Dec. 20, 2008]