Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2009-04-22 16:28:45

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

Re: aks_rss : RSS parser and aggregator

aks_rss Version 0.1.3 :-)

New:

  • Compatibility with SimplePie Plugin for Textpattern. Tag <txp:feed>http://abc.com/rss.xml,http://def.com/rss2.xml</txp:feed>
  • Add css class for each feed <txp:aks_rssclass />
  • Add attributes wraptag, id, class

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

#14 2009-04-22 16:39:05

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

Re: aks_rss : RSS parser and aggregator

I was just about to download 0.1.2, but I’ll go with 0.1.3. instead :-)
Thanks for all your work! I noticed you included wraptag after all, if so, I think it would make sense to include the break attribute as well so that wraptag="ul" & break="li can be used…

Thanks again.

Last edited by JanDW (2009-04-22 16:45:03)


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

#15 2009-04-22 18:19:39

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

Re: aks_rss : RSS parser and aggregator

Hey Makks,

I’m pulling in a tumblr rss feed which has youtube videos in it, but instead of embedding the video it shows the code as follows:

<object width="400" height="336">><param name="movie" value="http://www.youtube.com/v/wE8aA3gysN0&rel=0&egm=0&showinfo=0&fs=1">></param><param name="wmode" value="transparent">></param><param name="allowFullScreen" value="true">></param><embed src="http://www.youtube.com/v/wE8aA3gysN0&rel=0&egm=0&showinfo=0&fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent">></embed></object>

this code has a li as a parent. I notice that there are some double delimiters << >>, could they be causing the problem??

Last edited by JanDW (2009-04-22 18:21:54)


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

#16 2009-04-22 19:15:28

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

Re: aks_rss : RSS parser and aggregator

JanDW wrote:

I’m pulling in a tumblr rss feed which has youtube videos in it, but instead of embedding the video it shows the code as follows:

please, give me url link your feed.


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

#17 2009-04-22 21:48:33

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

Re: aks_rss : RSS parser and aggregator

Sorry for the wait; somehow I didn’t get notified by email I overlooked it

http://tumble.jandewilde.org/rss

Last edited by JanDW (2009-04-22 21:50:30)


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

#18 2009-04-22 22:40:32

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

Re: aks_rss : RSS parser and aggregator

Simple set attribute strip_html='false'

Sample:

==<txp:aks_rss feed="http://tumble.jandewilde.org/rss" wraptag="ul" strip_html='false'>
<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>==

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

#19 2009-04-22 23:25:17

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

Re: aks_rss : RSS parser and aggregator

Nice!


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

#20 2009-04-24 13:34:56

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

Re: aks_rss : RSS parser and aggregator

@merz: what do you mean by promote and where is it to be done exactly?

The meaning is to get in contact with the SimplePie guys and tell them about the new plug-in for Textpattern.

@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?


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

Offline

#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

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

Board footer

Powered by FluxBB