How to Open RSS feed in New Window

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
badhoy

How to Open RSS feed in New Window

Post by badhoy »

How do I open an RSS feed (using RSS Module 1.1) in a new browser window? 

My link looks like this:
{cms_module module='rss' url='http://cyrilonbi.wordpress.com/feed/' numbertoshow='1'}
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to Open RSS feed in New Window

Post by Dr.CSS »

RSS feeds are for opening in an RSS reader... like the Sage extension in Firefox or a stand alone RSS reader... most times when you open/clik the RSS button in a web page you get a bunch of XML code,,, yuck whats this mean stuff...
badhoy

Re: How to Open RSS feed in New Window

Post by badhoy »

Right, but in my example within CMSMS it launches a new window/tab in Firefox and IE.  The RSS module places the feed info on my home page and when people click on it I want a new Firefox or IE window or to the launch the favourite news reader that the person has configured on their machine.  Can I do that?
Diane

Re: How to Open RSS feed in New Window

Post by Diane »

if you go into the Modules area, you will see "About" and "Help" for each module.

This is from there, see optional parameter 2

How do I use it?

As this is just a tag module, it's inserted into your page or template by using the cms_module tag. Example syntax would be:
{cms_module module="rss" url="http://download.freshmeat.net/backend/fm-releases.rdf" numbertoshow="5"}
Parameters

    * url="http://feed_url" - RSS feed URL
    * (optional) numbertoshow="5" - Maximum number of items to display -- leaving empty will show all items.
    * (optional) target="" - Adds a target param to the title link. Set to "_blank" to open in a new page.
    * (optional) descriptions="1" - Show the description of the RSS articles.
    * (optional) lang="en_US" - Parameter is used to specify what language to use for display on the frontend. Not all modules support or need this.
badhoy

Re: How to Open RSS feed in New Window

Post by badhoy »

What version of the RSS module are you using Diane.  There is no "target=" in the version I am using (1.1).
badhoy

Re: How to Open RSS feed in New Window

Post by badhoy »

I still can not get this to work.  In my home page I have use a global content block that looks like this
Cyril Brookes on Business Intelligence
{cms_module module='rss' url='http://cyrilonbi.wordpress.com/feed/' numbertoshow='1' target='_blank'}
It will not open in a new window.  Anyone have any ideas?
Locked

Return to “CMSMS Core”