|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Submit Your Site For Review Need a fresh set of eyeballs to take a look at your site? Have a specific issue or question about some aspect of your layout, design or interface? This is the forum for you. When submitting your site, be sure to discuss what aspect you are looking for input on. Just posting a link with the word 'review' isn't appropriate. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
As a proof of concept project, I created a new site at TicketWarehouse.us. This site gives all information as XML files, converted to HTML with XSLT. A future improvement on the site will include some cross platform compatibility and other functionality. This site was developed for a few purposes, mainly as a proof of concept extensible platform, and also as a way to test how the different search engines crawl and process XML web sites, and a way to learn more about the technology.
As an experimental site, some of the links still point to our main site, and the navigation and overall design are simplistic, to say the least. Please, take a look and let me know what you think of the site so far. The XML data the site is built on can be viewed using your browser's view source, and the XSLT template can be found at <xsl:value-of select="$title" />. I look forward to your comments and suggestions, from areas of improvement for the design and navigation, to ways of improving the underlying code. This technology is still pretty new to me, but I'd like to get feedback and make sure I am not doing anything wrong or improper at this early stage.
__________________
The best way to learn anything, is to question everything. |
|
||||
|
Very good.
__________________
Dave Barnes +1.303.744.9024 http://www.marketingtactics.com sitting in my basement with my iMac |
|
||||
|
Quote:
Quote:
Quote:
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started |
|
||||
|
Quote:
Quote:
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started Last edited by kgun; 12-13-2007 at 03:17 PM. |
|
||||
|
Figures, Opera Mini is the one browser I didn't test on. Most of the default web browsers are not yet ready for XML+XSLT it seems, as they simply return an unrecognized format error when presented with an XML file. Openwave for example. Opera Mini does handle the site very well, with a server side browser detection that transforms the XSLT document depending on the browser.
__________________
The best way to learn anything, is to question everything. |
|
||||
|
I will especially draw your attention to the zXML library for cross-browser XML, XPath, and XSLT support.
Link: NCZOnline - Downloads
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started |
|
||||
|
Having done some more testing on the site and research into different mobile browsers, I have found that currently, no mobile platform acknowledges that they support XML+XSLT, which makes the process more difficult, and has me back to server-side browser sniffing.
I have found that Google can crawl almost any link in an XML+XSLT site, be it a link contained in the XML file itself or a link generated by the XSLT stylesheet. This seems to me pretty impressive considering how uncommon this technology is at this time. After doing some more research into this method of developing sites, which seems completely designed for the purpose of allowing a single XML file to be redisplayed on a variety of platforms, there seems to be a surprising lack of any way to specify different XSLT templates for different platforms. In fact, there seems to be no way to accomplish this.
__________________
The best way to learn anything, is to question everything. |
|
||||
|
Quote:
Quote:
Quote:
Try KW + processor KW + parser KW + interpreter You may need to recompile and / or relink PHP + a PHP processor if you use that for server scripting. Have you searched on the W3C site generally and on the Mobile site specially? Read what I write here: Logistics (The first section). I can highly reccomend the book mentioned there: "Dr. Erik Wilde and Dr. David Lowe has written a good book that describes this theory in greater detail. XPath, XLink, XPointer, and XML: A Practical Guide to Web Hyperlinking and Transclusion Addison Wesley ISBN: 0201703440" That book may be 5 to 10 years ahead of time, and you have to reread it. Those persons are far ahead of many of us. I am sure you only get a touch of the top of the iceberg of what they are working with (read chapter 9 "Transforming to a New Model") if you buy the book. Section 8.4.3 "Link Semantics" with code example is worth the price of the book. It is about converting XLinks to HTML links before XLink is a standard used by the most important browsers.
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started Last edited by kgun; 12-17-2007 at 01:08 PM. |
|
||||
|
I actually opened a thread on the Opera site (Media Type for XML+XSLT Sites - Opera Mini - Opera Community) hoping to find out that there is simply a different media type I would need to specify to get the page to display in Opera Mini. Unfortunately, it seems that Opera is the only browser that supports the media tag, causing the page to break in Internet Explorer or Firefox, due to the two browsers diametrically opposed implementations of XSLT. For IE, whichever template I specify first is used, and Firefox uses the last specified template.
__________________
The best way to learn anything, is to question everything. |
|
||||
|
If you intend to display the xml data in a mobile browser, why not just write a template that'll convert it to WAP or WML for the Openwave, Nokia and Opera mini browsers as well as most PDA's.
It's a hassle to learn WAP and WML but once you've set up your template(s), you'll be good to go. As may have already been stated, you can test your wml using the regular Opera browser and you can download the Openwave and Nokia SDK's for testing your WAP pages. Don't worry too much about developing specifically for the Motorola browser as their SDK's are notoriously buggy. Essentially, if your pages work in the Openwave and Nokia browsers, they should be good to go. Openwave Developer Network - Tools & SDK - Openwave Phone Simulator In addition to providing an SDK, forum Nokia is a pretty good resource as well: Forum Nokia - Web Technologies You're using a browser detect to determine which content to serve up, right?
__________________
. Printer ink & toner cartridges in Canada | Integrated Web Payroll, Online HRMS Tools with Employee Time & Attendance |
|
||||
|
Actually, um, no. Being that this is a purely experimental site, right now the site only serves raw XML, hoping that the client will be able to download the correct template to display the page. Unfortunately, the only browsers that seem to be fully compatible with this technology are the Opera browsers. Openwave and Nokia do not support XML, at least on their respective emulators. I am using a small amount of server-side scripting to allow the site to display properly in IE and Mozilla, but my ultimate goal is to have the site work across browsers client side. Sadly, it seems this capability is a ways off.
__________________
The best way to learn anything, is to question everything. |
|
||||
|
I thought you had tried to use XSL (XSTL or XML-FO) to transform the XML file to WAP or WML.
It shall be possible, but I have never tried it myself. Using XSTL or XML-FO you can transform and XML document to whatever format you want as long as there are processors, libraries or parsers. That is what the concept of single-souring is all about. One single XML source file, many presentations / applications.
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started Last edited by kgun; 12-17-2007 at 06:28 PM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XSLT Conditionals | wige | Web Programming Discussion Forum | 13 | 04-09-2008 10:10 AM |
| getting XML file to show on separate pages using XSLT? | Veikoh | Web Programming Discussion Forum | 0 | 09-12-2007 10:01 PM |
| Office2007, OpenXML and XSLT. | kgun | IT Discussion Forum | 0 | 06-01-2007 09:57 AM |
| XSLT Question | subho | Graphics & Design Discussion Forum | 3 | 01-20-2007 11:36 AM |
| Review the site and a global question on All in one web site | dfinch | Submit Your Site For Review | 1 | 11-01-2006 12:05 AM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |