Favourites.xml: Difference between revisions
Jump to navigation
Jump to search
m (moved Favourites/favourites.xml to Favourites.xml) |
No edit summary |
||
Line 1: | Line 1: | ||
This is developer documentation about the markup of the favourites.xml file. For the main page about the favourites feature see '''[[Favourites]]'''. | |||
== Favourites via xml== | == Favourites via xml== | ||
Creating and/or editing favourites.xml in the [[userdata folder]] | Creating and/or editing favourites.xml in the [[userdata folder]] |
Revision as of 10:59, 22 April 2014
This is developer documentation about the markup of the favourites.xml file. For the main page about the favourites feature see Favourites.
Favourites via xml
Creating and/or editing favourites.xml in the userdata folder
Example 1 Here is how simple favourites.xml file would like for the method outline above if you were to create it manually.
<favourites> <favourite name="Water Wars II: Privatization" thumb="http://static.ddmcdn.com/gif/videos/120x90/52447.jpg">PlayMedia("plugin://plugin.video.howstuffworks_com/?url=52447&mode=playVideo")</favourite> </favourites>
Example 2
Here is how simple favourites.xml file looks like with SVN Repo Installed plugin entry (you need to have installed SVN Repo Installed and TED Video plugin previously installed):
<favourites> <favourite name="TED Talks" thumb="special://masterprofile/Thumbnails/Programs/d3b7311b.tbn">ActivateWindow(10024,plugin://video/TED Talks/)</favourite> <favourite name="SVN Repo Installer" thumb="special://home/plugins/programs/SVN Repo Installer/default.tbn">ActivateWindow(10001,plugin://programs/SVN Repo Installer/)</favourite> </favourites>
Renaming a favourite via xml
You can when adding the Source Name it as you wish the filename to appear, however if your not happy with the name provided by default rename it to whatever you wish.
<favourites> <favourite name="Enter Desired name here" thumb="http://static.ddmcdn.com/gif/videos/120x90/52447.jpg">PlayMedia("plugin://plugin.video.howstuffworks_com/?url=52447&mode=playVideo")</favourite> </favourites>