Textpattern CMS support forum

You are not logged in. Register | Login | Help

#231 2011-07-20 03:25:51

ax
Member
From: Germany
Registered: 2009-08-19
Posts: 150

Re: [plugin] [ORPHAN] rss_auto_excerpt

You may want to try rvm_substr for that purpose.

Offline

#232 2012-03-31 09:59:49

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

Re: [plugin] [ORPHAN] rss_auto_excerpt

hello forum,

i’m using this plugin with 4.4.1 and it works ok apart from the wrapreadmore="1" attribute which i can’t get to work. can someone confirm that the attribute is not compatible with 4.41?

thanks, christoph

Offline

#233 2012-04-20 10:16:47

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

Re: [plugin] [ORPHAN] rss_auto_excerpt

hello forum,

i had some problems with rss_auto_excerpt in 4.4.1: the plugin didn’t limit the words/charakters etc. when retrieving from the excerpts field. i share my workaround in case someone has the same problem. one needs to tell the plugin explicitly to take the excerpt field for the body field:

<txp:rss_auto_excerpt length="350" linktext="Read more" ending=" ..." linkclass="readmore" body="excerpt" overrideexcerpt="1" />

glad if this helps someone.

Offline

#234 2012-04-20 12:47:50

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

Re: [plugin] [ORPHAN] rss_auto_excerpt

Re. ending=" ...": For a better typography you should use &hellip;
And body="excerpt" is new to me, thanks :)


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

Offline

#235 2012-04-20 12:48:59

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

Re: [plugin] [ORPHAN] rss_auto_excerpt

hi markus,

yupp, better. thanks.

Offline

#236 2012-06-26 09:39:27

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 583
Website

Re: [plugin] [ORPHAN] rss_auto_excerpt

If anybody’s still using this (of course you are)…I noticed today that this threw a PHP warning about ereg_replace being deprecated.

I edited the plugin code, found the one place where ereg_replace is used, and changed it to preg_replace. Then I put hash marks around the first parameter, but inside the quotes, like "#blah#". After saving the plugin, it still works but without the PHP warning.

Offline

#237 2013-03-22 16:47:52

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: [plugin] [ORPHAN] rss_auto_excerpt

is this plugin still available for download..?


what was that again…?

Offline

#238 2013-03-22 18:35:19

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] rss_auto_excerpt

Here is the code (v. 0.5)

YTo5OntzOjQ6Im5hbWUiO3M6MTY6InJzc19hdXRvX2V4Y2VycHQiO3M6NjoiYXV0aG9yIjtzOjk6IlJvYiBTYWJsZSI7czoxMDoiYXV0aG9yX3VyaSI7czoyNzoiaHR0cDovL3d3dy53aWxzaGlyZW9uZS5jb20vIjtzOjc6InZlcnNpb24iO3M6MzoiMC41IjtzOjExOiJkZXNjcmlwdGlvbiI7czoyNjoiQXV0b21hdGljIGFydGljbGUgZXhjZXJwdHMiO3M6NDoiaGVscCI7czo3MDUxOiIKCgk8aDE+QXV0b21hdGljIGFydGljbGUgZXhjZXJwdHM8L2gxPgoKCTxwPlRoZSA8Y29kZT5yc3NfYXV0b19leGNlcnB0PC9jb2RlPiBwbHVnaW4gYXV0b21hdGljYWxseSBkaXNwbGF5cyBhcnRpY2xlIGV4Y2VycHRzIGV2ZW4gaWYgYW4gZXhjZXJwdCBoYXMgbm90IGJlZW4gc2F2ZWQgd2l0aCBhbiBhcnRpY2xlLiAgSWYgZm9yIHNvbWUgYXJ0aWNsZXMgeW91IGhhdmUgZGVmaW5lZCBhbiBleGNlcnB0LCB5b3VyIG93biBleGNlcnB0IHdpbGwgYmUgZGlzcGxheWVkIHJhdGhlciB0aGFuIHRoZSBhdXRvLWdlbmVyYXRlZCBleGNlcnB0LiAgWW91IGNhbiBhbHNvIG92ZXJyaWRlIHRoaXMgZmVhdHVyZSBzbyB0aGF0IGFuIGF1dG8tZ2VuZXJhdGVkIGV4Y2VycHQgaXMgYWx3YXlzIGRpc3BsYXllZCBldmVuIGlmIGF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3MpXSk7IH0KCQkJCQkgZWxzZSBhcnJheV9wdXNoKCR0YWdzLCAkb3BlbmVkdGFnc1skaV0pOwoJCX0KCQkvLyR0YWdzPWFycmF5X3JldmVyc2UoJHRhZ3MpOyAvL25vdyB0aGlzIHJldmVyc2lvbiBpcyBkb25lIGFnYWluIGZvciBhIGJldHRlciBvcmRlciBvZiBjbG9zZS10YWdzCgoJCS8vcHJlcGFyZSB0aGUgY2xvc2UtdGFncyBmb3Igb3V0cHV0CgkJZm9yKCR4PTA7JHg8Y291bnQoJHRhZ3MpOyR4KyspIHsKCQkkYWRkPXN0cnRvbG93ZXIodHJpbSgkdGFnc1skeF0pKTsKCQlpZighaW5fYXJyYXkoJGFkZCwkZG9ub3RjbG9zZSkpICR0YWdzdG9jbG9zZS49JzwvJy4kYWRkLic+JzsKCQl9CgoJCS8vYW5kIGZpbmFsbHkKCQlyZXR1cm4gJHRhZ3N0b2Nsb3NlOwoJfQoiO3M6NDoidHlwZSI7czoxOiIwIjtzOjM6Im1kNSI7czozMjoiNzNlZjQwYTRiYzQwMjc1YzJmM2IxYTQ5ZTE2MGIwZjQiO30=

Offline

#239 2013-03-22 21:00:59

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: [plugin] [ORPHAN] rss_auto_excerpt

thanks!


what was that again…?

Offline

#240 2013-03-24 14:53:58

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

Re: [plugin] [ORPHAN] rss_auto_excerpt

Can somebody of the admins please update the very first post to link to an available backup of the installer?


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

Offline

Board footer

Powered by FluxBB