Yes, that is the difference:  originally, I saved the file-as-rendered (ie,
what I saw in the IE10 browser when it displays an RSS feed document,
prettified) – which is an XML file, but without the line pointing to the
RSSPretty.xslt file (different, I assume, for other RSS feeds - eg from
Sourceforge or wherever). Saving the ‘View Source’ representation from IE10
gives me the original RSS document with the online link to the XSLT it
needs. 

 

 

Ian Thomas

Victoria Park, Western Australia

 

From: [email protected] [mailto:[email protected]]
On Behalf Of David Richards
Sent: Wednesday, 17 July 2013 9:39 AM
To: ozDotNet
Subject: Re: [OT] RSS feed formatting

 

Wow, that sucks.  Surely its not the responsibility of the browser to modify
the source.  It's not really saving the source then, its more like
"exporting" the content.  Actually, now that I think of it.  Did you save
the source (ie view source then save) or save the page (ie from the rendered
page)?  Perhaps that's the difference.




David

"If we can hit that bullseye, the rest of the dominoes 
 will fall like a house of cards... checkmate!"
 -Zapp Brannigan, Futurama

 

On 17 July 2013 09:34, Ian Thomas <[email protected]> wrote:

Mark, certainly IE imposes its will upon the file representations.
With IE (v10), saving the RSS to disk as XML seems to remove the line that
defines the link to the transform (XSLT) file, whereas View Source reveals
that line. I guess there are pros and cons in those differences. I don't
have other browsers on this laptop so didn't try opera/firefox/chrome.
Thanks for the elucidation - I can progress from here (MicrosoftAtWork was
just put forward as an example).


Ian Thomas
Victoria Park, Western Australia

-----Original Message-----
From: [email protected] [mailto:[email protected]]

On Behalf Of Mark Hurd
Sent: Tuesday, 16 July 2013 11:01 PM
To: ozDotNet
Subject: Re: [OT] RSS feed formatting

That seems to be an artifact of IE's processing of RSS. The URL of the
subscribed page (as seen in the Properties of the page) is:
http://www.microsoft.com/athome/community/rss.xml
which is what the shortened url http://aka.ms/AtHomeRSS expands to.

On 16 July 2013 22:20, Mark Hurd <[email protected]> wrote:
> OK, I see now, once you actually subscribe there's no xsl.
>
> On 16 July 2013 22:08, Mark Hurd <[email protected]> wrote:
>> When I view source of http://aka.ms/AtHomeRSS the second line is:
>> <?xml-stylesheet type='text/xsl' href='RssPretty.xslt'
>> version='1.0'?>
>>
>> On 16 July 2013 18:31, Ian Thomas <[email protected]> wrote:
>>> Sorry, I can’t see any explicit XSLT file referenced in the RSS
>>> (View Source, in Internet Explorer) – and I would have thought that
>>> saving the XML file itself and then opening that in IE, then either
>>> (if explicitly named) the browser would locate the XSLT, or ( as you
>>> suggested) “ If it's not specified or if the file is missing, IE
>>> will just use a default one which is the XML view you saw.” – but not
true.
>>>
>>>
>>>
>>> So, I’m still in ignorance.
>>>
>>>
>>>
>>> Ian Thomas
>>>
>>> Victoria Park, Western Australia
>>>
>>>
>>>
>>> From: [email protected]
>>> [mailto:[email protected]]
>>> On Behalf Of David Richards
>>> Sent: Tuesday, 16 July 2013 10:49 AM
>>>
>>>
>>> To: ozDotNet
>>> Subject: Re: [OT] RSS feed formatting
>>>
>>>
>>>
>>> Its referenced in the file.  Just look at the source, you'll see it
>>> at the top of the file.  If it's not specified or if the file is
>>> missing, IE will just use a default one which is the XML view you saw.
>>>
>>>
>>> David
>>>
>>> "If we can hit that bullseye, the rest of the dominoes  will fall
>>> like a house of cards... checkmate!"
>>>  -Zapp Brannigan, Futurama
>>>
>>>
>>>
>>> On 16 July 2013 10:01, Ian Thomas <[email protected]> wrote:
>>>
>>> I did assume there was an XSLT file behind, but I don’t think it is
>>> referenced – or is it – in the XML itself? Is it always, or is there
>>> a default name for the transformation file?
>>>
>>>
>>>
>>>
>>>
>>> Ian Thomas
>>>
>>> Victoria Park, Western Australia
>>>
>>>
>>>
>>> From: [email protected]
>>> [mailto:[email protected]]
>>> On Behalf Of David Richards
>>> Sent: Tuesday, 16 July 2013 9:03 AM
>>> To: ozDotNet
>>> Subject: Re: [OT] RSS feed formatting
>>>
>>>
>>>
>>> You're not saving the CSS.  In the example you gave, try grabbing
>>> the CSS file as well:
>>>
>>>
>>>
>>> http://www.microsoft.com/atwork/community/RssPretty.xslt
>>>
>>>
>>>
>>>
>>> David
>>>
>>> "If we can hit that bullseye, the rest of the dominoes  will fall
>>> like a house of cards... checkmate!"
>>>  -Zapp Brannigan, Futurama
>>>
>>>
>>>
>>> On 16 July 2013 08:54, Ian Thomas <[email protected]> wrote:
>>>
>>> This is a naïve question, maybe someone can explain.
>>>
>>> If I browse to an RSS feed (eg, Microsoft at Work) the browser
>>> formats it consistently. Yet, saving the XML file itself and then
>>> later opening the saved-to-disk file in the same browser (eg, IE10)
>>> the display is the standard XML syntax-highlighted view for any XML
file.
>>>
>>> What is happening?
>>>
>>>
>>>
>>> Ian Thomas
>>>
>>> Victoria Park, Western Australia
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Regards,
>> Mark Hurd, B.Sc.(Ma.)(Hons.)
>
>
>
> --
> Regards,
> Mark Hurd, B.Sc.(Ma.)(Hons.)



--
Regards,
Mark Hurd, B.Sc.(Ma.)(Hons.)

 

Reply via email to