Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#121 2008-06-21 16:49:31
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,311
Re: [plugin] [ORPHAN] rss_auto_excerpt
Something tells tells me you’ll know how to empty browser cache, right? Have you thought of it? Tried another manufacturer’s browser?
If you have built the site, you’ll know whether you’ve used some caching technique like asy_jpcache. If not, look via ftp for the existence of the jpcache/cache directory, empty it, and revisit the site.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#122 2008-06-21 20:00:28
- paulyoung
- Member
- Registered: 2008-06-21
- Posts: 10
Re: [plugin] [ORPHAN] rss_auto_excerpt
Yes I always empty browser cache/clear private data-> cache etc when developing websites to make sure I’m getting a true representation of any changes I’ve made.
I built the site and didn’t use any caching techniques
Offline
#123 2008-06-21 20:37:55
- paulyoung
- Member
- Registered: 2008-06-21
- Posts: 10
Re: [plugin] [ORPHAN] rss_auto_excerpt
I have tried wraptag="span"
since in theory in my first example that would give:
<p> This is text from the article body <span /> </p>
But it has no effect:
<p> This is text from the article body <p /> </p>
Offline
#124 2008-06-21 22:54:03
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] rss_auto_excerpt
Maybe it’s the combination of striptags
and stripbreakstabs
? I don’t think you’re supposed to use both.
Offline
#125 2008-08-01 04:41:15
Re: [plugin] [ORPHAN] rss_auto_excerpt
jakob wrote:
If you want
striptags="1"
to also strip tags from real excerpts, add the line marked below to the plug-in code just after the if there’s a real excerpt use it bit (around line 34):
// if the article has an excerpt, show it
if ($excerpt != '' && !$overrideexcerpt) {
// add this line here:
$excerpt = ($striptags) ? strip_tags($excerpt) : $excerpt;
This is exactly what I needed! I’m using an excerpt for the title attribute of a link:
<a href="<txp:permlink />" title="<txp:title />:<txp:chh_if_data> <txp:keywords /> /</txp:chh_if_data> <txp:rss_auto_excerpt striptags="1" showlinkwithexcerpt="0" />"><h4><txp:title /></h4></a>
But for articles with a predefined excerpt, the markup got broken. Adding this line to the plugin worked like a charm. Thanks!
Offline
#126 2008-08-07 11:30:30
Re: [plugin] [ORPHAN] rss_auto_excerpt
Bug? Just seeing that striptags=1 is counting the letters before the tags are stripped.
Odd: Having an image plus link at the very beginning of an article makes the text disappear. Hmpf…
Is this new in Textpatern 4.0.6 somehow? I am using rss_auto_excerpt since very long and can’t remember seeing this behavior before.
Expected: Strip the tags and afterwards count the remaining letters.
Actual code used:
<txp:rss_auto_excerpt length="550" linktext="Mehr …" ending="…" overrideexcerpt="1" striptags="1" linkwraptag="strong" excerptwraptag="p" />
I think I will have to toggle overrideexcerpt=“1” to “0”.
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#127 2008-08-24 16:00:36
- Kuo
- Member
- Registered: 2008-03-14
- Posts: 44
Re: [plugin] [ORPHAN] rss_auto_excerpt
I have a little problem.
I have <txp:article limit=“7” searchsticky=“1” listform=“excerpt” /> in main page. Into the form “excerpt” i put this:
</code>
<div class=“excerpt”>
<h3><txp:permlink><txp:title /></txp:permlink></h3>
<txp:if_excerpt>
<txp:excerpt />
<txp:else />
<txp:rss_auto_excerpt length=“500” showlinkwithexcerpt=“0” />
</txp:if_excerpt>
<p class=“foot_article”><span class=“posted”><txp:text item=“Publicado por Kuo”/> <txp:posted /></span>| <span class=“comment”><txp:comments_invite showcount=“1” textonly=“0” /></span></p>
</div><!—/excerpt—></code>
<code>rss_auto_excerpt</code> didn`t send me an automatical displays article excerpts. It`s only send “Keep reading”.
Can someboy help me with this?
Offline
#128 2008-08-24 17:36:03
Re: [plugin] [ORPHAN] rss_auto_excerpt
Beside the closing </code>
at the beginning I see no error.
[OT] To post code with textile pls. use:
@code@
bc. code
bc.. code with paragrahs
[OT II.] Hmpf
textile has problems to render @@@ or @@code@@
Last edited by merz1 (2008-08-24 17:40:13)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#129 2008-08-24 20:59:45
- Kuo
- Member
- Registered: 2008-03-14
- Posts: 44
Re: [plugin] [ORPHAN] rss_auto_excerpt
Pardon me. The beginning must be <code>. Code with textile? I don`t understand…
See my site, article excerpt don`t appear…http://www.tintamojada.net
Offline
#130 2008-08-25 09:21:50
Re: [plugin] [ORPHAN] rss_auto_excerpt
Hi Kuo. The plug-in has the ability “built-in” to show a “normal” excerpt if one exists so it maybe that your <txp:if_excerpt>
tag is somehow confusing it. Try removing those tags and just use the plug-in tag. If that still doesn’t work properly try adding the attribute overrideexcerpt="0"
to the plug-in tag though it should be set to “0” by default.
Last edited by thebombsite (2008-08-25 09:22:39)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#131 2008-08-25 09:21:53
Re: [plugin] [ORPHAN] rss_auto_excerpt
Code with textile? I don`t understand…
If you post code here in the forum you should use textile code formatting.
And OT = Off Topic because not related to forum thread or your question.
<div class=“excerpt”>
Please change all your double quote signs “”
in the HTML and TXP tags to standard double quotes "
!
<div class="excerpt">
Last edited by merz1 (2008-08-25 09:22:29)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#132 2008-08-25 17:07:30
- Kuo
- Member
- Registered: 2008-03-14
- Posts: 44
Re: [plugin] [ORPHAN] rss_auto_excerpt
Oh, i had did it but main page get blank. See http://www.tintamojada.net ( I change now “” by “ “)… something must be wrong…
Offline