Creating KML Feeds in Klixo

Klixo allows you to quickly and easily create KML feeds based on content in the Klixo content management system for websites.

About KML Feeds

  • KML feeds allow you to plot 1 or more points on a map, like Google Maps or Google Earth
  • KML feeds have excellent SEO properties. Websites are tied to regions and places by points in KML feeds
  • Google Maps (but not Google Earth) will not display KML feeds greater than a certain size, around 50 points
  • In Klixo, KML feeds are generated by publishing a Klixo "Page" with a ".kml" extension

Please follow the following instructions carefully. If you need help, contact Klixo Support

1. Add a Custom Story Field named "GLatLng"

If you don't have geographic (GIS) data on your website, you will need to create some. If you already have a Channel of Stories with GLatLng values in them, skip this step.

  1. Create a new custom story field called "GLatLng" (case is sensitive)
  2. Create a channel of stories with GLatLng values set
    1. Use the format {Latitude,Longitude} (no spaces)

2. Install the Klixo KML Client XSLT

  1. Download "klixo_kml_client.xslt" from http://lib.klixo.com/xsl/klixo_kml_client.xslt
  2. Upload to your XSL folder using an FTP program
  • klixo_kml_client.xsl may need to be customised for your website. Contact Klixo Support for more information

3. Create an XML directory on your web server using an FTP program

  • Create a directory called "xml" in the HTTP root

4. Create a new KML "Page"

  1. Create a new Page in Klixo, leave all of the fields as the default except the following
    1. Page Title = The title of the KML feed, i.e. "Auckland Restaurants". Note: when deciding on a Page Title and Description for your feed, be sure to keep your website keywords in mind. This is a great opportunity to include search engine keywords to help visitors to find your website more easily.
    2. Description = A description of the information that the KML feed contains
    3. Filename = "xml/" followed by a web friendly filename that ends in ".kml", e.g. "auckland_restaurants.kml"
    4. XSL Stylesheet = "klixo_kml_client.xslt" (without the quotes)
    5. XSLT Filename = "xsl/templates/klixo_kml.xslt" (without the quotes)
    6. Channels = The channel of stories with the GLatLng data in them
    7. Parent Page: Be sure to put this page at a place in the hierarchy where it is not going to appear on page navigation menus. Contact Klixo Support for help with this if you are unsure.
  2. Publish the page
    1. Test the page by viewing it in your Browser. If you have Google Earth installed, it should open and display all of the points on the map.
    2. If you see an error message from the Browser, you may have to configure the "MIME Types" on your web server. If your website is hosted with Klixo, contact Klixo support. If it is hosted with another company, contact their helpdesk.
  3. Test the KML feed in Google Maps
    1. Open Google Maps: http://maps.google.co.nz/
    2. Enter the URL of the KML Feed page that you have just created into the box next to the "Search Maps" button and click the "Search Maps" button. This will load your KML feed into the Google Maps viewer. You should now see all of your points displayed on a map. Click on a Point icon and you should see the title and description of that Story that is located by the GLatLng value you entered earlier.

More tips

  • Ensure that your KML feed is included in your Sitemap or Google Sitemap so that Search engine robots can find it, or link to it from a page on your website.
  • If you would like the link to open in Google maps, prepend the KML feed URL with "http://maps.google.com/maps?f=q&hl=en&q=" (without the quotes).

Be Ready for new Daylight Savings Time
Daylight saving time (NZDT) starts a week earlier in New Zealand this year, on the 30th of September. That means that your Windows XP or Vista PC will need to be updated so that it can automatically adjust for daylight saving time.

Adding a Google map to your website with the Klixo CMS
The Klixo CMS allows you to add a Google map to your website in just a few minutes.

Klixo Font Viewer
The Klixo Font Viewer is a tool for testing the font families sizes and variants that are supported by Internet Explorer and Mozilla Firefox on PC and Mac platforms.

Reading Publishing Status

Creating an RSS Feed for your website
How to create an RSS feed and start publishing syndicated content from your website

Using the Story Editor
The Klixo Story Editor is a powerful tool that may be used to add content to your website, or to edit existing content.

Internet Explorer 7 Upgrade Issues
Microsoft have released the latest version of Internet Explorer, version 7 (IE7). After installing IE7 you may find that some Klixo functions produce an error message. This article highlights these issues and offers remedies.

Graphic Designer's Guide to Web Page Design
Klixo can convert PNG/PSD to XHTML and PNG/PSD to XSL. Here are some guidelines for graphic designers that are laying up a web page design.

Klixo Slideshow
How to implement slideshows on your website

Implementing an automated pop-up menu system
How to implement an automated pop-up menu system in the Klixo CMS...

Deleting Stories and Pages
Deleting stories and pages in Klixo will not delete the files off the server

Posting stories to Klixo using the Story Edit API
You can post a story to the Klixo Story Editor using an HTML form

How to read your web statistics
Here a few tips for web-masters and website-owners on how to read your web stats reports with tools such as "Webalizer", "Wusage" and "Urchin".

How to prepare images for your website using Picasa
Picasa from Google is a great tool for managing your images. It allows you to sort your images into folders and then export selected images and prepare them for upload to your website

Viewing Form-to-mail data
How to view Form data that is submitted from your website via the Klixo Form-to-mail service

Klixo Search Web Service - API
The Klixo Search Web Service is a customisable search engine service

Generating PHP from XSL
Check your encoding when generating PHP files using XSL

How create a dynamic Google Sitemap for your website using Klixo
Klixo allows you to create a dynamic Google Sitemap that changes automatically whenever you make changes to the site

Creating and modifying Hyperlinks
A "hyperlink" is a click-able link that will navigate a user to another page on the website or a third-party website.

How To Upload Photos
This article describes how to upload photos from your PC to your web site.

Managing Mailing Lists with the Email List Subscription Manager
Now you can use Klixo Manager to manage you mailing lists, adding multiple recipients at once or removing all of your "bouncers" in one swoop, and here is how to it

Creating Real Audio
How to convert MP3 files into Real Audio and upload them to your website

Adding Klixo To Your Trusted Sites
To use the advanced features of the Klixo Website Manager, you must first create a trusted relationship with the Klixo website. This KB article tells you how.

The Klixo Subscription Engine - API & XML DOM
A description of the APIs (Application Programming Interface) and DOM (Document Object Model) available to web service developers for the programming of email subscription services with the Klixo Web Service.

Upload Manager - How to configure your PC for the Klixo Upload Control
Klixo have developed an Upload Control that works with the Upload Manager to upload documents and media files to your website automatically. All you have to do is choose the files from your computer. Here are a few tips for problem free installation and running of the control.

Robots.txt - Telling Google (and other engines) what to Index
This handy little file tells search engine robots where they may and may not go on your website

Problems with logging in?
If you are having problems logging in to Klixo, or your browser is not remembering your details, try these steps.

Knowledge base
klixos knowledge base, code samples and more

First Day Stuff - Questions For Common PC Problems
Having trouble surfing the web? PC a bit sick? Answer these questions to help us help you...

copyright 2004 klixo limited all rights reserved. powered by the klixo content management system for websites

powered by klixo.net.nz