1

Drupal core module Aggregator produces feed titles like:

One two three four five six seven, all good children go to heaven.

I want this displayed:

One two three four five six seven, all good children

How to get this done?

Someone hinted that the Smart Trim module offers this option but I can't get it working in combination with Aggregator and Panels. How to do this?

1

I managed to do it using the Views module. I create a View of "Aggregator item" type.

In my view, I display each field I want to see, and for the "Aggregator:Title" field configuration, in the "Rewrite results" section, I checked "Trim this field to a maximum length". There are options to set the maximum length, to add or not an ellipsis (...), to add or not a "Read more" link... See the picture for more details (it refers to the "Aggregator:Body" field, but it works the same way).

Hope that helps,

Configure field: Aggregator: Body

  • Thanks, Dinopmi, that's probably what I was looking for. – robvun Sep 10 '15 at 7:22
  • You're welcome! If you find my answer fits your needs, don't forget to mark it as "accepted", so that your question is not considered "unanswered" :) – dinopmi Sep 10 '15 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.