473,507 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create XSL for RSS via PHP : issues with IE

Hi there,

We are providing feeds via RSS/REST (query to RSS) with an attached XSL
file that works quite nicely.

We are now "pushing the envelope" by allowing feed-builders to build
their own feeds that include additional refinement by the end user.

To do this we have an XSL file the display a default feed, but also
presents a form that can change arguments for a slightly different
feed.

The idea is that a feed builder can setup a "template" with default
values that will result in a feed that can be viewed via an RSS
aggrigator - or if viewed through a browser will present the user with
a form to further refine the feed (which can then be bookmarked into
their aggrigator).

What we have is a feed that take the form of

"http://host/pathToFile?feed=XXXXXXXXXX&user0_0=SomeValue"

This feed references to an XSL file such as:

<?xml-stylesheet type="text/xsl"
href="http://host/pathToFile/rss.php?feed=XXXXXXXXXX&user0_0=SomeValue"?>

This works great in Thunderbird, but the XSL is ignored in IE.

Because this is an RSS feed, we can't do the XSL server-side. I
believe the issue with IE is that the file doesn't take the form
"filename.xsl".

Can someone verify this and/or give me some insite into a way around
this?

Thanks!

CF

Jul 17 '05 #1
3 1425
de**@chronofish.com wrote:
What we have is a feed that take the form of

"http://host/pathToFile?feed=XXXXXXXXXX&user0_0=SomeValue"

This feed references to an XSL file such as:

<?xml-stylesheet type="text/xsl"
href="http://host/pathToFile/rss.php?feed=XXXXXXXXXX&user0_0=SomeValue"?>

This works great in Thunderbird, but the XSL is ignored in IE.

Because this is an RSS feed, we can't do the XSL server-side. I
believe the issue with IE is that the file doesn't take the form
"filename.xsl".

Can someone verify this and/or give me some insite into a way around
this?


If you use Apache as the Web server, rename the file rss.xsl.php, and
reference it (from XML) as just rss.xsl. If the Apache's Multiview option
(http://httpd.apache.org/docs/content-negotiation.html) is turned on, the
correct file will be called.

Berislav
Jul 17 '05 #2
"This works great in Thunderbird, but the XSL is ignored in IE. "

Should have been "works great in Firefox"

-CF

Jul 17 '05 #3
Thanks Berislav for the quick response.

If were accessing the file rss.php with no attributes I can see how the
renaming would work to "fake out" IE. However we are passing variables
across the URL - are you saying that IE would be able to handle the
reference to:

<?xml-stylesheet type="text/xsl"
href="rss.xsl?feed=XXXXXXXXXX&user0_0=SomeValue" ?>

?

Thanks!
CF

Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4481
by: Ted Miller | last post by:
Hi folks, I'm looking at moving a large base of C++ code to .Net under tight time constraints. The code runs in mission-critical environments, and I am extremely concerned about the loader lock...
1
5355
by: abcd | last post by:
I am using Python to create a process on another computer. Both computers are on the same domain with admin privileges. On computer B I have a batch script which starts a python script. From...
18
2682
by: Steven Bethard | last post by:
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
5
20110
by: ljlevend2 | last post by:
Is there any way to create a local server during runtime? For example, if you add an existing Web Site to a Solution from within Visual Studio (by right clicking the solution in the Solution...
13
2405
by: docschnipp | last post by:
Hi, I have a bunch of object derived from the same base class. They all share the same constructor with some parameters. Now, instead of using a large switch() statement where I call every...
2
1712
by: Mukesh | last post by:
Hi all I m Using SQL SERVER 2005 I have a requirement to store some data in xmldatatype using stored procedure , Here is example
2
10814
by: Amber | last post by:
On my DB2 UDB 8.2.7 database user User1 has been granted IMPLICIT_SCHEMA privilege, but when he issues "create schema test", the error message "SQL0552N, USER1 does not have the previliege to...
3
3917
by: Michael Tissington | last post by:
Using VS 2008 ... I have created a new folder cgi-bin in my project and then created a c# console exe. How do I set the permissions on the folder so that the exe executes. I know how to do...
6
2794
by: Michael Tissington | last post by:
Using Visual Studio 2008 can someone point me to an example to create a cgi web service in C# ? Thanks.
1
3425
by: Mark B | last post by:
I am trying to programmatically create some icons for an Office 2007 add-in (VB/C#) that will appear on the navigation Ribbon. The particular icon is simply a colored round circle representing a...
0
7111
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7031
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7485
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5042
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.