Wednesday, February 22, 2012
CategoriesMinimize
All Entries
  

ArchivesMinimize
  

ArticlesMinimize
 

How to enable RSS Auto-Discovery for your XMod RSS Feeds - UPDATE

Created 2 years 339 days ago
by Administrator Account

I am the fatgeorge.co.uk administrator.
Like: 0 Dislike: 0

  • Currently 0.00/5 Stars.


Tags:
Categories:categoryXModcategoryHow TocategoryTag Cloud
Views: 2306
Print

If you use the Syndication for XMod add-in to generate RSS feeds of your XMod data you will need some way to allow your users to subscribe to these feeds.

Normally on websites with RSS feeds you will see the orange RSS icon action_rss , this is basically a hyperlink to the xml file which contains your feed content.

Most modern browsers (FF3,IE7,Safari) have RSS Auto-Discovery, that means that if they detect a link to a feed an RSS icon in the address bar or somewhere similar will be enabled. (see the screenshot from FF3 above).

However, the link to enable this must reside in your page’s header; you can use XMod’s functionality to achieve this.

I generally add it in the XMod module’s Header section:

image

 

   1: <scriptblock scriptid="rssfeed" blocktype="HeadScript" registeronce="true">
   2: <link href="http://www.fatgeorge.co.uk/portals/0/AskTheXperts.xml" rel="alternate" type="application/rss+xml" title="fatgeorge - Ask The Xperts" /> 
   3: <link href="http://www.fatgeorge.co.uk/portals/0/AskTheXpertsunanswered.xml" rel="alternate" type="application/rss+xml" title="fatgeorge - Ask The Xperts Un-Answered Questions" /> 
   4: </scriptblock>

 

    UPDATE

I generally work in Firefox so it was only when I was helping a customer set this up that I noticed that the RSS icon did not light up in IE7 but was fine in FF3 !

For what ever reason IE was not picking up the header script insertion from the XMod scriptblock, I wanted some way to test the IE was processing the RSS link correctly.

So I needed some other way of injecting the code into the page header, preferably for free.

I then remembered seeing Will Strohl’s post, a free script injection module.

Simply follow Will’s instructions to install and configure the module.

I added a new injection:

image

image

I simply then entered the <link> references as the content to inject,

specified to inject it at the top of the page

as it needs to appear in the page header.

Simple and free and it now works in FF and IE.

 

 

del.icio.us Tags: ,,,



No Comments


You need to register to comment.
  

Copyright (c) 2012 fatgeorge online solutions