Ticket #174 (reopened enhancement)

Opened 3 years ago

Last modified 3 years ago

Add ability to set max characters allowed on feed summaries.

Reported by: danilo@ariadoss.com Assigned to: mbonetti
Priority: low Milestone: Gregarius 0.6.0
Component: FEATURES Version:
Severity: normal Keywords:
Cc: mdodoo

Description

It would be nice to add the ability to set max characters allowed on feed summaries in case sites enable the full content of their articles to be displayed in their feeds. As I stated earlier I have not reviewed the coding behind this program yet, but I do want to contribute to the project in some way. :)

Change History

09/16/05 11:44:55 changed by mdodoo

Interestingly enough, I was thinking about this a few hours ago. I am not sure whether this needs to be built-in to Gregarius (as Yet Another Configuration Option) - it could easily be implemented as a plugin.

09/16/05 11:45:16 changed by mdodoo

  • cc set to mdodoo.

09/16/05 17:02:42 changed by sdcosta

Is html size the issue over here? or is this something that will be taken care of by the slider plugin #161

09/26/05 20:11:11 changed by mbonetti

  • priority changed from normal to low.
  • severity changed from normal to enhancement.
  • milestone set to Gregarius 0.6.0.

11/25/05 15:06:57 changed by sdcosta

  • status changed from new to closed.
  • resolution set to wontfix.

Let us assume that this is taken care of by the slider plugin #161.

If someone still needs this feature, feel free to re-open.

11/27/05 07:37:25 changed by Steve Laster

  • status changed from closed to reopened.
  • resolution deleted.

I think the feature the original poster is asking for is something different (and obviously, since I'm posting about this, I'd like to see this as an option as well)

I think what he's asking for is that gregarius should just truncate posts that are too long (the slider post does this, but does it across the entire page, and there's no real way to store values..)

So bascially, something like a config option that says maxchars or maxlines and you can put in how many lines to show, and after that, say "Truncated by Gregarius - Click here to read more at the original blog".

For an example of this, see Planet PHP, and the post titled:

Davey Shafik Review: Komodo 3.5 Professional - Beta 1

Towards the end, Planet PHP truncates the post.

11/27/05 14:56:47 changed by sdcosta

  • keywords set to feedproperties.

So this will be configured on a per-feed basis I assume?

I wonder how Planet knows when to put a break?I should take a look at their code...

11/28/05 04:12:28 changed by anonymous

Not necessarily.. I don't see people wanting to read all of one feed, but only half of the other. I'd say a global option should take care of it.

11/28/05 15:41:30 changed by sdcosta

  • keywords deleted.

Oh ok, I get it now. The slider plugin stores the value in the browser, but you want something that stores it server side so that everyone who visits the website sees only "max characters" of the feeds.

ok, in this case, this can easily be implemented as a plugin.... The only problem would be figuring out when to put the break in. It would not be nice to break in the middle of a sentence or a paragraph.

11/28/05 17:10:13 changed by mbonetti

... and open html tags must be closed, too!