Opened 7 years ago

Closed 7 years ago

#1717 closed enhancement (fixed)

Ability to hardsplit post for post autolist and full post page. Also adds ability to change "Read more" link (defaults to '(...)')

Reported by: mocksoul Owned by: pacopablo
Priority: normal Component: TracBlogPlugin
Severity: normal Keywords:
Cc: mocksoul@… Trac Release: 0.10


Hi guys!

I have added some extra functionality: SplitPost macro. While displaying post - it just displays hr (<hr/>). But _trim_page() function can extract "summary" part from post with this macro. Also extracts first argument and (if present, of course) - make customized "Read full post" link for post list.

Usage is absolutely simple:

Post post post

[[SplitPost(Read Much More...)]]

This is "Much more" part :)

Patch is very simple, and was written in 10 minutes :). See attachment. Maybe I'll make many more patches and enchancements, do you interested in them? =)

I have worked with last svn 0.10 branch.

Attachments (1)

tracblog.patch (2.1 KB) - added by mocksoul 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by mocksoul


comment:1 Changed 7 years ago by pacopablo

  • Status changed from new to assigned

Great patch. Thanks for the feature. I'll try to apply it this weekend.

I'm always interested in patches :)

comment:2 Changed 7 years ago by pacopablo

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2399])

  • Feature: Limit BlogShow entries by user name.
  • Feature: Added SplitPost macro to allow for hard splitting of blog posts

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.