Changes between Initial Version and Version 3 of Ticket #10639
- Mar 24, 2013 7:10:06 AM (12 months ago)
- Property Owner changed from anybody to rjollos
- Property Component changed from Request-a-Hack to IncludeMacro
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 udePart(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.