Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] rss_auto_excerpt
Does anyone have any other solutions for PREV and NEXT links for the plugin?
I read the solution above, but its not working correctly.
my code is thus:
<code>
<txp:if_category>
<txp:rss_unlimited_categories_article_list section=“blog” form=“blog-list” />
<txp:else />
<txp:if_individual_article>
<txp:article_custom section=“sermons” status=“live” form=“blog” limit=“1” />
<txp:else />
<txp:article_custom section=“blog” limit=“1” status=“sticky” />
<txp:article limit=“5” pageby=“5” form=“blog-list” status=“live” />
<p><txp:link_to_next>NEXT</txp:link_to_next>
<txp:link_to_prev>PREV </txp:link_to_prev></p>
</txp:if_individual_article>
</txp:if_category>
</code>
the site in question is here: liberti.artiswork.org
(which is an poorly styled page currently :)
Thanks.
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
err,
Hellooo helllo hellooo (echo effect)
Anybody getting this to work with link to next and prev with pageby attributes?
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#15 2006-10-01 08:41:22
- Jaro
- Member
- From: S/F
- Registered: 2004-11-18
- Posts: 89
Re: [plugin] [ORPHAN] rss_auto_excerpt
I would like to use this plugin to insert an excerpt of an article to the meta description tag but I have problems to install it. I get the following error:
Notice: unserialize(): Error at offset 0 of 2335 bytes in /xxxxxx/xxxx.xxxx.com/textpattern/include/txp_plugin.php on line 152
Anyone know how could I fix this?
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
Using this plugin with great pleasure, but since I re-designed myy site I noticed something that causes to break my layout. Just a little, but it’s happening.
In the source I noticed a strange looking html-tag: <code><p /></code>. I know I did not put that in a page or a form (yes, I doublechecked), so I’m guessing it’s the plugin’s fault. Am I right? And if I’m right, could somebody tell me how to get rid of the strange <code><p /></code>?
…Prrrrrrrr…
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
TNT,
its the same thing I mentioned in the last thread, you need to give the wraptag or break? an empty argument
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
ma_smith,
Got the other one working now, but this plugin doesn’t have a <code>striptag</code>. Any more suggestions here, too?
…Prrrrrrrr…
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
This is how I’m using it here
<code>
<txp:rss_auto_excerpt words=“20” linktext=”“ linkwraptag=”“ ending=”…” />
</code>
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
Ah, it was the *link*wraptag instead of the wraptag. Thanks! The crazy tag is gone now. Now I have to fix my own crooked, dodgy design to get it the way I want it… :-)
…Prrrrrrrr…
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
Feature request: Ignore content of certain HTML tags like img tags or linked images
Very often I have one or more linked Images at the beginning of my articles. I would like the plugin to ignore these links and image tags when creating an excerpt.
A pure text excerpt would be very welcome …
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
rss_auto_excerpt 0.2
Many new features including the following:
- striptags attribute to remove all HTML tags from the auto excerpt
- overrideexcerpt attribute to display auto excerpt even if one already exists for the article
- showlinkwithexcerpt attribute to allow you to turn off the automatic link when an auto excerpt is displayed
- skiplength, skipwords and skipparagraphs attributes to create “reverse” excerpts which display the article body except for the first x characters, words or paragraphs.
More details and an example of a “reverse” excerpt can be found in the plugin help.
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
Thanks!!!! This allows me to use the excerpt as the title attribute of my permalinks!!!!
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
@Rob: Great work!!!
Minor issue: Using striptags is not possible with paragraphs as no paragraphs are left after striptags. The whole article is shown.
Tag tweaking / Minor hack: If somebody wants to keep certain tags it is possible to add them to the plugin code
Strip all tags: $body = ($striptags) ? strip_tags($body) : $body;
Keep h4 tags: $body = ($striptags) ? strip_tags($body, '<h4>') : $body;
Pls. see PHP documentation for more info.
My code example for the homepage on my website:
<txp:rss_auto_excerpt length="260" linktext="Mehr ..." overrideexcerpt="1" striptags="1" linkwraptag="strong" />
Combined with the tag tweaking from above I get my leading h4 sub-headline plus two lines of text from the first paragraph.
Rob: Beautiful result. Thanks!!!
Last edited by merz1 (2006-10-30 15:30:05)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline