Commit b6365764 authored by Alex Theg's avatar Alex Theg

pull from master and add new sheets

parent 6eeab05a
File added
......@@ -17,26 +17,20 @@ $zip->open($_FILES['input']['tmp_name']);
$zip->extractTo($tmp . '/input');
$steps = [
// [
// 'xsl/docx-html-extract.xsl',
// $tmp . '/input/word/document.xml',
// $outputFile
// ],
[
'xsl/docx-html-extract.xsl',
'xsl/EXTRACT-docx.xsl',
$tmp . '/input/word/document.xml',
$outputFile
],
'xsl/handle-notes.xsl',
'xsl/join-elements.xsl',
'xsl/scrub.xsl',
'xsl/collapse-paragraphs.xsl',
[
'xsl/digest-paragraphs.xsl',
$outputFile,
$tmp . '/paragraphs.xml'
],
[
'xsl/make-header-escalator-xslt.xsl',
$tmp . '/paragraphs.xml',
$tmp . '/header-escalator.xsl'
],
$tmp . '/header-escalator.xsl',
'xsl/hyperlink-inferencer.xsl',
'xsl/PROMOTE-lists.xsl',
'xsl/header-promotion-CHOOSE.xsl',
'xsl/editoria-tune.xsl'
'xsl/final-rinse.xsl',
'xsl/p-split-around-br.xsl',
'xsl/editoria-notes.xsl',
......
......@@ -5,20 +5,35 @@ if (php_sapi_name() !== 'cli') {
}
$urls = [
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/collapse-paragraphs.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/docx-html-extract.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/handle-notes.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/join-elements.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/scrub.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/html-polish/final-rinse.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/list-promote/itemize-lists.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/list-promote/mark-lists.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/header-promote/make-header-escalator-xslt.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/header-promote/digest-paragraphs.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/p-split-around-br.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/editoria-notes.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/editoria-basic.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/editoria-reduce.xsl',
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/collapse-paragraphs.xsl',
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/docx-html-extract.xsl',
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/handle-notes.xsl',
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/join-elements.xsl',
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/docx-extract/scrub.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/blob/master/applications/docx-extract/EXTRACT-docx.xsl', // NOTE: runs sheets inside sheets
'https://gitlab.coko.foundation/XSweet/XSweet/blob/master/applications/local-fixup/hyperlink-inferencer.xsl',
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/list-promote/itemize-lists.xsl',
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/list-promote/mark-lists.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/blob/master/applications/list-promote/PROMOTE-lists.xsl', // NOTE: runs sheets inside sheets
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/header-promote/make-header-escalator-xslt.xsl',
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/header-promote/digest-paragraphs.xsl',
'https://gitlab.coko.foundation/XSweet/HTMLevator/blob/master/applications/header-promote/header-promotion-CHOOSE.xsl' // NOTE: runs sheets inside sheets
// 'https://gitlab.coko.foundation/XSweet/XSweet/raw/ink-api-publish/applications/html-polish/final-rinse.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/blob/master/applications/html-polish/final-rinse.xsl',
// 'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/p-split-around-br.xsl',
// 'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/editoria-notes.xsl',
// 'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/editoria-basic.xsl',
// 'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/ink-api-publish/editoria-reduce.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/blob/master/editoria-tune.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/blob/master/p-split-around-br.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/blob/master/editoria-notes.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/blob/master/editoria-basic.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/blob/master/editoria-reduce.xsl',
];
$outputDir = '/var/www/html/xsl';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment