Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-24 19:06:37

RP Birt
New Member
From: Ontario, Canada
Registered: 2006-04-24
Posts: 6
Website

Setting up an RSS or Atom Feed

I have searched through the forum and I can not find a simple answer to “how to set up a “real simple syndication” feed for TXP. I read that only Firefox seems to want to download a file but I have tried several different browsers with the same result. There is one plug-in listed that has a broken link for the download.

At the bottom of this forum is a link that can be used to put a valid feed into a Thunderbird News Reader. Is it just not possible to do this in Textpattern?

Offline

#2 2006-04-24 20:05:32

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Setting up an RSS or Atom Feed

All browsers will only download the feed. What you have to do is right-click on the link and choose “Copy Link Location” or equivalent.

Now, on this forum I’ve made that easier to do by using JavaScript to popup a little window containing the feed url. Is that what you want?

Offline

#3 2006-04-24 20:38:12

RP Birt
New Member
From: Ontario, Canada
Registered: 2006-04-24
Posts: 6
Website

Re: Setting up an RSS or Atom Feed

That is a good solution. If it is coupled with a button for the feed, it will help meet the “norm” that a lot of people are beginning to expect. Is it possible to get a copy of the script?

Offline

#4 2006-04-24 21:10:17

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Setting up an RSS or Atom Feed

The “feedPaste” function can be grabbed from here (near the bottom, you won’t want the rest of the script, it’s unrelated), and modify it to your liking.

Then you’d make the link to your feed, like this:
<a href="http://yoursite.com/rss" title="RSS 0.91 feed" onclick="return feedPaste(this.href);">RSS</a>

Offline

#5 2006-04-24 21:35:03

RP Birt
New Member
From: Ontario, Canada
Registered: 2006-04-24
Posts: 6
Website

Re: Setting up an RSS or Atom Feed

Thank you very much. Since we are integrating TXP and Pun… it is double good ;)

Offline

Board footer

Powered by FluxBB