- Home
- Coding concepts
- Special screens
- Available features
- More
- Translation
- Testing
- Deployment
- Differences in Locify 0.8.5
- Sample services
- Example videos
First steps
Let's start! First thing you need to do is place a 'welcome message' to your web server. This welcome message contains information about your service. If user types this url into Locify client, it will able to install your service.
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>Your-service-name</title> </head> <body class="serviceInfo"> <div> <p class="description">Your-service-descripton</p> <img src="Your-service-icon-url" class="icon" alt="" /> <a href="Your-service-first-screen-url" class="firstScreen">firstScreen</a> <a href="Your-service-settings-url" class="settings">settings</a> </div> </body> </html>
Parameters
- Your-service-name - Name of your service
- Your-service-description - Additional info about your service
- Your-service-icon-url - Icon of your service. Should be an PNG image 25x25 pixels.
- Your-service-first-screen-url - First screen of your service. When user clicks on your service in main menu of Locify client, this url will be called.
- Your-service-settings-url (optional) - Url of form defining service settings. Read more about service settings.
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 service</title> </head> <body class="serviceInfo"> <div> <p class="description">This service is very cool and is used just for demonstration.</p> <img src="http://www.mycoolservice.com/cool.png" class="icon" alt="" /> <a href="http://www.mycoolservice.com/start" class="firstScreen">firstScreen</a> <a href="http://www.mycoolservice.com/settings" class="settings">settings</a> </div> </body> </html>
How it looks like

