Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Create a personalized widget
Old 02-23-2008, 07:24 PM Create a personalized widget
Junior Talker

Posts: 3
Trades: 0
Hello!

I was just wondering if it is possible to do the following:
Create a widget for my site that will show some values from a table located on a different site.
the table looks something like this:

--------------------------------------
| Date Value |
--------------------------------------
|Water temp: | 23 |
--------------------------------------
|Air temp : | 11 |
---------------------------------------
|Wind speed: | 0.2 |
---------------------------------------


And i would like a result on my page like the following:

-------------
|t:23 / w:11|
-------------
__________________________________________________ __

If is helpful, her is the original table url:
http://161.53.31.162:7777/autodatapu...gif&plid=3&v=d
Eian00 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-25-2008, 06:17 PM Re: Create a personalized widget
Experienced Talker

Posts: 46
Trades: 0
Why would they be on separate sites?

It sure is possible but I'm not sure I'm following your thoughts.
__________________

Please login or register to view this content. Registration is FREE
-> Home of the crasher squirrel
jeff_oneil is offline
Reply With Quote
View Public Profile Visit jeff_oneil's homepage!
 
Old 02-26-2008, 01:26 AM Re: Create a personalized widget
Junior Talker

Posts: 3
Trades: 0
Because the one on the original site shows too many values, some of them i dont need to show.
The second point is creating a small designed box showing just a fiew values the visitors of my site need to see.

Anyone has any idea or technique i could use to get that result?
Eian00 is offline
Reply With Quote
View Public Profile
 
Old 02-26-2008, 05:47 PM Re: Create a personalized widget
willcode4beer's Avatar
Super Moderator

Posts: 1,533
Name: Paul Davis
Location: San Francisco
Trades: 1
Yes it is possible, many site do something similar.
There are quite a few different techniques to do this.
One might be a cron job that grabs the data from the other site using lynx or wget, pass through a parser to generate a file that you include.
Other techniques might involve using an http client within your server code to essentially do the same.

The best technique (for you) will depend upon what platform and server you are using.
__________________

Please login or register to view this content. Registration is FREE

willcode4beer is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Create a personalized widget
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20840 seconds with 12 queries