Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#21 2009-04-24 14:20:48
- makss
- Plugin Author
- From: Ukraine
- Registered: 2008-10-21
- Posts: 355
- Website
Re: aks_rss : RSS parser and aggregator
merz1 wrote:
@makss I don’t undestand the code example
Compatibility with SimplePie Plugin for Textpattern. Tag <txp:feed>http://abc.com/rss.xml,http://def.com/rss2.xml</txp:feed>
<txp:feed>
does not allow multiple feeds. What do I miss regarding compatibility?
Deactivate Simplepie plugin and use <txp:feed> tag with aks_rss. :) Now <txp:feed> allow multiple feeds.
The meaning is to get in contact with the SimplePie guys and tell them about the new plug-in for Textpattern.
I will write a letter later, after bugfix and debugging plugin.
Last edited by makss (2009-04-24 14:24:53)
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
#22 2009-04-24 14:57:58
- merz1
- Member
- From: Hamburg
- Registered: 2006-05-04
- Posts: 994
- Website
Re: aks_rss : RSS parser and aggregator
Deactivate Simplepie plugin and use <txp:feed> tag with aks_rss. :) Now <txp:feed> allow multiple feeds.
Please don’t break existing sites!
That is not allowed!
A) It is not your namespace.
B) How do you handle errors if the original SimplePie plug-in is active?
C) How do you handle unsupported attributes?
Secondary:
Q: Do you support all features of the SimplePie plug-in as in “aks_rss is a 100% replacement for existing <txp:feed>
tags?”
A: Unsupported attributes from SimplePie Plugin for Textpattern: shortdesc, showtitle, alttitle, h Source: textpattern.org.ua/plugins/aks_rss
Repeat: Using <txp:feed>
with aks_rss is a bad idea as long as you don’t replace the original plug-in 100% and the original is still available.
BTW: Why textpattern.org.ua?
Last edited by merz1 (2009-04-24 15:14:59)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#23 2009-04-24 15:56:20
- merz1
- Member
- From: Hamburg
- Registered: 2006-05-04
- Posts: 994
- Website
Re: aks_rss : RSS parser and aggregator
Feature request: Import and/or subscribe to OPML files.
Possible code ‘stone pit’: sourceforge.net/projects/monkeychow/
As far as I can see it the core SimplePie code has no support for OPML.
- Import an OPML file for a 1 to n feed URLs import
- Import means a mechanism to hand over an OPML file once and aks_rss should create the multi feed attributes automagically.
- Subscribe to an OPML file URL for a dynamic 1 to n feed URLs
- Example TXP Info Sources: Textpattern RSS feeds as dynamic OPML file link / Hmmm right now the mentioned OPML URL gives me a 504 Gateway Time-out error.
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#24 2009-04-25 10:51:20
- makss
- Plugin Author
- From: Ukraine
- Registered: 2008-10-21
- Posts: 355
- Website
Re: aks_rss : RSS parser and aggregator
merz1 wrote:
Please don’t break existing sites!
That is not allowed!
A) It is not your namespace.
B) How do you handle errors if the original SimplePie plug-in is active?
C) How do you handle unsupported attributes?
a) I have 5 sites with installed Simplepie plugin. This plugin uses in articles, pages, forms… I can not remember where I use it. :)
Upgrade – simple replace plugin, all working.
b) Please upgrade plugin
aks_rss v0.1.3c
Changes:
- Change default “Load order” to lower.
- Add check function_exists(‘feed’)
c) Simple ignore it
Repeat: Using
<txp:feed>
with aks_rss is a bad idea as long as you don’t replace the original plug-in 100% and the original is still available.
May later be 100% compatible…
Last edited by makss (2016-01-16 18:20:02)
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
#25 2009-05-18 19:59:08
- molly
- Member
- From: Virginia
- Registered: 2004-08-15
- Posts: 44
- Website
Re: aks_rss : RSS parser and aggregator
I am trying to use this plugin with Google Calendar to display upcoming events at a wonderful bar/restaurant. But I can only get it to display items with their dates in the past. Is there a way to display future dates instead?
Last edited by molly (2009-05-18 20:00:17)
Offline
#26 2009-05-19 20:47:56
- makss
- Plugin Author
- From: Ukraine
- Registered: 2008-10-21
- Posts: 355
- Website
Re: aks_rss : RSS parser and aggregator
molly, please read Google Calendar API and add parameter futureevents=true to your calendar feed url.
Last edited by makss (2009-05-19 20:48:30)
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
#27 2009-05-20 15:52:14
- molly
- Member
- From: Virginia
- Registered: 2004-08-15
- Posts: 44
- Website
Re: aks_rss : RSS parser and aggregator
Thank you makss, for pointing me to this info. Thank you so much for your help.
But it’s weird, I add the parameter, and I get the same result— past events, not future entries.
This is the URL for the feed with the past entries:
http://www.google.com/calendar/feeds/grajk54aq6b70h2s548tl529r8%40group.calendar.google.com/public/basic
I changed it to this:
http://www.google.com/calendar/feeds/grajk54aq6b70h2s548tl529r8%40group.calendar.google.com/public/basic?futureevents=true
But I’m still getting the past entries.
What am I doing wrong?
Here’s my txp code:
<h3>Calendar of Events</h3>
<txp:aks_rss feed="http://www.google.com/calendar/feeds/grajk54aq6b70h2s548tl529r8%40group.calendar.google.com/public/basic?futureevents=true" wraptag="ul" limit="6">
<li <txp:aks_rssclass />><txp:permlink><txp:title /></txp:permlink> - <txp:posted format="%a, %b %e" /></li>
</txp:aks_rss>
Offline
#28 2009-07-08 14:30:11
- rathersplendid
- Plugin Author
- From: London
- Registered: 2008-05-02
- Posts: 163
- Website
Re: aks_rss : RSS parser and aggregator
I’m trying to implement this plugin and can’t seem to get it to work, I get this error message:
Fatal error: require_once() [function.require]: Failed opening required ‘/home/4681/domains/###.com/textpattern/lib/simplepie.inc’ (include_path=’.:/usr/local/php-5.2.6-1/share/pear’) in /nfs/c01/h12/mnt/4681/domains/###.com/html/textpattern/lib/txplib_misc.php(570) : eval()’d code on line 63
I have put simplepie.inc in my txp/lib folder and I am using this code on my page:
<txp:feed>http://rss.news.yahoo.com/rss/topstories</txp:feed>
I also tried:
<txp:aks_rss feed="http://gdata.youtube.com/feeds/base/videos?q=cats&start-index=1&max-results=25" wraptag="ul">
<li <txp:aks_rssclass />><txp:permlink><txp:title /></txp:permlink><br /><txp:body /><hr/>
<sub>(<txp:posted format="rfc822" />) <b><txp:aks_rsstitle /></b></sub><br /><br /></li>
</txp:aks_rss>
They’ve been copied from the aks_rss site as a test and neither work and both show the same error message
Any thoughts?
Last edited by rathersplendid (2009-07-08 18:23:23)
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline
#29 2009-07-08 17:58:49
- makss
- Plugin Author
- From: Ukraine
- Registered: 2008-10-21
- Posts: 355
- Website
Re: aks_rss : RSS parser and aggregator
rathersplendid wrote:
I’m trying to implement this plugin and can’t seem to get it to work, I get this error message:
Fatal error: require_once() [function.require]: Failed opening required ‘/home/4681/domains/jquerystyle.com/textpattern/lib/simplepie.inc’ (include_path=’.:/usr/local/php-5.2.6-1/share/pear’) in /nfs/c01/h12/mnt/4681/domains/jquerystyle.com/html/textpattern/lib/txplib_misc.php(570) : eval()’d code on line 63
Please, check simplepie.inc here:
/home/4681/domains/jquerystyle.com/textpattern/lib/simplepie.inc
and possible put simplepie.inc here:
/nfs/c01/h12/mnt/4681/domains/jquerystyle.com/html/textpattern/lib/simplepie.inc
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
#30 2009-07-08 18:46:47
- rathersplendid
- Plugin Author
- From: London
- Registered: 2008-05-02
- Posts: 163
- Website
Re: aks_rss : RSS parser and aggregator
@makss The problem is that simplepie.inc is in that folder, for some reason, textpattern think that it isn’t.
I tried hardcoding the url of the simplepie.inc in the edit plugin page to no avail.
Any more suggestions? Why would it think that they’re different?
Thank you by the way for your help
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline