# \[ANN\] Summarize Extension

**URL:** <https://www.ruby-forum.com/t/ann-summarize-extension/154070>\
**Category:** Radiant CMS\
**Created:** [November 25, 2008, 2:09am UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070 "2008-11-25T02:09:26Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 25, 2008, 2:09am UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/1 "2008-11-25T02:09:26Z")

</div>

This is my first (albeit simple) extension for RadiantCMS. The summarize  
extension provides functionality that allows you to excerpt/summarize a  
part of your page’s content. It basically allows you to create a teaser.  
The link tells the story a little better.

[http://github.com/imakethings/radiant-summarize-extension](http://github.com/imakethings/radiant-summarize-extension)

Check it out.

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 25, 2008, 3:07am UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/2 "2008-11-25T03:07:58Z")

</div>

On Mon, Nov 24, 2008 at 7:09 PM, Arik J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> This is my first (albeit simple) extension for RadiantCMS. The summarize  
> extension provides functionality that allows you to excerpt/summarize a  
> part of your page’s content. It basically allows you to create a teaser.  
> The link tells the story a little better.
> 
> [http://github.com/imakethings/radiant-summarize-extension](http://github.com/imakethings/radiant-summarize-extension)

I just finished a project that could have used this. Give me a couple of  
days and I’ll try and add it into the mix before my site goes live.

~Nate

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 25, 2008, 3:17am UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/3 "2008-11-25T03:17:26Z")

</div>

Nate T. wrote:

> On Mon, Nov 24, 2008 at 7:09 PM, Arik J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > This is my first (albeit simple) extension for RadiantCMS. The summarize  
> > extension provides functionality that allows you to excerpt/summarize a  
> > part of your page’s content. It basically allows you to create a teaser.  
> > The link tells the story a little better.
> > 
> > [http://github.com/imakethings/radiant-summarize-extension](http://github.com/imakethings/radiant-summarize-extension)
> 
> I just finished a project that could have used this. Give me a couple of  
> days and I’ll try and add it into the mix before my site goes live.
> 
> ~Nate

Feel free to let me know if works out. You can see a live example of  
this extension at my site.

[http://atinypixel.com](http://atinypixel.com)

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 26, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/4 "2008-11-26T17:31:40Z")

</div>

I’ve been doing something similar using snippets and layouts. Is there  
a fundamental difference between your version and this?

What I do now:

1. In my layout I put the following code:

2. I also have a snippet named “intro” with the following:

3. When creating a page I can create an “intro” tab and put my  
intro/teaser paragraph. I then continue the body of my page  
content in the “body” tab.

4. When I’m on a page where I want to create the intro bit, I just  
do:

-Chris

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 26, 2008, 7:07pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/5 "2008-11-26T19:07:12Z")

</div>

There is a very big difference. You don’t have to create extra snippets  
and page parts to extract a summary. It’s

You simply drop an `<r:more />` tag in your one body page part and the  
extension takes care of the rest. No extra page parts or snippets. I  
built this cause I blog a lot and got tired of hacking a way to do  
summaries/teasers.

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 26, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/6 "2008-11-26T20:17:31Z")

</div>

Got it. I just wanted to find out if there were any other hidden  
features I hadn’t noticed.

There’s definitely a benefit to not having to create page parts – it’s  
easier to see the whole page’s content in one place. I don’t mind the  
one-time extra snippet, though.

Nice extension.

-Chris

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 26, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/7 "2008-11-26T21:18:00Z")

</div>

Radiant is such a nice platform to develop on that it really pains me  
to choose another CMS for an upcoming website. It’s mainly a brochure  
site but they also sell about 50 products. They currently have an  
outdated CMS and a yahoo shopping cart. They want to move forward  
with an integrated approach. I’ve been trying out Substruct which has  
both of these features. The Cart is great but the CMS just fall short  
of what I’ve gotten accustom to. Mainly, there’s no control of the  
layout or CSS from the back-end. It might be possible to fix that but  
I’m not sure how much work it would be. I’ve also looked at Spree.  
It looks okay for a cart but doesn’t seem to have any other CMS type  
functions. Maybe it would work well side by side with Radiant or as  
sub domain but I don’t see any way it could be integrated.

