Commit 76403480 authored by Alex Theg's avatar Alex Theg

remove .DS_Store; included more xslts in update.php

parent b6365764
No preview for this file type
......@@ -17,11 +17,6 @@ $zip->open($_FILES['input']['tmp_name']);
$zip->extractTo($tmp . '/input');
$steps = [
// [
// 'xsl/docx-html-extract.xsl',
// $tmp . '/input/word/document.xml',
// $outputFile
// ],
[
'xsl/EXTRACT-docx.xsl',
$tmp . '/input/word/document.xml',
......
......@@ -5,35 +5,39 @@ 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/blob/master/applications/docx-extract/EXTRACT-docx.xsl', // NOTE: runs sheets inside sheets
// extract
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/applications/docx-extract/EXTRACT-docx.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/applications/docx-extract/docx-html-extract.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/applications/docx-extract/docx-table-extract.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/applications/docx-extract/handle-notes.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/applications/docx-extract/scrub.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/applications/docx-extract/join-elements.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/applications/docx-extract/collapse-paragraphs.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/blob/master/applications/local-fixup/hyperlink-inferencer.xsl',
// links
'https://gitlab.coko.foundation/XSweet/XSweet/raw/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
// lists
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/applications/list-promote/PROMOTE-lists.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/applications/list-promote/itemize-lists.xsl',
'https://gitlab.coko.foundation/XSweet/XSweet/raw/master/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/HTMLevator/blob/master/applications/header-promote/header-promotion-CHOOSE.xsl' // NOTE: runs sheets inside sheets
// header choose and promote
'https://gitlab.coko.foundation/XSweet/HTMLevator/raw/master/applications/header-promote/header-promotion-CHOOSE.xsl',
'https://gitlab.coko.foundation/XSweet/HTMLevator/raw/master/applications/header-promote/make-header-mapper-xslt.xsl',
'https://gitlab.coko.foundation/XSweet/HTMLevator/raw/master/applications/header-promote/outline-headers.xsl',
'https://gitlab.coko.foundation/XSweet/HTMLevator/raw/master/applications/header-promote/digest-paragraphs.xsl',
'https://gitlab.coko.foundation/XSweet/HTMLevator/raw/master/applications/header-promote/make-header-escalator-xslt.xsl',
// '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',
// rinse
'https://gitlab.coko.foundation/XSweet/XSweet/raw/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',
// ucp cleanup macro and typescript
'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/master/editoria-tune.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/master/p-split-around-br.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/master/editoria-notes.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/master/editoria-basic.xsl',
'https://gitlab.coko.foundation/XSweet/editoria_typescript/raw/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