Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#157 2009-08-31 14:24:26

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: [plugin] [ORPHAN] rss_auto_excerpt

Is anybody else experiencing strange behavior with this plugin under Textpattern 4.2.0? I noticed that some of my excerpts are way longer than specified in the tag— for instance:

This…

<txp:rss_auto_excerpt striptags="1" sentences="3" showlinkwithexcerpt="0"/>

…gives me a three paragraph excerpt. Formerly, I set it to paragraphs="1" and got the entire article as the excerpt. Something is amiss.

This behavior may be triggered with striptags="1"— this, code works as in every ealier version of Textpattern:

<txp:rss_auto_excerpt paragraphs="1"/>

One paragraph, no fuss.

Offline

#158 2009-09-01 14:21:09

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: [plugin] [ORPHAN] rss_auto_excerpt

@johnstephens I’m having the same problem, truncation is not happening.

Maybe it’s me — not used this plugin before.

I am on the 4.0.8 branch from Gerhard Lazu (glz_custom_fields).


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#159 2009-09-01 14:29:12

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: [plugin] [ORPHAN] rss_auto_excerpt

Woo! I guess I’m not crazy then. I never noticed any problems with this plugin under 4.0.8, but I wasn’t using Gerhard’s fork.

I wonder if anyone will adopt this very useful plugin?

Offline

#160 2009-09-01 16:37:36

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] rss_auto_excerpt

johnstephens wrote:

Is anybody else experiencing strange behavior with this plugin under Textpattern 4.2.0?

Yes, me too, but are you sure it wasn’t happening before 4.2.0?

This behavior may be triggered with striptags="1"

I am using paragraphs="2" with striptags="0", so there were no problems. When I change the striptags value to 1, the entire article is displayed. But now that I think about it, if the paragraph tags are stripped, how can the plugin recognise (and count) the paragraphs?
In another place I’m using words="30" striptags="1", no problem there.

Offline

#161 2009-11-19 10:28:52

sams101
Member
Registered: 2009-11-09
Posts: 23

Re: [plugin] [ORPHAN] rss_auto_excerpt

Hi there,

The plugin is working fine. Just having a little issue working out how to place the ‘Read more’ link into the same line as the excerpt. I know there has been an addition to the plugin for this (wrapreadmore), however I’m a little confused as to how to use this. Have tried a few variations, but no luck. Also, as the wilshereone site seems to be down right now, i’m wondering if I have the latest version of the plugin it says 0.5 but there is no wrapreadmore tag in the help file).

Here is my code is it stands right now:

<txp:if_article_category name="blog">
<h4><txp:permlink class="caller"><txp:title /></txp:permlink></h4>
<txp:rss_auto_excerpt length="340" showlinkwithexcerpt="0" wrapreadmore="1" ending="..." linkwraptag="span" />
<txp:permlink>Read more</txp:permlink>
</txp:if_article_category>

Any feedback on this will be really appreciated,

Offline

#162 2009-11-19 15:57:30

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

Re: [plugin] [ORPHAN] rss_auto_excerpt

OK, here my code for the article list on the homepage:

<txp:rss_auto_excerpt length="550" showlinkwithexcerpt="0" linktext="Mehr &hellip;" ending="&hellip;" overrideexcerpt="1" striptags="1" linkwraptag="strong" excerptwraptag="p" />

Parameter showlinkwithexcerpt="0" is responsible for not showing the link at the end of the paragraph. I used to show the link and this is why all the necessary arguments are still in the form.

From the help:

showlinkwithexcerpt
Determines whether the permlink to the article will be shown when the automatic excerpt is displayed. Default value: 1
Alternative: showlinkwithexcerpt=“0”

And yes, AFAIK 0.5 is the latest version.

Last edited by merz1 (2009-11-19 15:57:47)


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

Offline

#163 2009-11-19 23:25:32

sams101
Member
Registered: 2009-11-09
Posts: 23

Re: [plugin] [ORPHAN] rss_auto_excerpt

Markus, first of all, thanks for the response, you have been most helpful on these forums!

The problem I was having was that I was specifying my own link tag instead of using ‘linktext’. So thanks for looking into that.
Just wondering how i set the style on the perm link now? As due to it being part of the rss_auto_excerpt I seem to be having trouble styling it. Looks like it should be ‘link class’ doesn’t seem to be working for me.

Working with this at the moment:

