Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8327

Improve space export to HTML - fix top menu links and more

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2
    • Fix Version/s: None
    • Component/s: Old Core - HTML Export
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      I'm using the following statement (linnux) to export a public XWiki space to plain html (see http://www.computer42.org/xwiki-static/index.html)

      curl "https://www.computer42.org/xwiki/bin/export/${space}/Page?format=html&pages=${space}%25">${tmpFile}
      
      • This produce an Login link pointing back to the link used by the curl
        statement. Following this link you download the whole space whith an
        massive performance penality of the live xwiki instance.

      At least this link should be fixed.

      • If the export was done by an authenticated user (basic authentication), there is also a link to the user profile which should be suppressed.
      • At the bottom you found "comments, ... "
        All these links here pointing back to the page itself and not the comments, attachments, ...
        This bogus part should either be removed or showing links to the live content.

      My use cases for html exported spaces:

      • reduce load on "live" xwiki instance
      • create "offline" documentation
        • In the example above the "sailing" content can be used without internet connection.
        • Providing non-public space as HTML content export. On of my clients use this to maintain offline documentation for an application installed on a special set of work stations.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dirk@computer42.org H.-Dirk Schmitt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: