Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#136 2011-07-28 15:07:56

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 721
Website Mastodon

Re: aks_rss : RSS parser and aggregator

Nice plugin, thank you.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#137 2012-01-06 00:58:08

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: aks_rss : RSS parser and aggregator

I’m trying to upgrade from bit_rss to aks_rss and I’m just not sure how to reformulate my forms and tags. Here is what I have for bit_rss (four forms/tags):

form rss:

    <h3><txp:permlink><txp:title /></txp:permlink></h3>
    <blockquote>
        <p><txp:rss_auto_excerpt words="75" showlinkwithexcerpt="0" /></p>
        <p align="right" class="smallcaps"><em>~ <txp:posted /></em><br><txp:permlink>Go To Entry</txp:permlink> &rarr;</p>
    </blockquote>

example tag:

<txp:rah_function call="strip_tags" allowed_tags="<a><p><br><em><strong><i><b><u><h1><h2><h3><form><input><span><div><table><td><tr><th><thead><tbody><blockquote>">
		<txp:bit_rss feed="http://opalcat.livejournal.com/data/atom" limit="4" form="rss" wraptag="p" />
</txp:rah_function>

form rss_forum

    <span class="forum_title"><txp:permlink><txp:title /></txp:permlink></span>, <span class="small"><em>latest post <txp:posted /></em></span> <!--span class="smallcaps"> ~    
 <txp:permlink>Read Thread</txp:permlink> &rarr;</span--><br />

example tag:

<txp:bit_rss feed="http://fff.fathom.org/forums/external.php?type=rss2" limit="10" form="rss_forum" />

form rss_gallery

    <td width="33%"><h3><txp:permlink><txp:title /></txp:permlink></h3>
    <p><txp:rss_auto_excerpt words="75" showlinkwithexcerpt="0" /></p>
    <p class="smallcaps"><txp:permlink>View Album</txp:permlink> &rarr;</p></td>

example tag:

<txp:rah_function call="html_entity_decode">
		<txp:bit_rss feed="http://gallery2.opalcat.com/gallery2/main.php?g2_view=rss.Render&g2_name=OpalCat%27s+Gallery+Feed" limit="3" form="rss_gallery" cache_dir="/home2/juggler1/public_html/opalcat/textpattern/cache/" />
</txp:rah_function>

form rss_googleplus

    <a href="https://plus.google.com/109656880045202933892/about"><img src="/images/243.jpg" width="30" height="30" alt="Google+ Profile" title="Google+ Profile" align="left" vspace="5" hspace="5" border="0" /></a><span class="forum_title"><txp:permlink><txp:title />...</txp:permlink></span> 
    <span class="small"><em>Posted <txp:posted /></em></span> <!--span class="smallcaps"> ~ <txp:permlink>Go to entry</txp:permlink> &rarr;</span--><br clear="all"/>

example tag:

<txp:bit_rss feed="http://gplusrss.com/rss/feed/5058dfd7e29c9972330215aecdbc2dc94f75300918013" limit="3"  form="rss_googleplus"  />

Can someone show me how to get the same results with aks_rss?

Last edited by WebKat (2012-03-30 17:22:02)



WebKat

Offline

#138 2012-03-30 17:13:22

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: aks_rss : RSS parser and aggregator

I don’t have a lot of cash these days (who does?) but I can shell out $20 to someone who can port over my bit_rss stuff (4 form templates, basically, and making sure I have the right tag to call the feed on my page template) to aks_rss, including updating SimplePie if it needs it… my current one says:

// SimplePie Info
	var $name = 'SimplePie';
	var $version = '1.0 b3.2';
	var $build = '20061124';

Alternately, I can trade with you for this, either your choice of 6 tubes of handmade lip balm from my site here: Opal Essence All Natural or I can trade you a fine art print of one of my paintings or photograms from my Specials page here (the first one listed, the 18” × 12.5” one, is excempted… all the others are available for trade).

Normally I’d just slog through and try to figure it out on my own, but you would not believe the number of projects I have going right now—I am way too busy to figure this out. Anyone game?



WebKat

Offline

#139 2013-02-13 15:27:12

madzzoni
Member
From: Grünberg/Hessen/DE
Registered: 2013-01-22
Posts: 38

Re: aks_rss : RSS parser and aggregator

Hello there.

I have just installed the aks_rss plugin, but i got these Error’s in the Admin-panel when try to activate:

get_off_my_lawn: plugin, switch_status

Do i need to install anything else here?


<TXP:n00b />

Offline

#140 2013-02-13 17:35:54

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,316

Re: aks_rss : RSS parser and aggregator

Please have a look whether anything from this topic can help you, e.g. emptying the cache.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#141 2013-02-14 16:53:06

libero
New Member
Registered: 2008-01-22
Posts: 4

Re: aks_rss : RSS parser and aggregator

Is there any way of parsing an rss feed so each item in the feed is assigned to separate article?

Right now the only way is to isert a whole feed in one single article (or form etc.)

Offline

#142 2013-02-16 10:28:40

etc
Developer
Registered: 2010-11-11
Posts: 5,672
Website GitHub

Re: aks_rss : RSS parser and aggregator

libero wrote:

Is there any way of parsing an rss feed so each item in the feed is assigned to separate article?

I don’t think there is an easy way to “fake” full-featured articles, you will need to save the feeds in your textpattern table (smd_query plugin can help). But if you only want to show one feed (disguised as article) by page, that’s feasible, just create an appropriate individual article form.

Offline

#143 2013-02-17 04:26:01

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: aks_rss : RSS parser and aggregator

Yes – I remember seeing it in an example with smd_xml here

Offline

#144 2013-02-17 07:18:28

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

Re: aks_rss : RSS parser and aggregator

libero wrote:

Is there any way of parsing an rss feed so each item in the feed is assigned to separate article?

Be warned: It might get messy and the plug-in is not supported!

Look for plug-in asv_tumblelog. I used asv_tumblelog to import del.icio.us bookmarks as single articles which worked perfectly well.

Try asv_tumblelog 1st (!) in a fresh TXP installation to see if you can achieve what you want.
Only then reproduce/install in your normal TXP site.


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

Offline

#145 2015-02-19 19:03:54

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: aks_rss : RSS parser and aggregator

Looks like the plugin (or simplepie) gives an error on the latest txp installation:

Fatal error: require_once(): Failed opening required '/.../httpdocs/textpattern/lib/simplepie.inc' (include_path='.:') in /.../httpdocs/textpattern/lib/txplib_misc.php(812) : eval()'d code on line 99

Anybody has the same or knows a solution?


Regards,

Joey

Offline

#146 2015-02-20 13:21:52

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: aks_rss : RSS parser and aggregator

It would help to know what is on line 99 of that file

Offline

#147 2015-02-21 08:26:41

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: aks_rss : RSS parser and aggregator

Found the problem. Turned out that I removed the simplepie.inc file on updating txp. Stupid :)


Regards,

Joey

Offline

Board footer

Powered by FluxBB