What are some other approach people have taken to give this type of  
client what they need?

Steven

> **[STEVEN SOUTHARD |Email Developer](https://www.stevensouthard.com/)**
>
> Steven Southard | Email Developer

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 26, 2008, 9:28pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/8 "2008-11-26T21:28:34Z")

</div>

Hi!

I’ve found the shopping module Übercart for Drupal really good. Of  
course Drupal is PHP-based and all… but really flexible and has a  
lot of other modules, so very seldom I find myself coding PHP when  
using Drupal anyways. Generally speaking I use Drupal for more  
advanced sites, with lots of features, although pretty standard ones  
(so that you can find ready made modules for them)… while as Radiant  
CMS again is more appropriate for simpler sites when you want things  
working your way without much hassle and configuration.

[http://www.ubercart.org/](http://www.ubercart.org/)

cheers, Simon  
PS. There’s also the Drupal E-commerce module, but I find Übercart  
more ready out of the box… and its community seems more active too.

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 26, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/9 "2008-11-26T21:56:46Z")

</div>

Okay, my vote for best eCommerce solution, anywhere, is Magento.  
([www.magentocommerce.com](http://www.magentocommerce.com)) I love it very much! 😉

Marcus

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 26, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/10 "2008-11-26T22:32:02Z")

</div>

Marcus B. wrote:

> Okay, my vote for best eCommerce solution, anywhere, is Magento.  
> ([www.magentocommerce.com](http://www.magentocommerce.com)) I love it very much! 😉
> 
> Marcus

Yeah, I’ve worked with Magento before. I hated it. Then again, I hate  
MOST php-based projects.

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 26, 2008, 10:34pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/11 "2008-11-26T22:34:55Z")

</div>

Well, each to their own. It’s much better than substruct (IMHO), but I  
don’t want to start a flame war.

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [November 26, 2008, 9:59pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/12 "2008-11-26T21:59:07Z")

</div>

Steven,

Just checked out your home page. You do nice work!

Marcus

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [December 20, 2008, 10:04am UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/13 "2008-12-20T10:04:36Z")

</div>

The link does not work.

Regards,

# rp8

> **[Competo Solutions, Inc.](https://competo.com/)**
>
> Sharing our experience in ever changing tech landscapes

Arik J. wrote:

> This is my first (albeit simple) extension for RadiantCMS. The summarize  
> extension provides functionality that allows you to excerpt/summarize a  
> part of your page’s content. It basically allows you to create a teaser.  
> The link tells the story a little better.
> 
> [http://github.com/imakethings/radiant-summarize-extension](http://github.com/imakethings/radiant-summarize-extension)
> 
> Check it out.

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [December 20, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/14 "2008-12-20T16:19:01Z")

</div>

Sorry guys… the repo can be found here:

> **[GitHub - atinypixel/radiant-summarize-extension: Allows you to summarize...](https://github.com/atinypixel/radiant-summarize-extension/)**
>
> Allows you to summarize existing page part content - GitHub - atinypixel/radiant-summarize-extension: Allows you to summarize existing page part content

---

<div class="post-metadata">

**Author:** ![imakethings](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@imakethings](https://www.ruby-forum.com/u/imakethings)\
**Post date:** [January 13, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/ann-summarize-extension/154070/15 "2009-01-13T17:45:15Z")

</div>

Going trough the Spree documentation found the following towards the  
bottom  
of the page:

[http://spreehq.org/features](http://spreehq.org/features)

Planned Features:

“We are currently planning on having CMS integrate with existing Rails  
CMS  
platforms such as Radiant, Mephisto and Typo.”

Victor
