Modify

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 Ryan J Ollos)

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 tsari

Owner: changed from anybody to Ryan J Ollos

Hey,

I'd really appreciate it if you could have a look on my thoughts to improve your plug-in.

Regards, tsari

comment:2 Changed 12 years ago by Ryan J Ollos

Component: Request-a-HackIncludeMacro

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 Ryan J Ollos

Description: modified (diff)

comment:4 Changed 11 years ago by Ryan J Ollos

Status: newassigned

comment:5 Changed 10 years ago by oailloud@…

This would be useful for me too to prevent uglies copies/pastes... Thanks !

comment:6 Changed 10 years ago by Ryan J Ollos

Resolution: duplicate
Status: assignedclosed

Duplicate of #9537.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.