Item8317: PublishPlugin should mimick wget: allow -r and -l, maybe -np and -nd

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release:
Applies To: Extension
Component: PublishPlugin
Branches:
Reported By: Foswiki:Main.OlivierRaginel
Waiting For:
Last Change By: CrawfordCurrie
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

ItemTemplate edit

Summary PublishPlugin should mimick wget: allow -r and -l, maybe -np and -nd
ReportedBy Foswiki:Main.OlivierRaginel
Codebase
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Extension
Component PublishPlugin
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r3 - 24 Apr 2017, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy