Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2005-04-22 19:01:53

yuzz
New Member
Registered: 2004-11-21
Posts: 2

Re: [archived] tcm_rss - RSS feeds with any formatting

OK, you were right, the new feed URL worked fine. My only advise would be to output a more controlled and comprehesive error when a feed cannot be fetched (as this is indeed a likely occurrence anyway — you can’t control the feed itself).

That said, I am very happy with the current plugin and would like to thank you again :-)

Cheers!

Offline

#32 2005-04-22 23:07:40

montom
New Member
Registered: 2004-06-22
Posts: 3

Re: [archived] tcm_rss - RSS feeds with any formatting

For anyone using tcm_rss to show del.iciou.us bookmarks on their site and find that some bookmark URLs mess up XHTML 1.0 compliance, just insert this code into the plugin:

[code]
$href = $item[‘link’];
$href = str_replace(“&”, “&###;”, $href);
$out[‘permlink’] = $href;
[/code]

(replace ### with amp)

…insert into the plugin after this line:

[code]
$GLOBALS[‘thisarticle’] = $out;
[/code]

Offline

#33 2005-04-22 23:48:07

bluearc21
Member
From: US.VA
Registered: 2004-02-24
Posts: 62
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

That’s probably a useful tip for lots of different feeds. Thanks for posting!


“If you build it, they will come.”

Offline

#34 2005-04-23 23:18:57

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

This slightly-modified version has better error reporting.

Offline

#35 2005-07-12 06:41:45

RHD
Member
From: mid-Atlantic US
Registered: 2004-11-09
Posts: 29
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

tcm_rss isn’t working for me under RC3 rev. 480ish. I’m afraid I’m the only one who misses it. I get this error message:

Fatal error: tcm_rss(): Failed opening required ‘/textpattern/lib/rss_fetch.inc’ (include_path=’.:/usr/local/lib/php’) in /textpattern/lib/txplib_misc.php(379) : eval()’d code on line 4

My production status is set to “live.” This seems related to the more aggressive error reporting of rev. 463+, but I thought even that was supposed to be suppressed when my status is set to “live.”

Anyone have any ideas? Other ways to display another site’s RSS feed on my page?

Edited for formatting.

Last edited by RHD (2005-07-12 06:47:25)

Offline

#36 2005-07-13 05:40:10

RHD
Member
From: mid-Atlantic US
Registered: 2004-11-09
Posts: 29
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

Not surprisingly, my problem was my own doing. In upgrading my TXP installation, I trashed my old /textpattern directory, which, of course, trashed the .inc files tcm_rss requires to be in the /textpattern/lib directory.

So I put ‘em back, and it works like it used to (very well).

Thought I’d follow-up here in case anyone else makes the same dumb mistake.

Offline

#37 2005-07-13 16:35:59

paularms
Member
From: University of Minnesota
Registered: 2004-10-21
Posts: 155
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

Does anyone have a mirror of this plugin?

Offline

#38 2005-07-13 21:11:58

RHD
Member
From: mid-Atlantic US
Registered: 2004-11-09
Posts: 29
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

-I have the ZIP of version 2.0a here

No longer. See this post.

Last edited by RHD (2005-08-30 05:10:44)

Offline

#39 2005-07-13 21:44:21

paularms
Member
From: University of Minnesota
Registered: 2004-10-21
Posts: 155
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

RSS Digest appears to work a lot better and you can use any formatting that you would like. I’ll stick with that one.

Offline

#40 2005-08-14 14:02:40

loid
Member
Registered: 2005-03-09
Posts: 38

Re: [archived] tcm_rss - RSS feeds with any formatting

Actually, RHD, it’s not. But it would be terrific if you could put it up there.

Gratefully, Loid

Offline

#41 2005-08-15 17:12:07

RHD
Member
From: mid-Atlantic US
Registered: 2004-11-09
Posts: 29
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

Poop. I’ll put it back when I get home tonight.

Edit: And so I have. -You can get it here

Edit2: See here.

Last edited by RHD (2005-08-30 05:11:59)

Offline

#42 2005-08-17 04:38:32

nfo
New Member
From: Vancouver
Registered: 2005-07-29
Posts: 7
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

Anyone figure out how to limit the feed to say 5 articles?
del.icio.us tosses 31 links down my sidebar.

Offline

#43 2005-08-17 07:30:38

RHD
Member
From: mid-Atlantic US
Registered: 2004-11-09
Posts: 29
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

You should be able to use “limit” as an attribute. Like this:

<code><txp:tcm_rss feed=“http://foo.bar/rss” limit=“5” /></code>

Offline

#44 2005-08-18 20:44:21

nfo
New Member
From: Vancouver
Registered: 2005-07-29
Posts: 7
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

> RHD wrote:

> You should be able to use “limit” as an attribute. Like this:

> <code><txp:tcm_rss feed=“http://foo.bar/rss” limit=“5” /></code>

That doesn’t work unfortunately.

Offline

#45 2005-08-19 01:16:18

RHD
Member
From: mid-Atlantic US
Registered: 2004-11-09
Posts: 29
Website

Re: [archived] tcm_rss - RSS feeds with any formatting

Hrm. Odd. It works on mine. Which of course doesn’t mean it has to work for you, but it does mean I don’t know what else to try.

Offline

Board footer

Powered by FluxBB