English 中文(简体)
• 如何从海关储存库获取信息,在Boxee展示?
原标题:How to make app from custom repository to show up in Boxee?
  • 时间:2012-01-15 13:59:54
  •  标签:
  • xml
  • boxee

我试图将Hello World example添加到我的服务器上的一个习俗存放处,但信标在Boxee的显示器上,我可以指出我做错的事情。 我可以看到存放处,但看不到。 这里是我的组合:

server/repo/repository.xml

<repository>
   <id>com.server</id>
   <url>server</url>
   <name>My repository</name>
   <thumb>thumb.png</thumb>
   <description>My Boxee app reposiory.</description>
</repository>

server/repo/index.xml

<apps>
   <app>
      <id>com.server.hello</id>
      <name>Hello World</name>
      <version>1.0</version>
      <description>Test application</description>
      <thumb>thumb.png</thumb>
      <repositoryid>com.server</repositoryid>
      <repository>server</repository>
      <media>video</media>
      <author>Me</author>
      <copyright>Me</copyright>
      <email>[email protected]</email>
      <type>skin</type>
      <startWindow>14000</startWindow>
      <platform>all</platform>
      <minversion>0.9.14</minversion>
   </app>
</apps>

实际数据载于server/repo/download,并命名为com.server.hello-1.0.zip

问题回答

yeah, this was an exciting moment for me too... it all looks well for me (naming ids and same version numbers..), except the

 <url>server</url>

tag is missing in your repo/index.html. so the app doesn t know where to start. did that solve your problem?





相关问题
how to represent it in dtd?

I have two element action and guid. guid is a required field when action is add. but when action is del it will not appear in file. How to represent this in dtd ?

.Net application configuration add xml-data

I need to add xml-content to my application configuration file. Is there a way to add it directly to the appSettings section or do I need to implement a configSection? Is it possible to add the xml ...

XStream serializing collections

I have a class structure that I would like to serialize with Xstream. The root class contains a collection of other objects (of varying types). I would like to only serialize part of the objects that ...

MS Word splits words in its XML format

I have a Word 2003 document saved as a XML in WordProcessingML format. It contains few placeholders which will be dynamically replaced by an appropriate content. But, the problem is that Word ...

Merging an XML file with a list of changes

I have two XML files that are generated by another application I have no control over. The first is a settings file, and the second is a list of changes that should be applied to the first. Main ...

How do I check if a node has no siblings?

I have a org.w3c.dom.Node object. I would like to see if it has any other siblings. Here s what I have tried: Node sibling = node.getNextSibling(); if(sibling == null) return true; else ...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

热门标签