Setting Best Bets

Dataload can be used to create or delete Best Bets themselves.

<?xml version="1.0" encoding="UTF-8"?>
<ThunderstoneReplication>
    <Item>
        <Type>saveBestBet</Type>
        <Url>http://www.example.com/somePage.htm</Url>
        <BBTitle>dataloaded best bet!</BBTitle>
        <BBDescription>Well isn't THIS fancy!</BBDescription>
        <BBKeywords>test</BBKeywords>
    </Item>
    <Item>
        <Type>saveBestBet</Type>
        <Url>http://www.example.com/somePage.htm</Url>
        <BBTitle>ANOTHER dataloaded best bet!</BBTitle>
        <BBDescription>multiple best bet records!</BBDescription>
        <BBKeywords>exemplary, wonderful, impressive</BBKeywords>
    </Item>
    <Item>
        <Type>deleteBestBets</Type>
        <Url>http://www.contoso.com/*</Url>
    </Item>
</ThunderstoneReplication>

The elements for saving a best bet are:

  • <Type>

    • saveBestBet - creates a best bet, or updates an existing best bet with the same URL, keywords, and group

  • <Url> - The URL for the best bet

  • <BBTitle> - The displayed title for the best bet

  • <BBDescription> - the displayed description for the best bet

  • <BBKeywords> - the keywords for the best bet

  • <BBPriority> - the priority for the best bet

  • <BBGroupname> (optional) - the name of the group to assign this best bet to. If not given, the default group will be used. If no group is given and none exist, one will be created.

The elements for deleting best bets are:

  • <Type>

    • deleteBestBets - Deletes best bets for the specified URL

  • <Url> - The URL pattern of best bets to delete. It can be a single URL, or a pattern (e.g. http://www.contoso.com/*) to match multiple URLs' best bets.

Copyright © Thunderstone Software     Last updated: Oct 10 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.