[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XML Idle screen
Author Message
Billx Offline
Junior Member
**

Posts: 17
Joined: Mar 2013
Reputation: 0
Post: #6
RE: XML Idle screen
You will need to do several steps to accomplish this.

Here is how I would go about it.
Maybe someone else can come up with another idea.

First, you need to know how to use PHP or another Scripting Language
Your script would need to go to a web site that has XML Data for the weather like this one: http://w1.weather.gov/xml/current_obs/KBCT.xml
Then you need to look at the Page Source Code and Parse out the Elements that you are interested in:
<weather>Fair</weather>
<wind_string>North at 8.1 MPH (7 KT)</wind_string>
<wind_dir>North</wind_dir>
<wind_degrees>360</wind_degrees>
<wind_mph>8.1</wind_mph>
<wind_kt>7</wind_kt>
<pressure_in>30.07</pressure_in>

Then assign each Parsed Element a Variable Name:
$wind = "8.1"
$pressure = "30.07"

Then insert that Variable into your script to be sent to the phone.
<Line Size="small">Wind Speed:> $wind </Line>
<Line Size="small">Pressure:> $pressure </Line>

This code may not be syntax correct, but it just a concept of what needs to be done.

I hope this gets you started in the right direction.
03-05-2014 12:09 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
XML Idle screen - CWR - 03-04-2014, 07:54 AM
RE: XML Idle screen - Yealink Support - 03-04-2014, 11:27 AM
RE: XML Idle screen - CWR - 03-04-2014, 01:13 PM
RE: XML Idle screen - Yealink Support - 03-04-2014, 07:07 PM
RE: XML Idle screen - CWR - 03-04-2014, 10:52 PM
RE: XML Idle screen - Billx - 03-05-2014 12:09 AM
RE: XML Idle screen - Billx - 03-10-2014, 05:44 AM
RE: XML Idle screen - CWR - 03-10-2014, 12:37 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  FreePBX chan_pjsip DTMF digits not displaying on screen karl_edgeconnect 1 447 02-13-2024 09:52 PM
Last Post: karl_edgeconnect
  No video / black screen between CUCM and Yalink CMD 0 1,296 10-17-2022 02:18 AM
Last Post: CMD
  Screen covers? (for branding) syadnom 0 1,476 08-18-2022 11:28 PM
Last Post: syadnom
  Screen Saver Stops Working awilson@intermaxteam.com 3 5,333 02-13-2022 05:09 AM
Last Post: complex1
  Dialing and what appears on the screen ajadams@centrictel.com 5 9,454 09-24-2020 12:53 AM
Last Post: Albert_Yealink
  T58 Screen Saver igork007 1 5,662 01-13-2020 07:13 PM
Last Post: complex1
  Replacement Screen T48G yeayealink 2 7,358 05-27-2019 03:07 AM
Last Post: jennytran
  Disabling screen timeout on T29G oliver@olivermarshall.net 1 10,434 05-24-2019 01:30 PM
Last Post: complex1
  Screen Default Back to Page 1 Kiwi 0 4,243 04-16-2019 01:22 AM
Last Post: Kiwi
  Turn off warnings on screen in V84 avayax 1 5,789 03-21-2019 12:30 PM
Last Post: complex1

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication