Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] rss_auto_excerpt
Anyone able to test for me and see if they can get the following to output properly:
<txp:rss_auto_excerpt length="1" ending="..." striptags="1" />
Thanks,
Tom
Last edited by renobird (2007-02-13 15:38:58)
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
tom,
it doesn’t work for me either.
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
Thanks Matthew…at least that means I haven’t lost my mind. : )
I guess it’ll probably take Rob troubleshooting it and releasing an update.
Offline
#52 2007-02-13 21:02:39
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: [plugin] [ORPHAN] rss_auto_excerpt
jusisan wrote:
<txp:rss_auto_excerpt skipparagraphs="1" paragraphs="9999" showlinkwithexcerpt="0" overrideexcerpt="1" />
Hey, Rob. What happens if you leave off the paragraph parameter on the second use of the tag? It’s possible that specifying a number isn’t necessary and may solve your problem.
<txp:rss_auto_excerpt skipparagraphs="1" showlinkwithexcerpt="0" overrideexcerpt="1" />
Offline
#53 2007-02-20 09:43:21
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: [plugin] [ORPHAN] rss_auto_excerpt
I’ve installed the rss_auto excerpts 0.4 on TXP 4.0.4, read the previous posts on this forum but I can’t to get it working at all.
I guess that the code to show only the first paragraph and, then, after a click on the “Read More…” to show the full article, should be put on my “article form”, shouldn’t it?
My article code is:
<h2 class="date"><txp:posted format="%A %e %B %Y" /></h2>
<div class="article">
<h3 class="title"><txp:permlink><txp:title /></txp:permlink></h3>
<div class="articletext"><txp:body /></div>
<p class="meta">
<span class="posted">Pubblicato da <em><txp:author link="n" /></em> il <txp:posted format="%e %B, %Y" /> alle <txp:posted format="%I:%M%p" /></span>
<span class="comments"><txp:comments_invite /></span>
<span class="categories"><p>
Archiviato nelle categorie: <txp:category1 link="y" title="1" this_section="0" />, <txp:category2 link="y" title="1" this_section="0" /></span><p>
</p>
</div>
Where must I put the following code?
<txp:rss_auto_excerpt paragraphs="1" showlinkwithbody=“1” linktext=“Read More...”/>
In other words I’d like to have only the title of the post and its firs paragraph and then, after clicking the “Read More…” get the full article. I know that it would be simple but all my efforts had no effects, even no error message.
Thanks in advance.
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
A simple example would be to put the following in a form
<h3 class="title"><txp:permlink><txp:title /></txp:permlink></h3>
<p><txp:rss_auto_excerpt paragraphs="1" showlinkwithbody=“1” linktext=“Read More...”/></p>
The plugin will generate a permlink on the readmore.
Last edited by renobird (2007-02-20 14:21:06)
Offline
#55 2007-02-20 21:29:57
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: [plugin] [ORPHAN] rss_auto_excerpt
Thanks renobird! A very importan step forward on my blog: the excerpts are working now! :)
But there’s a problem: the list of the articles’ excerpts work only with “article” original form. I have more that one form (“review”, for example) and the post which aren’t saved in the article form are interely shown and not cutted. How can I avoid this?
Another minor question: I’d like to have the first article of the row shown interely and all the others with the excerpts only: how can I specify this in the plugin’s parameters?
Thanks for your help!
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
But there’s a problem: the list of the articles’ excerpts work only with “article” original form. I have more that one form (“review”, for example) and the post which aren’t saved in the article form are interely shown and not cutted. How can I avoid this?
Hmm. Not sure I totally understand the first question.
Another minor question: I’d like to have the first article of the row shown interely and all the others with the excerpts only: how can I specify this in the plugin’s parameters?
Good question. I don’t think there is an “offset” attribute. That would allow you to skip the first article and call it from another form that didn’t use rss_auto_excerpt. Anyone else got any ideas?
Last edited by renobird (2007-02-20 21:38:53)
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
Wilshire,
Maybe a bug? Attempting the following:
<txp:rss_auto_excerpt length="1" ending="" striptags="1" />
This should output the first letter of the first paragraph. However, it does not produce any results.
Maybe the function that keeps it from cutting off in the middle of a word is keeping it from allowing 1 letter?
I’m trying to use it to create a drop-cap…otherwise I’d just live without it.
Thanks!
—
Tom
Offline
#58 2007-02-20 22:55:39
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: [plugin] [ORPHAN] rss_auto_excerpt
renobird wrote:
Hmm. Not sure I totally understand the first question.
Sorry for my poor English. Retry: i have one “Article” form for general issues and “Review” form for talking about books, album and so on. If I write a post about sport, I use the Article form and save it to sport section and if I write a post about a book, I use the “Review” form and save it to the culture section.
Well, from the first tries it seems that only the post saved with the original article form have excerpts. The reviews apper always as full lenght. Tomorrow I’ll give a try to find out if is my fault.
renobird wrote:
I’m trying to use it to create a drop-cap…otherwise I’d just live without it.
I saw your post about this feature: it would be great! Hope Wilshire can help you.
Offline
Re: [plugin] [ORPHAN] rss_auto_excerpt
Ah! OK. Can you post the code from the form “article” and the form “review”
I can help you troubleshoot it a bit better that way.
I saw your post about this feature: it would be great! Hope Wilshire can help you.
yeah…I hope we can get that one resolved…I’ve been trying to find an easy way to make drop caps for a while.
- )
Cheers,
Tom
Offline
#60 2007-02-21 15:06:15
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: [plugin] [ORPHAN] rss_auto_excerpt
renobird wrote:
Can you post the code from the form “article” and the form “review”
I can help you troubleshoot it a bit better that way.
Many thanks, Tom! Here they are:
Articolo:
<h2 class="date"><txp:posted format="%A %e %B %Y" /></h2>
<div class="article">
<h3 class="title"><txp:permlink><txp:title /></txp:permlink></h3>
<div class="articletext"><txp:body /></div>
<p class="meta">
<span class="posted">Pubblicato da <em><txp:author link="n" /></em> il <txp:posted format="%e %B, %Y" /> alle <txp:posted format="%I:%M%p" /></span>
<span class="comments"><txp:comments_invite /></span>
<span class="categories"><p>
Archiviato nelle categorie <txp:category1 link="y" title="1" this_section="0" /> e <txp:category2 link="y" title="1" this_section="0" />.</span><p>
</p>
</div>
Recensione:
<h2 class="date"><txp:posted format="%A %e %B %Y" /></h2>
<div class="article">
<h3 class="title"><txp:permlink><txp:title /></txp:permlink>
<img class="valutazione" src="/immagini/sito/stelle/<txp:custom_field name="Valutazione" />.gif" alt="Valutato <txp:custom_field name="Valutazione" /> stelle" /></img></h3><br>
<div class="articletext"><txp:body /></div>
<p class="meta">
<span class="posted">Pubblicato da <em><txp:author link="n" /></em> il <txp:posted format="%e %B %Y" /> alle <txp:posted format="%I:%M%p" /></span>
<span class="categories"><p>
Archiviato nelle categorie <txp:category1 link="y" title="1" this_section="0" /> e <txp:category2 link="y" title="1" this_section="0" />.</p></span>
</p>
</div>
The only difference is that in the review (Recensione) module apper some stars accordind to the rating (Valutazione) given by the author. If, according to you, is better to use only one module, I could use this method:
<txp:if_custom_field name="Valutazione" val="0"><img src="/immagini/sito/stelle/0.gif" alt="Nessuna stella su cinque" /></txp:if_custom_field>
The problem is that only the posts in the default section have excerpts, the others apper interely. I don’t know why. Hope you can help.
Thanks in advance.
Offline