Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2004-06-04 21:35:50

asarbogast
Member
From: Arcata, CA
Registered: 2004-05-21
Posts: 33
Website

Re: RSS Parser/Aggregator for Textpattern

schussat wrote:

/* How to make a nice trim of text without breaking words in the middle :*/==

Thanks so much! That worked like a charm.

(Yeah, I know I misspelled “length”… I never quite got around to fixing that. Odd how, rather than fix it, I just kept spelling it incorrectly.) I hope this does the trick for you.

I kept your spelling as is, seemed like a shame to fix it…

Thanks again!

Andrea

Last edited by asarbogast (2004-06-04 21:39:02)

Offline

#14 2004-07-11 03:34:42

fncll
Member
From: Frozen North
Registered: 2004-02-25
Posts: 19
Website

Re: RSS Parser/Aggregator for Textpattern

How long does it cache the RSS between checks? This might be just what I need for something!


Dammit Jim, I’m a poet, not a programmer…
Joined the TXP Obsessed 2/25/04: http://www.chrislott.org/

Offline

#15 2004-07-20 12:29:00

Matt
Member
Registered: 2004-02-28
Posts: 92
Website

Re: RSS Parser/Aggregator for Textpattern

“I do have the same problem.
Is there anything to consider concerning the lastRSS-path?”

In an ftp client, check and see what the full path to your hosted directory is. For instance, it may be “/usr/home/youraccount/public_html/” in which case you can append “code/” or “lastrss/” or whatever directory is holding the lastRSS.php file to the path and it should work. I had the same problem until I put in the full path.

In other words, just specifying the relative path (“/code” or “/lastrss”) won’t work the way “/images” does in an HTML page.

Offline

#16 2004-07-22 21:22:09

reid
Member
From: Atlanta, Ga.
Registered: 2004-04-04
Posts: 224
Website

Re: RSS Parser/Aggregator for Textpattern

I’ve also got a question about the “cache” attribute. The example in the readme file shows cache=“120”

Am I correct that this means it will only check for a fresh RSS copy once every 120 minutes (or whatever number you use for that attribute)?


TextPattern user since 04/04/04

Offline

#17 2004-07-23 12:44:34

carol o
New Member
Registered: 2004-07-23
Posts: 2
Website

Re: RSS Parser/Aggregator for Textpattern

Actually, according to the info on LastRSS, that cache time is in seconds. So cache=“120” is actually just two minutes. I’m not sure if the plugin intended to convert minutes to seconds at all, but looking at the code, it doesn’t look like it currently does. My rudimentary testing seems to bear this out.

http://lastrss.webdot.cz/

Offline

#18 2004-07-23 14:07:22

reid
Member
From: Atlanta, Ga.
Registered: 2004-04-04
Posts: 224
Website

Re: RSS Parser/Aggregator for Textpattern

Thanks, Carol. A two minute cache is, well, hardly a cache.

I want to thank fellow Atlantan Clay for this plug-in that I somehow missed for months. I’ve put together a feed page to take advantage of it. It’s a bit slow to load at times, but it’s a nice capability to have.

And maybe we need to create ATUG: Atlanta Textpattern Users Group. Until you leave, Carol, I think there might be three of us.


TextPattern user since 04/04/04

Offline

#19 2004-08-16 01:52:41

jmrhoades
Archived Plugin Author
From: Isobe-Cho, Mie-Ken, Japan
Registered: 2004-08-04
Posts: 14
Website

Re: RSS Parser/Aggregator for Textpattern

I modified this excellent script a bit to pull in the <description> field o f a given xml feed. my problem is that the node value looks like this:

<pre><![CDATA[PARTLY CLOUDY<br>max 95&deg;, min 73&deg;<br><img src=http://www.worldweather.org/img_cartoon/pic22.gif><br>]]></pre>

my final output looks like this:
<pre>max 86, min 75]]></pre>

that CDATA part is not being parsed correctly, any pointers on getting it to work?

here’s my php:
<pre>$string .= “<p>$item[description]</p>”;</pre>

Last edited by jmrhoades (2004-08-16 01:58:54)

Offline

#20 2004-11-18 11:18:35

Kossatsch
Member
From: St. Wolfgang
Registered: 2004-04-01
Posts: 198
Website

Re: RSS Parser/Aggregator for Textpattern

I installed the script and lastRSS.php with the full path, but it does not work. Nothing at all.

Maybe it uses the cache, as it produces a kind of rss…-file in this directory.

Any other suggestion?


txp at irox.de since spring 2004 (g1.17) & at roxomatic since 2006.

Offline

#21 2006-06-02 06:43:00

jesper
Member
From: Melbourne, Oz
Registered: 2004-03-05
Posts: 18

Re: RSS Parser/Aggregator for Textpattern

Does anyone still have a copy of this plugin? It seems to have disappeared from http://clayjohnson.typepad.com//bsd_fetch_headlines.tar.gz…. I would love a copy of it.

Offline

Board footer

Powered by FluxBB