6:58 am


Silver
July 19, 2011

Hi TS.
I am playing with the API for showing the latest value of a given chart.
As a test, I'm using this channel feed:
http://api.thingspeak.com/channels/9/field/1/last.txt
Id' like to append the degree sign, so the link i'm using looks like this:
http://api.thingspeak.com/channels/9/field/1/last.txt?append=C
Now, Id' like to use the degree ° sign in the append code, but so far, I have not been successful.
I have tried the following for the append tag:
ALT+0176 (which inserts °)
%B0 (URL encoded)
° (HTML code)
%26deg (substitute & with %26)
Neither has worked. Could you please advise how to use special signs in the append tag?
Also; it would be nice if you could add the '&dynamic=' tag to the API for call ing the latest value. That way, if i include the link in an iframe, it would always show the latest value in the iframe, without me having to reload the page.
(I'm imagining something like this:
<iframe width="60" height="30" style="border: 1px solid #cccccc;" src="http://api.thingspeak.com/channels/9/field/1/last.txt?append= C&&dynamic=true"></iframe>
)
Most Users Ever Online: 166
Currently Online:
26 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
huldacormier, bogart, estebanmateo93, mikewrite, onlinebusiness, winzy99Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457