Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Simple CPAN distribution.

Report information
The Basics
Id: 70472
Status: rejected
Priority: 0/
Queue: Pod-Simple

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 3.19
Fixed in: (no value)



Subject: Feature request: Factor out the Index code from ::XHTML
I have come upon a situation where I want the Index for a pod, and the Pod itself, but not together or at the same time.

One of the following choices would be desirable:

1. A function/method on the XHTML package that returns only the index

2. A toggle that changes XHTML to emit one of [ "just pod", "index and pod" , "just index" ] ( in conjunction with the current index flag )

3. A re-factoring of the code into XHTML::Index or similar that allows loading a POD document, and emitting Index html.

 

I took a minor stab at patching this in myself, but it became too hard and I don't understand the code.

Thanks.

-- Kentnl

On Wed Aug 24 20:51:41 2011, KENTNL wrote: Show quoted text
> I have come upon a situation where I want the Index for a pod, and the > Pod > itself, but not together or at the same time. > > One of the following choices would be desirable: > > 1. A function/method on the XHTML package that returns only the index > > 2. A toggle that changes XHTML to emit one of [ "just pod", "index and > pod" , > "just index" ] ( in conjunction with the current index flag ) > > 3. A re-factoring of the code into XHTML::Index or similar that allows > loading > a POD document, and emitting Index html. > > I took a minor stab at patching this in myself, but it became too hard > and I > don't understand the code. > > Thanks. > > -- Kentnl
I'd be willing to work with you to get this implemented. If you're not interested, I think we should close the ticket
On Wed Aug 24 20:51:41 2011, KENTNL wrote: Show quoted text
> I have come upon a situation where I want the Index for a pod, and the > Pod > itself, but not together or at the same time. > > One of the following choices would be desirable: > > 1. A function/method on the XHTML package that returns only the index > > 2. A toggle that changes XHTML to emit one of [ "just pod", "index and > pod" , > "just index" ] ( in conjunction with the current index flag ) > > 3. A re-factoring of the code into XHTML::Index or similar that allows > loading > a POD document, and emitting Index html. > > I took a minor stab at patching this in myself, but it became too hard > and I > don't understand the code. > > Thanks. > > -- Kentnl
I'd be willing to work with you to get this implemented. If you're not interested, I think we should close the ticket
The OP did not respond to my offer to help get this in to the module. As a result, I'm closing the ticket