Opened 22 months ago

Last modified 4 weeks ago

#10639 assigned enhancement

Include just a part of a wiki page

Reported by: tsari Owned by: rjollos
Priority: normal Component: IncludeMacro
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by rjollos)

The IncludeMacro allows you to inlcude full wiki pages into another page. This is useful, but I want to include just a part of a wiki page.

How should the macro work?

  • specify the part which should be included, e.g. [[IncludePart(PAGE_URL, HEADLINE)]]

So the marco should scan the page which exists under PAGE_URL for a headline tag with the content HEADLINE. It should recognize the type of headline (h1...h6) and get the content underneath up to the next headline with the same type or the page end.

Thanks a lot

Attachments (0)

Change History (5)

comment:1 Changed 20 months ago by tsari

  • Owner changed from anybody to rjollos


I'd really appreciate it if you could have a look on my thoughts to improve your plug-in.


comment:2 Changed 20 months ago by rjollos

  • Component changed from Request-a-Hack to IncludeMacro

IIRC, there is a similar ticket for IncludeMacro. Let's move the ticket over there and I'll try to find some time to take a look.

comment:3 Changed 18 months ago by rjollos

  • Description modified (diff)

comment:4 Changed 8 months ago by rjollos

  • Status changed from new to assigned

comment:5 Changed 4 weeks ago by oailloud@…

This would be useful for me too to prevent uglies copies/pastes... Thanks !

Add Comment

Modify Ticket

as assigned .

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

Note: See TracTickets for help on using tickets.