Textpattern Forum

You are not logged in. Register | Login | Help

#61 2010-03-07 14:11:53

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: aks_rss : RSS parser and aggregator

laptophobo is referring to this thread where you can see the history of his issue.

I am still using the ‘standard’ SimplePie plug-in so I can’t help.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#62 2010-03-09 01:59:08

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: aks_rss : RSS parser and aggregator

Hi Jan,

Now that I’ve loaded the simplepie.inc file (I had removed it for some reason), I no longer get the error message but this message “No feed items.” (on the top of the page, this message appears: “file_get_contents could not read the file”)

Following the example of another posting, I’m using this plug:

<txp:aks_rss>“http://abc.com/rss.xml”</txp:aks_rss>

I also tried: <txp:feed>“http://abc.com/rss.xml”</txp:feed>

(with and without quotes around the URL too)

Could it be a bad URL? That part confuses me a bit. When I go to a site with the RSS button, I click it and then get other buttons with subscribe info. The url on the page might be: http://www.feedzilla.com/rss/health/hiv-aids but it won’t play either.

I suppose I’m doing something fundamentally wrong?

Thanks again…

Last edited by laptophobo (2010-03-09 04:02:06)


Living the Location-Independent Life: www.NuNomad.com

Offline

#63 2010-03-09 10:52:11

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: aks_rss : RSS parser and aggregator

<txp:feed>http://www.feedzilla.com/rss/health/hiv-aids</txp:feed>

should work. You don’t have to use qoutes and esp. not curly quotes :)

That’s the way I use it eg on sankt-georg.info – don’t panic with the SimplePie plug-in.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#64 2010-03-10 01:03:29

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: aks_rss : RSS parser and aggregator

It works! I’m wondering what I did different. Anyway, thanks for your time on this matter. I do see the problem though with using just the <txp:feed> option. From what you’ve written, it appears that you recommend the Simple Pie plug-in over the aks_rss plug-in (or do they work together somehow?) I’ll retrace this thread to see if I can learn how to configure either of these plug-ins.


Living the Location-Independent Life: www.NuNomad.com

Offline

#65 2010-03-10 02:07:16

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: aks_rss : RSS parser and aggregator

Well, SimplePie not working for me yet.

Here are the steps I’ve taken so far:

Went to installation page at: http://simplepie.org/wiki/plugins/textpattern/simplepie_plugin_for_textpattern.

Downloaded the “package”: http://simplepie.org/downloads/ and the “plug-in”: simplepie_textpattern_1.2.2.zip.

Copied the simplepie.inc file to my Textpattern lib folder.

Created a new folder in the lib folder called: simplepie_cache (full permissions granted since I’m working from local host.) This folder is empty.

Uploaded and activated the SimplePie plug-in.

My article tag is: <txp:feed>http://www.feedzilla.com/rss/health</txp:feed> (which works when SimplePie plug-in is turned off).

The result is that the feed data shows, but on the top of the page I get a series of error messages: “A problem occured while loading the plugin: SimplePie Plugin -> : Assigning the return value of new by reference is deprecated on line 1656”

Any ideas out there? Thanks much!

Last edited by laptophobo (2010-03-10 02:08:26)


Living the Location-Independent Life: www.NuNomad.com

Offline

#66 2010-03-10 02:48:24

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: aks_rss : RSS parser and aggregator

Hey laptophobo – You said it worked first, what happened in the meanwhile?

I’ve only used the aks_rss plugin, so I’ve never used the simplepie plugin Markus mentions. So if you want to continue with the simplepie plugin, you’ll have to take his advice.

If you decide to use aks_rss: this plugin is dependent on the simplepie script. Aks_rss comes bundled with a slightly older version of simplepie, but a newer version shouldn’t really pose a problem. So you can probably leave the version you have in place.

As a test, do you get this to work?

<txp:aks_rss limit="1" feed="http://www.rssweather.com/wx/us/ri/providence/rss.php"><txp:body /></txp:aks_rss>

PS netbookhobo would make more sense to me


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#67 2010-03-10 03:19:20

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: aks_rss : RSS parser and aggregator

Sorry Jan, I should have clarified myself better. Yes, my tag worked but I had to turn off the SimplePie plug-in or I’d get the error message. And, your article tag example works as well. But (there’s always a “but”, huh) if I change your limit value to “5” the list comes out without line breaks.


Living the Location-Independent Life: www.NuNomad.com

Offline

#68 2010-03-10 04:29:07

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: aks_rss : RSS parser and aggregator

No worries – If you’re going use aks_rss there is no need to use the simplepie plugin , so you can disable/uninstall it. However the simplepie script needs to remain in place. In order to get line-breaks you’ll need to insert them into the contained code.

Like this:

<txp:aks_rss limit="1" feed="http://www.rssweather.com/wx/us/ri/providence/rss.php"><txp:body /><br /></txp:aks_rss>

However, instead of line-breaks, an unordered list would be better more appropriate. Since aks_rss doesn’t support the wraptag and break attributes, you’ll have to do something like this:

<ul>
<txp:aks_rss feed="http://www.feedzilla.com/rss/health" limit="5">
<li><txp:body /></li>
</txp:aks_rss>
</ul>

You’ll probably want to style te results further with CSS

I’m out of here for the day – good luck with it.


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#69 2010-03-10 04:49:34

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: aks_rss : RSS parser and aggregator

Thanks for that option. I was able to modify the list using a form tag. Thanks again for everything. I think I’m good now.


Living the Location-Independent Life: www.NuNomad.com

Offline

#70 2010-03-10 12:30:17

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 248
Website

Re: aks_rss : RSS parser and aggregator

aks_rss v0.1.6

Changes:

  • Add/fix attributes wraptag, break
  • Add attributes showtitle, alttitle, h
  • Add predefined form – attribute simpleform

simpleform (optional) – Predefined form. Now support only two predefined form: title, body

Some examples:

==<txp:aks_rss simpleform="title" showtitle="1"  limit="2" feed="http://forum.textpattern.com/extern.php?type=RSS&action=active&fid=79" />==

or

==<txp:aks_rss  wraptag="ul" break="li" showtitle="1" limit="2" feed="http://forum.textpattern.com/extern.php?type=RSS&action=active&fid=79">
<txp:permlink><txp:title /></txp:permlink></txp:aks_rss>==

Generate code:

<h3><a href="http://forum.textpattern.com/" target='_blank'>Textpattern CMS Support Forum</a></h3><ul>
	<li><a href="http://forum.textpattern.com/viewtopic.php?id=30263&amp;action=new" target="_blank">aks_rss : RSS parser and aggregator</a></li>
	<li><a href="http://forum.textpattern.com/viewtopic.php?id=32447&amp;action=new" target="_blank">arc_twitter</a></li>
</ul>

Last edited by makss (2010-03-10 12:32:42)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_meta | aks_header : Compress your pages on the fly

Offline

Board footer

Powered by FluxBB