Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-16 14:17:25

jnhuval
Member
From: Houston Texas USA
Registered: 2007-01-22
Posts: 30
Website

Can you display RSS feeds from another site?

Like Firefox Livebookmarks, is there a way to capture feed links and display them in your site? If not, what would it take to make this work?

Offline

#2 2008-02-16 15:40:18

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Can you display RSS feeds from another site?

Offline

#3 2008-02-16 16:26:02

jnhuval
Member
From: Houston Texas USA
Registered: 2007-01-22
Posts: 30
Website

Re: Can you display RSS feeds from another site?

Thank you and forgive me for missing that title — I’m still sorting this out.

Offline

#4 2008-02-18 09:20:05

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: Can you display RSS feeds from another site?

You could try this if your requirements are minimal. It is less configurable but easier to implement than bit_rss:

SimplePie Plugin for Textpattern

Offline

#5 2008-02-18 14:50:13

jnhuval
Member
From: Houston Texas USA
Registered: 2007-01-22
Posts: 30
Website

Re: Can you display RSS feeds from another site?

Thank you — this appears to be an easier way to get started.

Offline

#6 2008-02-21 13:31:50

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: Can you display RSS feeds from another site?

great, if you do use it, and have the time, please let me know how you get on. I’ve just updated it to make it a little more configurable. The latest version is on the SimplePie website – in my original link.

Offline

#7 2008-02-21 14:05:59

jnhuval
Member
From: Houston Texas USA
Registered: 2007-01-22
Posts: 30
Website

Re: Can you display RSS feeds from another site?

Great — I’ll reload it later today. I’ve already installed the one linked in the previous post on my localhost version and it’s great — I’m still figuring out how to style the text to match my other links, but so far it’s worked on a few different RSS feeds that I’ve tried. On one feed it pulled in all the image files + text posted in the feed — so I’ve yet to work on the configuration atributes — more later when I’ve had an opportunity to test out the newer version. Thanks again.

Offline

#8 2008-02-21 19:09:57

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Can you display RSS feeds from another site?

tameboy wrote:

I’ve just updated it to make it a little more configurable.

Ah, thanks for letting us know :) I’ve been using it for a while, but didn’t think of checking for updates…

Offline

#9 2008-02-22 04:25:34

moslib
Member
Registered: 2005-08-11
Posts: 39

Re: Can you display RSS feeds from another site?

tameboy – for your consideration:
http://simplepie.org/support/viewtopic.php?id=914

will download your improved version now – thanks in advance

Offline

#10 2008-02-22 15:08:52

jnhuval
Member
From: Houston Texas USA
Registered: 2007-01-22
Posts: 30
Website

Re: Can you display RSS feeds from another site?

The downloaded version worked in my 4.0.6 local install — however, when i edited the plugin as described in the support topic — http://simplepie.org/support/viewtopic.php?id=914 — I then got a fatal tag error as follows:

Tag error: <txp:pie_feed items=“5” alttitle=“From the CPB”>http://feeds.feedburner.com/SterlingResidentialRealtorsHoustonRealEstateBrokerInformingRealEstateConsumers-Home-CompassPoint</txp:feed>

<txp:section_list wraptag=“ul” break=“li” /> -> Warning: file_get_contents(http:) [function.file-get-contents]: failed to open stream: Invalid argument on line 7718

I went back into the plug-in and reloaded the original version and the tag errors are cleared — all’s working again.

I read through the plugin code, but couldn’t identify any other instances that required renaming the funtion to “pie_feed.” Might there be other lines that require editing besides the code line noted in the support topic reference above that I missed? Any comments on whether this plugin edit is necessary?

Offline

#11 2008-02-23 09:17:35

tameboy
Plugin Author
Registered: 2006-06-29
Posts: 48

Re: Can you display RSS feeds from another site?

Hi jnhuval

I have just taken over development of this plugin, so forgive me if I am not able to give instant solutions. There are a few issues I would like to sort out and one of them is certainly the tag name. As the thread you refer to correctly points out, the tag name should be prefixed to avoid clashes, so in version 1.3 one of the main changes will be changing the tag name to <txp:tame_pie_feed /> or something similar.

In the meantime, as long as you don’t have any other plugins installed which use custom tags with the name <txp:feed /> you should not edit the code. I am not sure why you got the error you did. No doubt I will have to deal with the same problem when I get round to updating it.

I will create a thread in this forum for future support. You can also get support via the new SimplePie forums which have moved to Yahoo:
http://tech.groups.yahoo.com/group/simplepie-support/

Offline

#12 2008-02-23 16:27:43

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Can you display RSS feeds from another site?

tameboy wrote:

I have just taken over development of this plugin, so forgive me if I am not able to give instant solutions.

That’s great that you’re taking over this plugin, I happen to use it on six of my sites, a very useful plugin indeed.

The biggest issue with the plugin is that the layout of the feeds is hard coded in the plugin. So on my sites, no two plugins have the same code base because of the intended purpose of the site. Looking towards the future, the layout should come from a TxP form, rather than hard coded inside the plugin source code. With the ability of having a form per feed, you can have side menu feeds with just a heading and content feeds with the full text of the feed. As it stands now, you can only use the plugin with one look per site, a bit limited.

Thanks again for volunteering, I await the official forum thread for tame_feed.

Offline

Board footer

Powered by FluxBB