<h4><txp:permlink class="ptext"><txp:title /></txp:permlink></h4>
<txp:rss_auto_excerpt length="256" showlinkwithexcerpt="1" linktext="Read more" ending="..." overrideexcerpt="1" striptags="1" excerptwraptag="p" wrapreadmore="1" linkwraptag="span" linkclass="ptext" />

http://hellosam.co.uk/textpattern/

Sam

Last edited by sams101 (2009-11-19 23:34:04)

Offline

#164 2009-11-19 23:44:52

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] rss_auto_excerpt

sams101 wrote:

Looks like it should be ‘link class’ doesn’t seem to be working for me.

Note that this doesn’t add a class to the <a> tag, but wraps a <span class="ptext"> around it. So don’t style a.ptext, but .ptext a.

Last edited by els (2009-11-19 23:45:54)

Offline

#165 2009-11-20 11:01:06

sams101
Member
Registered: 2009-11-09
Posts: 23

Re: [plugin] [ORPHAN] rss_auto_excerpt

aha, that’s what happens when I stare at tags for days, cheers Els. Sorted.

Offline

#166 2009-11-23 23:27:57

Kossatsch
Member
From: St. Wolfgang
Registered: 2004-04-01
Posts: 198
Website

Re: [plugin] [ORPHAN] rss_auto_excerpt

The website seems to be down, at least in the last weeks. Anyone can provide me with version 0.5 of this wonderful plug-in?

Thanks in advance.

Best regards

Torsten


txp at irox.de since spring 2004 (g1.17) & at roxomatic since 2006.

Offline

#167 2009-11-24 00:25:54

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

Re: [plugin] [ORPHAN] rss_auto_excerpt

I sent you the code via your email link.
To my big surprise I don’t have a backup (that’s how professional do it).
Not sure where to get the text.

HELP :)


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

Offline

#168 2009-11-24 00:34:23

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: [plugin] [ORPHAN] rss_auto_excerpt

Markus – fwiw – I use ied_plugin_composer when I need to save a copy of the text version.

Moderators: Since this is an orphaned plugin, and since the site is down . . . is it appropriate to post it here? If not, I’ll edit to remove. Thanks, Mike.

# Name: rss_auto_excerpt v0.5 (compressed)
# Type: Client side plugin
# Automatic article excerpts
# Author: Rob Sable
# URL: http://www.wilshireone.com/
# Recommended load order: 5

# .....................................................................
# This is a plugin for Textpattern - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................

H4sIAAAAAAAAA71a+XMaRxb+2for2pg1sEEzgGQ5AUTKm609k6pU4tTWrq1SNUwDsx5mpqZn
jJTjf9/vve6eg8NCjr0qFTB9vPf1u1+DHA+H41/0+HLciuVGtSZ6PLwatzKtb2WRJ7fqbqGy
NKdxDGNonWT08NW49UMyFz/KeWQ2DdzsbZGFNDJ6OW6t8zwd+/52u/W2YaTXYaaSWHmLZOPT
Eqx4rzIdJjE9XYxbA+8FExuOW4HSiyxMczs5AvdXALSRebgQMsNrpIRFp2kFTrBIAgZz+fJy
NG6dPVkW8YIIiN3jdNsyz3VP/HL25MkqSuYyEu18HWpLd3KGcXWXZ3KRd6NXWNqVWSbvuxh+
0onC+N02k2kuVx1xPROdtNMvJxaR1NoM10YjOVfR3mgOFmbwn0ql4gclgzBeeZ5n11iwDV5u
u4pX+ZqHBmZkm2SBrg9oFecqXqjGYCozuQK9dXPpuzDdp0ij+1QxeJAyTRymrmI6loFfHU6v
ky1LMszX8yS4b9CqzVkh8PTQTCcwmiwMVH3K7czJZuRK7w3OMyXf6VzOG1MkW0wEmyRTDcw1
0uWDmSrBmk802Osbe+qx4bTtenEtwHjTrVvWGzd5g7VYSiQOr6OZG0PQ90W4FBBFafdrqYWM
nfn3BQlMhDnWYmG3BPD0GgYjnj8XT9s7MjOm/6RNTqHugKDcZK2tJ74WeOtCpVqVkzjozjIv
FmOxs8iLJzXiHhE/oFHiECSvwaNduojwRKqyDT1bj+v1Rdv5CrjXfM88sL/1gKHVYqaZyoss
FpY3Df12VhM0kDgLIf78cE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