Changes between Initial Version and Version 3 of Ticket #10639
- Timestamp:
- Mar 24, 2013, 6:10:06 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10639
- Property Owner changed from anybody to Ryan J Ollos
-
Property
Component
changed from
Request-a-Hack
toIncludeMacro
-
Ticket #10639 – Description
initial v3 1 The IncludeMacro (http://trac-hacks.org/wiki/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.1 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. 2 2 3 3 How should the macro work? 4 4 5 - specify the part which should be included, e.g. ![[InlcudePart(PAGE_URL, HEADLINE)]]5 - specify the part which should be included, e.g. ![[IncludePart(PAGE_URL, HEADLINE)]] 6 6 7 7 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.