Reply
XSL, search engines and more.
Old 01-18-2009, 02:19 PM XSL, search engines and more.
Average Talker

Posts: 15
Trades: 0
Hello!

Until today I was completely unfamiliar with XSL and its uses within a web page to output data easily from an XML file. It seems really straight forward, and 90% useless depending on the following.

Is it like Javascript in the respect that Google (as one example) won't run it to see what it outputs. If XSL is client side will search engine bots only see the template code?

Cheers guys.

Leonard
Gentleman_ is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 01-18-2009, 02:23 PM Re: XSL, search engines and more.
chrishirst's Avatar
Super Moderator

Posts: 22,280
Location: Blackpool. UK
Trades: 0
they will only "see" the XML code.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-18-2009, 02:30 PM Re: XSL, search engines and more.
Average Talker

Posts: 15
Trades: 0
OK, so it will be out of context of the page and therefore no use as a dynamic solution for something that needs to be search engine friendly?
Gentleman_ is offline
Reply With Quote
View Public Profile
 
Old 01-18-2009, 02:38 PM Re: XSL, search engines and more.
chrishirst's Avatar
Super Moderator

Posts: 22,280
Location: Blackpool. UK
Trades: 0
If you are hoping for the page to be crawled and indexed as it would be in a visual useragent. Then, yes it will be out of context.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-18-2009, 03:41 PM Re: XSL, search engines and more.
tripy's Avatar
Do not try this at home!

Posts: 3,176
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
www.quixml.org

It's a class I designed and used in several projects.
Based on 2 components:
1) An extension to xmlWriter to create the XML of the pages
2) An xslt wrapper that decide when the transformation should be made in the browser or on the server.

In your case, it could be of help.
It detects which browser it is based on the user-agent string, and decide which rendering should be applied.
In the case of a search-engine robot coming to your site, it would serve the site as HTML. If you use a modern browser, you would receive xml+xsl.

The quixml.org site is build upon that too. Try to look at the source with firefox, you will see the XML.
The xsl is mapped like http://www.quixml.org/xsl/org.quixml.index for the index page.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is online now
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 01-19-2009, 07:21 AM Re: XSL, search engines and more.
Average Talker

Posts: 15
Trades: 0
Cheers for the help guys.

That class looks pretty handy tripy, I shall check it out as soon as I get a chance... just got to get through this pile of donkey work at the moment. Ahhh, mondays....
Gentleman_ is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to XSL, search engines and more.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.12867 seconds with 13 queries