List

Lists can be used for menu's of your service. You can easily create submenus placing another lists to item's urls.

Format

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0" xml:lang="en" lang="en">
  <head>
    <title>Title-of-list</title>
  </head>
  <body class="list">
    <ul>
      <li><a href="Url-of-item" class="listItem">Text-of-item</a></li>
      <li><a href="Url-of-item" class="listItem">Text-of-item</a></li>
      ...
    </ul>
  </body>
</html>

Parameters

  • Title-of-list - This text appears as the page title
  • Url-of-item - This url is called when user selects item. You can use Internal URLs there.
  • Text-of-item - This text describes list item

Example

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0" xml:lang="en" lang="en">
  <head>
    <title>My cool menu</title>
  </head>
  <body class="list">
    <ul>
      <li><a href="http://www.mycoolservice.com/friends" class="listItem">View nearby friends</a></li>
      <li><a href="http://www.mycoolservice.com/save" class="listItem">Save my location</a></li>
      <li><a href="http://www.mycoolservice.com/feedback" class="listItem">Send feedback</a></li>
      <li><a href="locify://help" class="listItem">Show help</a></li>
    </ul>
  </body>
</html>

How it looks like

List screenshot

Icons in lists

You can also easily include your own PNG icons in list. Icons are downloaded just once. Here is an example from geocaching service:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>Nearest caches</title>
  </head>
  <body class="list">
    <ul>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=0946c64e-ae48-47d5-9308-7167fa4a528c" class="listItem">3.2km THC cache</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=7af883f2-70e2-47b1-ae4d-40481093e7a0" class="listItem">3.7km Lavky Berounky No3 - Dobrichovice</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/UN.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=165d7adb-b1a4-433f-b14f-f0d0174d919d" class="listItem">4.6km Certuv ukopteny bratr</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/UN.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=a267fec0-5583-4cc3-a7dc-26821d767940" class="listItem">4.8km Jak se sovy ucily zpivat</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/EC.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=ca3e0d1d-b249-4daf-8896-bb2e57de45ec" class="listItem">5.1km Kacak Event</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/WH.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=977915a4-3742-418d-967a-daced1b7bd51" class="listItem">5.6km Stribrna Lhota</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/MU.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=a82bf0bf-4268-43ec-aeac-e194b87d9e99" class="listItem">5.6km K&#225;ja Mar&#237;k</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/UN.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=e77e8038-792f-404b-bb9b-c1f9a169565f" class="listItem">5.7km Kocici kamen / Katzenstein / Cat's stone</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/EC.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=ba611fce-c9fa-4ad1-9924-6e53ac6218ab" class="listItem">5.8km Lomy Morina</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=b8662c63-b2b9-4ea1-845e-5bb23a29e719" class="listItem">6.1km Zlaty vrch</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=c2ef4ff1-458e-4c9c-bae4-192603900591" class="listItem">6.2km Spadly strom</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=29b4d4b3-317c-4be7-902d-f2b65bcbdb48" class="listItem">6.4km Ve stinu lipy / Unter den Linden</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=613f87e8-aeb6-4617-bd53-8087e1be82d7" class="listItem">6.4km Vrazsky statek/Vraz grange</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=5c2887b8-80dc-42d7-a29d-8e201f6c5368" class="listItem">6.5km Tajemstvi Kulive hory</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=6601b186-3d1d-4552-a3c9-08059be173cf" class="listItem">6.9km Za Trebotovsk&#253;m hrbitovem</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=3e03e9cf-a211-4908-83bc-591e50b39fcf" class="listItem">7.2km Nostalgie</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=08d037d7-2a50-4d65-8d50-693b889188f4" class="listItem">7.2km Kytin</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=853e01e2-6015-4d66-a806-54db4e6031f6" class="listItem">7.3km Rozcesti / Crossroad</a></li>
       <li><img src="http://services.locify.com/nearestCaches/icons/TR.png" /><a href="http://services.locify.com/nearestCaches/cache.php?guid=bdeffd6c-1730-407b-8874-0e60f4361d1f" class="listItem">7.5km Mlok 1-02</a></li>
     </ul>
  </body>
</html>

List with images screenshot