best way to create applets usable on other sites

M

musosdev

Hi

I have some areas of my website I want to make available to other site
owners to include in their website (for example, Top 10 list, etc)

What's the best way to generate something that can be used by any site
owner, no matter what language they use, but that I can control the way the
data is presented (example, allow a select number of themes for the inserted
code).

Any ideas / examples would be greatly appreciated.

Cheers


Dan
 
G

Guest

Hi

I have some areas of my website I want to make available to other site
owners to include in their website (for example, Top 10 list, etc)

What's the best way to generate something that can be used by any site
owner, no matter what language they use, but that I can control the way the
data is presented (example, allow a select number of themes for the inserted
code).

Any ideas / examples would be greatly appreciated.

Cheers

Dan

I think it can be a number of sorts
- image in a different formats (styles)
- javascript
- xml
 
B

bruce barker

the only universal solution is to provide a url that returns an image. the
next woudl be a webservice that returns html, but then the other sites would
need to code a wrapper library.

you coudl do the webservice and supply client code in the most common
languages: php, python, ruby, asp, and .net

-- bruce (sqlwork.com)
 
M

musosdev

Bruce,

Thanks for the reply.

When you say "url that returns an image", do you mean in the same way that
some of the CAPTCHA routines work? IE, request a url, and then the page
changes the content type to "jpeg/image" ?!

I could do that, but it would make for quite a complicated page to code up
an image that represents my Top 10 table.

The other problem I can see, is that if it's returned as an image, I can't
make anything clickable, is that right?!

Cheers


Dan
 
G

Guest

Bruce,

Thanks for the reply.

When you say "url that returns an image", do you mean in the same way that
some of the CAPTCHA routines work? IE, request a url, and then the page
changes the content type to "jpeg/image" ?!

I could do that, but it would make for quite a complicated page to code up
an image that represents my Top 10 table.

The other problem I can see, is that if it's returned as an image, I can't
make anything clickable, is that right?!

Cheers

Dan








- Show quoted text -

make a javascript as google adsense does
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top