Region Variables

Asked by jacob.saylor@gmail.com

First off, awesome work with Xibo! I have been using it since July with little to no problems. My problem however is I'm writing a custom weather page based on the zip that was given. Everything works with the creation of these web pages, but does not update the xml. So I have two questions:

1) Where can I find the file which updates the XML for the player.

2) I was going also write a custom script to update the xml if question was too hard to implement. I can pull the regionID and layoutID, but to properly update the xml, the only thing i need is the top, left, height, and length. How can I access these?

Thanks for your help and I apologize if I have made this confusing or too hard.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Garner
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

I'm not sure which zip you mean. We've never provided any kind of weather functionality in a zip.

If you're talking about RSS the client updates the XML itself. The server has no control over that.

Alex

--- original message ---
From: "<email address hidden>" <email address hidden>
Subject: [Question #86520]: Region Variables
Date: 21st October 2009
Time: 6:45:55 pm

New question #86520 on Xibo:
https://answers.launchpad.net/xibo/+question/86520

First off, awesome work with Xibo! I have been using it since July with little to no problems. My problem however is I'm writing a custom weather page based on the zip that was given. Everything works with the creation of these web pages, but does not update the xml. So I have two questions:

1) Where can I find the file which updates the XML for the player.

2) I was going also write a custom script to update the xml if question was too hard to implement. I can pull the regionID and layoutID, but to properly update the xml, the only thing i need is the top, left, height, and length. How can I access these?

Thanks for your help and I apologize if I have made this confusing or too hard.

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
jacob.saylor@gmail.com (jacob-saylor) said :
#2

I was just explaining the custom page\script I was working on. The zip has to do with something I wrote. What Im confused about is how to access the variables from (Layout Design) -> (Region Options) . Hope this makes more sense.

Revision history for this message
Best Dan Garner (dangarner) said :
#3

Everything related to a layout (its regions / media) is stored in the layout table of the database. There is a column for XML which contains the XLF (Xibo Layout File) which is sent to the client.

There is a schema for XLF here: http://wiki.xibo.org.uk/wiki/XLF_XML_Schema

I am not sure how your custom page is put together so it is difficult to offer more advise.

Cheers,
Dan

Revision history for this message
jacob.saylor@gmail.com (jacob-saylor) said :
#4

Thanks Dan Garner, that solved my question.