GithubHelp home page GithubHelp logo

cmb69 / exchange_xh Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 81 KB

Export/Import of CMSimple_XH content files

License: GNU General Public License v3.0

PHP 72.68% HTML 25.64% CSS 1.68%
cmsimple-xh

exchange_xh's People

Contributors

cmb69 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

exchange_xh's Issues

Cater to separation of page names from content

If cmsimple-xh/cmsimple-xh#187 will be merged, we have to cater to that. We currently see the following issues:

  • We can't rely on $cf['headings']['show'] anymore to detect the new split mode; instead we have to look for <contents version> CMSIMPLE_XH_VERSION.
  • We must not import the removed page data fields heading and show_heading as page data fields, but rather fix the page contents appropriately.

Confirm overwriting of files

As it is, on export any existing content.xml and on import content.htm will silently be overwritten. At least we should explicitly inform the user about that, and ask for confirmation.

Import succeeds w/o content.xml

If content.xml isn't in the expected location, the import feature reports that the import has succeeded, and content.htm contains no pages.

Fix heading levels on import to XH 1.7

When old content is imported into XH 1.7, the heading levels (but, of course, not the menu level) should be adjusted (probably we should offer a config option for the desired level).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.