Opened 12 years ago
Closed 10 years ago
#10639 closed enhancement (duplicate)
Include just a part of a wiki page
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
Attachments (0)
Change History (6)
comment:1 Changed 12 years ago by
Owner: | changed from anybody to Ryan J Ollos |
---|
comment:2 Changed 12 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 12 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 11 years ago by
Status: | new → assigned |
---|
comment:5 Changed 10 years ago by
This would be useful for me too to prevent uglies copies/pastes... Thanks !
comment:6 Changed 10 years ago by
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Duplicate of #9537.
Hey,
I'd really appreciate it if you could have a look on my thoughts to improve your plug-in.
Regards, tsari