Opened 11 years ago
Last modified 9 years ago
#10639 closed enhancement
Include just a part of a wiki page — at Version 3
Reported by: | tsari | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | IncludeMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
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
Change History (3)
comment:1 Changed 11 years ago by
Owner: | changed from anybody to Ryan J Ollos |
---|
comment:2 Changed 11 years ago by
Component: | Request-a-Hack → 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 11 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
Hey,
I'd really appreciate it if you could have a look on my thoughts to improve your plug-in.
Regards, tsari