After a break I post preliminary version of XML format used for “Sky guides” feature. It will probabily change a little bit before the end of my project, but this should give you some idea how it looks.
<?xml version=”1.0” encoding=”utf-8” ?> <kstars-skyguide version=”0.1”> <guides> <guide> <title>Guide title</title> <description>Guide description</description> <author>Author name</author> <authorEmail>author@email.com</authorEmail> <authorWWW>www.author.com</authorWWW> <thumbnailImg> <image> <url>Image URL</url> <description>Image description</description> </image> <thumbnailImg> <creationDate>Creation date</creationDate> <slides> <slide> <title>Slide title</title> <centerPoint>Coordinates that will be set when slide is active</centerPoint> <text>Slide text</text> <images> <image> <url>Image URL</url> <description>Image description</description> </image> </images> <links> <link url=”link url”/> </links> </slide> </slides> </guide> </guides> </kstars-skyguide>
As it can be seen, each XML file following this convention will contain at least one guide, which in turn will contain at least one slide. Each slide will have it’s center point (SkyPoint at which SkyMap will be centered when this slide is shown), title, informative text, images and links.
This week I am also finishing changing to OAL support with the help of my mentor. I hope to close it this week.