1. Pv 11
  2. Building Weather Dynamic Data Message

Building Weather Dynamic Data Message

To create a weather message using Prismview’s Weather Source follow the steps below.

 

Open Prismview and choose the Content tab at the top and choose the Create Dynamic Image button.

Screen_01

Enter the name for this message—such as “Weather” and click OK.

Screen_02

On the left hand side of the Dynamic Data Editor click the ‘Add’ button to insert a new data layer.

Screen_03

Choose the HTTP XML Parse option and give the layer a name, such as “Current Temp” and click ‘Add’.

Screen_04

Copy the link that you received from Prismview’s CreativeGroup and paste it into the field marked URL. In the Element field, type “Curent_Temp_F” as shown below.

Screen_05

Other items are also available for parsing, this image below shows the XML code and some of the available elements. You may view the entire XML file in most any web-browser, however, Google® Chrome is recommended–other browsers often require settings changes before they will display the raw XML properly. XML is written using tagged elements that have an opening and a closing tag (which appear in purple). The info we want to parse is the data between the tags, shown in black. By identifying the appropriate element in the XML we are able to parse the desired data. While there are other elements available for parsing, this tutorial will focus on the temperature only.

Screen_08

At this point in the creation process a background should be imported. Do this by clicking the Set Background Animation (In PV11) or Set Background Image (in PV9 and PV11). Browse to a background image of your chosing–please note that images or animations must be sized properly or stretching will occur.

Screen_05c

Once a background image or animation has been loaded you can easily move the temperature into position and make any needed adjustments to the font, size, and color by using the font options in the lower half of the editor.

Screen_06

Add the next few days’ Highs and Lows by repeating the steps taken when adding the current temperature–click the ‘Add’ button on the left and choose the HTTP XML Parse option, give the layer a name such as “Day 2 High” and paste the same URL in the URL field. Within the Element field of Day 2’s High, input “Day_2_High” as shown above.  When parsing Day 2’s Low input “Day_2_Low” in the Element field, and so on for Day 3’s High and Low and Day 4’s High and Low–if you have room to show multiple days’ forecast temperatures.

Screen_07

When you are finished adding daily Highs and Lows click the “Save and Exit” button at the bottom right of the window and the weather message will save itself to the Content Library and become available for scheduling.

Creation Tips

NOTE: If the user wants to view the actual XML tree with all of the available weather items, it is recommended that they view the URL in Google® Chrome. If they must use Internet Explorer then it is recommended that the user opens the Internet Options window -> the Content tab -> Feeds and Web Slices -> Settings -> and uncheck the ‘Turn on feed reading view’ option, then click OK. This will then allow the user to view the xml tree.

If the customer has any questions or encounters problems while building their own weather message, they may contact the CreativeGroup by phone (866-989-3726) or email (CreativeGroup@prismview.com) for assistance.