Item8317: PublishPlugin should mimick wget: allow -r and -l, maybe -np and -nd
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release:
One killer feature of wget is the possibility to get a page and all its siblings, using:
wget -r -l 5 -np
which means:
-
-r
recurse
-
-l 5
go as deep as 5 level
-
-np
don't go up (to avoid "Go to parent" links)
Applied to
PublishPlugin, this would mean passing it a single topic, and it would get all the links on this topic, recursively.
For huge webs, it would be a very easy way to export only some pages. You'd create one master page, with all the sub-pages you want exported in it, and you'll launch
PublishPlugin on this page. Then we could use
-nd
(no directory) or
--cut-dirs=1
to control how the hierarchy is preserved.
--
OlivierRaginel - 03 Nov 2009
Yes, it's an idea, and I'd be interested to see it work. However I don't need it, and am not going to implement it unless there's a strong demand.
--
CrawfordCurrie - 13 Jun 2011
I think this needs a better spec. The plugin already follows links to referenced pages within the wiki, and can be told to
copyexternal
which can pull in referenced resources to one level deep. I am dubious of the merit of doing any more. Since this has been passive for 8 years now, I'm dropping it.
--
Main.CrawfordCurrie - 24 Apr 2017 - 09:20