Save the example opml in a file ending with .opml such as Searches.opml
in the Plugins/Alien/Addons directory.
Code:
--------------------
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head title="Pre-defined Search">
<expansionState></expansionState>
</head>
<body>
<outline URL="http://www.bbc.co.uk/iplayer/search/?q=Books"
parser="Plugins::Alien::Parsers::iPlayerSearchParser" text="Books" />
<outline URL="http://www.bbc.co.uk/iplayer/search/?q=Quiz"
parser="Plugins::Alien::Parsers::iPlayerSearchParser" text="Quiz" />
<outline URL="http://www.bbc.co.uk/iplayer/search/?q=Archers"
parser="Plugins::Alien::Parsers::iPlayerSearchParser" text="Archers" />
<outline URL="http://www.bbc.co.uk/iplayer/search/?q=Archers%20Omnibus"
parser="Plugins::Alien::Parsers::iPlayerSearchParser" text="Archers Omnibus" />
</body>
</opml>
--------------------
When you restart AlienBBC or click "Reset Menu" in AlienBBC Settings
dialogues a new menu called "pre-defined Search" will appear. This
name is in the "head title" element (highlighted in green).
Under "pre-defined Search" there will be menu entries corresponding to
the "outline" entries - the menu name is derived form the "text=" field
(highlighted in blue).
The URL defines the actual search - the search words are highlighed in
red. When there is more than one search word put
[color=red[%20[/color] between the words (URL encoding for a space).
>From the AlienBBC settings you can edit the name and URL of the menu
entries to suit your needs and not worry about the other text in the
file.
--
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=55579
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss