User:Bull/addon format Suggestions

From World Wind Wiki

Jump to: navigation, search

Contents

[edit] My idea

Ok here is what I would like to see, basically its a combination of mazop and nova's ideas -

<addon_information>

  • <developer>.........text.........</developer>
  • <title>.............text.........</title>
  • <version>........text/number.....</version>
  • <date>............text/date......</date>
  • <ww_version>.....text/number.....</ww_version>
  • <license_type>....text/link......</license_type>


    • <addon_url>.........http link................</addon_url>
    • <contact>......text/email address............</contact>
    • <type>................text...................</type>
    • <extended info>..link (http or local)........</extended info>
    • <data_points>...........number...............</data_points>
    • <child_layers>..........number...............</child_layers>
    • <metadata_source>........text................</metadata_source>
    • <metadata_datadate>....text/date.............</metadata_datadate>
    • <metadata_description>...text................</metadata_description>

</addon_information>



The tags in the second part would all be optional.

<type> would be any combination of the following - world/icon/trail/image_layer/placename/script/plugin/addon/wms

</license_type> freeware, shareware, or anything else, if it is a specific license like GPL, a link to the details should be included.


[edit] 5of0 suggestion (much better)

<header_information>
 <developer name="bull">
   <contact>......text/email address............</contact>
 </developer>
 <addon title="Darwin's Voyage on the Bounty">
    <version>........text/number.....</version>
    <date>............text/date......</date>
    <ww_version>.....text/number.....</ww_version>
    <license_type>....text/link......</license_type>
    <url>.........http link................</url>
    <type>................text...................</type>
    <extended info>..link (http or local)........</extended info>
    <data_points>...........number...............</data_points>
    <child_layers>..........number...............</child_layers>
    <metadata_source>........text................</metadata_source>
    <metadata_datadate>....text/date.............</metadata_datadate>
    <metadata_description>...text................</metadata_description>
 </addon>
</header_information>

mandatory fields -


  • <developer>
  • <title>
  • <version>
  • <date>
  • <ww_version>
  • <license_type>


See nova's post

[edit] Mazop's post to the dev list

i think we (addon designer) would also need better possibilitys for discribeing the addons. my idea about is: expanding the possibilities for describing in the XML (like now in HEAD - right click in layermanager shows up info about the addon....). here is a list of descriptions i thought about:

<addon developer>..........................text

<addon name>...............................text

<addon version>............................text/number

<addon date (created)>.....................text/date

<addon update-link>........................http download link

<addon metadata source/provider>...........text

<addon metadata datadate>..................text/date

<addon metadata description>...............text

<addon extended info* (read more about)>...link (http or local)

[edit] FINAL(ish)

<HeaderInformation>
 <Addon Title="Darwin's Voyage on the Bounty">
    <Developer name="bull">
        <Contact>......text/email address............</Contact>
    </Developer>
    <Version>........text/number.....</Version>
    <Date>............text/date......</Date>
    <WwVersion>.....text/number.....</WwVersion>
    <LicenseType>....text/link......</LicenseType>
    <Url>.........http link................</Url>
    <Type>................text...................</Type>
    <ExtendedInfo>..link (http or local)........</ExtendedInfo>
    <DataPoints>...........number...............</DataPoints>
    <ChildLayers>..........number...............</ChildLayers>
    <MetadataSource>........text................</MetadataSource>
    <MetadataDataDate>....text/date.............</MetadataDataDate>
    <MetadataDescription>...text................</MetadataDescription>
 </Addon>
</HeaderInformation> 
Personal tools