[Radiant] How can i extract part from page for auto teaser making?
Hello there, how can i use custom number of words/letters for generating teasers for articles? Is there are extension for it? I only found Summarize extension, but this is not what i want for my clients. I want simplest solution, which will cut first paragraph or first n letters. Thanks. -- Dmitry Belitsky http://belitsky.info ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] How can i extract part from page for auto teaser making?
Dmitry Belitsky said the following on 01/15/2010 06:56 AM: Hello there, how can i use custom number of words/letters for generating teasers for articles? Is there are extension for it? I only found Summarize extension, but this is not what i want for my clients. I want simplest solution, which will cut first paragraph or first n letters. Thanks. In many types of blog software there is a mechanism whereby you can has the long list of postings, or at least the 'first paragraph', each with a read more... tab at the end. In some, you do this by inserting a marker at that point. In my Radiant based blog I achieve the same thing by use of page-parts. What you call the teaser I have as the main page part. If you just visit the base you get the list of these 'first paragraphs'. If you click though you get the whole article, which is in additional page-parts. Of course you could equally well have a page part called 'teaser'. I can imagine a RSS service that ignores the real body but serves up the 'teaser'. Of course in that case you'd have to redundantly fill in the 'teaser' page part, which is why I refer my approach. DRY. Of course this depends whether or not you want to 'extract'. I think my approach offers more control and less redundancy, but then I'm bigoted about it since its my idea :-) To be honest, the Layouts I use make extensive use of page parts and inheritance, as I mentioned in an earlier posting about constructing a sidebar. -- The government who robs Peter to pay Paul can always depend on the support of Paul. -- George Bernard Shaw ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] How can i extract part from page for auto teaser making?
Have you tried the truncate extension? http://github.com/astashov/radiant-truncate-extension 2010/1/15 Dmitry Belitsky dmitry.belit...@gmail.com Hello there, how can i use custom number of words/letters for generating teasers for articles? Is there are extension for it? I only found Summarize extension, but this is not what i want for my clients. I want simplest solution, which will cut first paragraph or first n letters. Thanks. -- Dmitry Belitsky http://belitsky.info ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] How can i extract part from page for auto teaser making?
Thanks, looks like it is exactly what i need. Right now I'm using page part for this, but this is not the best solution for obvious users. On Jan 15, 2010, at 3:39 PM, subsor...@gmail.com wrote: Have you tried the truncate extension? http://github.com/astashov/radiant-truncate-extension 2010/1/15 Dmitry Belitsky dmitry.belit...@gmail.com Hello there, how can i use custom number of words/letters for generating teasers for articles? Is there are extension for it? I only found Summarize extension, but this is not what i want for my clients. I want simplest solution, which will cut first paragraph or first n letters. Thanks. -- Dmitry Belitsky http://belitsky.info ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant -- With optimism, Dmitry Belitsky http://belitsky.info ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant