1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved XML as RSS in html page

Discussion in 'General Internet' started by GreenShoot, 2011/02/14.

  1. 2011/02/14
    GreenShoot

    GreenShoot Inactive Thread Starter

    Joined:
    2011/02/13
    Messages:
    9
    Likes Received:
    0
    I'm quite a beginner to all this (I sort of understood it about 8 years ago but now ...).

    I have an xml page that lists my podcasts and is what I use as the feed url for iTunes and several other podcast aggregation sites:
    http://www.green-shoot.com/podcast/timhaighreadsbooks.xml

    I have an html page where I present my podcasts for "normal" visitors:
    http://www.timhaighreadsbooks.com

    These are not commercial pages - I have never been paid to do this stuff ... open to offers ;)

    Is there a way to put a button or link in the html page that will enable the visitor to subcribe to the podcast using the xml document but WITHOUT sending them to the xml page (since it doesn't display properly in ie8 ... and possibly other browsers)?

    That is to say, is there code that will allow me to use a button or something that I can add to the html that will open the "Do you want to subscribe to this podcast feed? ..." dialogue, (however it's normally worded) and set up the RSS feed to the visitor's chosen rss reader?

    If this question is confusing or incomplete, please let me know what else you need to know and I'll do my very best to provide the information.

    Thanks for helping a dinosaur trying to keep up.

    Johnny
     
  2. 2011/02/27
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    You cannot bypass the browser's built in methods of handling rss urls.

    IE6 doesn't support it, only the code gets displayed. (nobody should be using IE6 anyway)
    IE7 & IE8 have rss support built in.
    Firefox supports it.
    Chrome supports it using an extension.
    Safari & Opera support it.

    Tested it & your rss page displays just fine in Firefox and IE8.

    Link to the xml file using text or the orange rss icon.
     

  3. to hide this advert.

  4. 2011/02/28
    GreenShoot

    GreenShoot Inactive Thread Starter

    Joined:
    2011/02/13
    Messages:
    9
    Likes Received:
    0
    I see raw xml, not a user-friencly interface

    When I view the xml page, I see raw xml, not a use-friendly interface. What is going on?

    Here is an example of what I see:
    <?xml version= "1.0" encoding= "UTF-8" ?>
    - <rss xmlns:itunes= "http://www.itunes.com/dtds/podcast-1.0.dtd" version= "2.0 ">
    - <channel>
    <title>HUW PRYCE TALKS</title>
    <description>Wine, booze, liquor, the work of the devil, the sweat of angels, call it what you will, it's grist to the mill and lubrication for the soul. This series of podcasts includes interviews, comments and some things you may not have known before. Huw Pryce is a critic, wine writer, CAMRA beer judge and broadcaster.</description>
    <link>http://www.huwprycetalks.com</link>
    <language>en-uk</language>
    <copyright>Copyright 2009</copyright>
    <lastBuildDate>Tue, 17 Aug 2010 00:00:01 GMT</lastBuildDate>
     
  5. 2011/02/28
    Arie

    Arie Administrator Administrator Staff

    Joined:
    2001/12/27
    Messages:
    15,174
    Likes Received:
    412
    You don't say which browser you are using.

    If yours is a supported browser as indicated in Tony's post above, I suggest you reset your browsers settings. For IE8 this can be done from the menu: Tools > Internet Options, from the Advanced tab click the Reset button.
     
    Arie,
    #4
    GreenShoot likes this.
  6. 2011/03/10
    GreenShoot

    GreenShoot Inactive Thread Starter

    Joined:
    2011/02/13
    Messages:
    9
    Likes Received:
    0
    Thank you both for you help. Although it does not answer my original question, I now know what to tell people who complain, which is a start.
     
  7. 2011/03/10
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    To answer the questions:

    Yes and no. Javascript could probably be used to invoke the browser "subscribe dialogs ". However, it would not be reliable.

    RSS subscriptions via the browser invoke the user's default RSS handler. This could be Firefox Live Bookmarks, a Google Chrome extension, IE's Web Slices or a separate RSS reader software. You have no way of knowing what the user's default RSS handler is, thus what you are asking to do tends to violate Web standards and practicalities.

    BTW, the XML displays as it should in IE8. If it does not display this way for you then your browser settings are fouled up in some way.
     

    Attached Files:

  8. 2011/03/10
    GreenShoot

    GreenShoot Inactive Thread Starter

    Joined:
    2011/02/13
    Messages:
    9
    Likes Received:
    0
    You know, I'm sure I've seen that sort of button in Wordpress and the like and they're not XML-based, are they? I'll some java writers' fora.

    Thanks
     
  9. 2011/03/10
    GreenShoot

    GreenShoot Inactive Thread Starter

    Joined:
    2011/02/13
    Messages:
    9
    Likes Received:
    0
    Oh and I sorted out the display on my own browser, thanks Arie. Happy purim!
     
  10. 2011/03/12
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    There are Wordpress Plugins specifically for Wordpres that do many different things with RSS. The ones that do what you want use a subscription service, both free and non-free, such as AWeber.

    You'll not get a Wordpress Plugin working on a non-Wordpress site because the Plugins utilize the built in Wordpress php functions, database functions, etc.

    You can probably find subscription services that provide the HTML that you can embed for your RSS links.

    See this:
    http://www.mnot.net/rss/tutorial/
     
    GreenShoot likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.