Instructables

Create a mobile web site with RSS + CSS

Step 3: RSSmachine.xml & RSSmachine-comments.xml

The template is provided in two formats, a barebones version and one with comments in it.

The commented version provides ample documentation about the various parts of the underlying XML file. One thing to remember is that RSS files are a LIFO stack, the newest post is at the top of the file.

One crucial difference between building pages for phones vs. computers is file size and transmission speed. Download times are critical when dealing with mobile pages. Bandwidth is a limited resource. The comments need to be stripped out to keep the file as small as possible.

Start by reading RSSmachine-comments.xml but use RSSmachine.xml as your working copy.

Of course you can rename your XML file anything you want; www.example.com/feed.xml for example.
 
Remove these adsRemove these ads by Signing Up