Changes between Initial Version and Version 3 of Ticket #10639


Ignore:
Timestamp:
Mar 24, 2013, 6:10:06 AM (11 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10639

    • Property Owner changed from anybody to Ryan J Ollos
    • Property Component changed from Request-a-Hack to IncludeMacro
  • 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.
     1The 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.
    22
    33How should the macro work?
    44
    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)]]
    66
    77So 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.