versione 1.42

This commit is contained in:
2020-10-23 23:26:21 +02:00
parent 977feb6722
commit e997890868
16 changed files with 374 additions and 159 deletions

BIN
MacBuild/SPEx Normal file

Binary file not shown.

View File

@@ -0,0 +1,69 @@
{
"version": "v1.42",
"paths": {
"lastUsed": "defaults.json",
"configurationPath": "./conf/",
"INworkPath": "C://",
"OUTworkPath": "C://",
"fileList": [
]
},
"docStruct": {
"fileVersNew": false,
"language": "English",
"languageIdx": 1,
"docSep": "\\s*Copyright [(0-9)]+",
"beginOfDocument": "\\s*Body",
"endOfDocument": "\\s*End of Document",
"dateFormat": "{month} {day:d}, {year:d}{}",
"outPrefix": "",
"outSuffix": "",
"outExt": ".txt",
"outDateType": "jpn",
"outNameFormat": "",
"outDate": true,
"outTitle": true,
"outNumber": true,
"numberPos": 1,
"datePos": 2,
"titlePos": 3,
"maxTitleLen": 16,
"outNameSep": "-",
"customSep": "=",
"dateFormats": {
"jpn": "{year:04d}{month:02d}{day:02d}",
"it": "{day:02d}{month:02d}{year:04d}",
"usa": "{month:02d}{year:04d}{day:02d}"
}
},
"settings": {
"uiLang": "en",
"winW": 800,
"winH": 700,
"encoding": "windows-1252",
"monthPosition": 0,
"getNewsPaperName": true,
"nameNotFoundStr": "ND",
"includeTitle": true,
"removeDuplicates": true,
"showSkipped": false,
"showRemovedDuplicates": false,
"loadTXT": true,
"loadDOCX": false,
"removeOldFiles": true,
"saveSeparateFiles": true,
"saveBodyFile": true,
"saveBodyNumber": true,
"delLF": false,
"delWordBreak": true,
"delChars": [
"'",
"@",
"#",
"$",
"%",
"^",
"&"
]
}
}

View File

@@ -0,0 +1,76 @@
{
"Italiano": {
"dateWords": [
"Gennaio",
"Febbraio",
"Marzo",
"Aprile",
"Maggio",
"Giugno",
"Luglio",
"Agosto",
"Settembre",
"Ottobre",
"Novembre",
"Dicembre"
],
"headWords": [
"BYLINE:",
"SECTION:",
"LENGTH:",
"DATELINE:",
"HIGHLIGHT:",
"Email:"
],
"tailWords": [
"Newstex ID:",
"NOTES:",
"LANGUAGE:",
"GRAPHIC:",
"TYPE:",
"URL:",
"LOAD-DATE:",
"PUBLICATION-TYPE:",
"DOCUMENT-TYPE:",
"CHARTS:",
"JOURNAL-CODE:"
]
},
"English": {
"dateWords": [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
"headWords": [
"BYLINE:",
"SECTION:",
"LENGTH:",
"DATELINE:",
"HIGHLIGHT:",
"Email:"
],
"tailWords": [
"Newstex ID:",
"NOTES:",
"LANGUAGE:",
"GRAPHIC:",
"TYPE:",
"URL:",
"LOAD-DATE:",
"PUBLICATION-TYPE:",
"DOCUMENT-TYPE:",
"CHARTS:",
"JOURNAL-CODE:"
]
}
}

67
MacBuild/conf/linux.json Normal file
View File

@@ -0,0 +1,67 @@
{
"version": "v1.42",
"paths": {
"lastUsed": "linux.json",
"configurationPath": "./conf/",
"INworkPath": "/home/",
"OUTworkPath": "/home/",
"fileList": []
},
"docStruct": {
"fileVersNew": false,
"language": "English",
"languageIdx": 1,
"docSep": "\\s*Copyright [(0-9)]+",
"beginOfDocument": "\\s*Body",
"endOfDocument": "\\s*End of Document",
"dateFormat": "{month} {day:d}, {year:d}{}",
"outPrefix": "",
"outSuffix": "",
"outExt": ".txt",
"outDateType": "jpn",
"outNameFormat": "",
"outDate": true,
"outTitle": true,
"outNumber": true,
"numberPos": 1,
"datePos": 2,
"titlePos": 3,
"maxTitleLen": 16,
"outNameSep": "-",
"customSep": "=",
"dateFormats": {
"jpn": "{year:04d}{month:02d}{day:02d}",
"it": "{day:02d}{month:02d}{year:04d}",
"usa": "{month:02d}{year:04d}{day:02d}"
}
},
"settings": {
"winW": 800,
"winH": 700,
"encoding": "windows-1252",
"monthPosition": 0,
"getNewsPaperName": true,
"nameNotFoundStr": "ND",
"includeTitle": true,
"removeDuplicates": true,
"showSkipped": false,
"showRemovedDuplicates": false,
"loadTXT": true,
"loadDOCX": false,
"removeOldFiles": true,
"saveSeparateFiles": true,
"saveBodyFile": true,
"saveBodyNumber": true,
"delLF": false,
"delWordBreak": true,
"delChars": [
"'",
"@",
"#",
"$",
"%",
"^",
"&"
]
}
}

View File

@@ -0,0 +1,5 @@
{
"logFile": "./SPEx.log",
"logFormat": "%(asctime)s|%(levelname)-8s| %(message)-50s",
"logTimeFormat": "%m-%d %H:%M:%S"
}

View File

@@ -3,10 +3,10 @@
block_cipher = None block_cipher = None
a = Analysis(['../spex/guimain.py'], a = Analysis(['..\\spex\\guimain.py'],
pathex=['./libbananasplit', './UserInterface/compiledUI', '/home/emanuele/VScode/bananaSPLIT/SPEx/scripts'], pathex=['./libbananasplit', './UserInterface/compiledUI', 'D:\\Emanuele\\Documenti\\VScode\\bananaSPLIT\\SPEx\\scripts'],
binaries=[], binaries=[],
datas=[('../.venv/lib/python3.8/site-packages/text_unidecode/data.bin', './text_unidecode')], datas=[('..\\.venv\\Lib\\site-packages\\text_unidecode\\data.bin', '.\\text_unidecode')],
hiddenimports=[], hiddenimports=[],
hookspath=[], hookspath=[],
runtime_hooks=[], runtime_hooks=[],
@@ -30,4 +30,4 @@ exe = EXE(pyz,
upx=True, upx=True,
upx_exclude=[], upx_exclude=[],
runtime_tmpdir=None, runtime_tmpdir=None,
console=False , icon='../spex/logo.ico') console=False , icon='..\\spex\\logo.ico')

Binary file not shown.

View File

@@ -1,70 +1,69 @@
{ {
"version": "v1.41", "version": "v1.42",
"paths": { "paths": {
"lastUsed": "defaults.json", "lastUsed": "defaults.json",
"configurationPath": "./conf/", "configurationPath": "./conf/",
"INworkPath": "C://", "INworkPath": "C://",
"OUTworkPath": "C://", "OUTworkPath": "C://",
"fileList": [ "fileList": [
"bdlog.txt" ]
] },
}, "docStruct": {
"docStruct": { "fileVersNew": false,
"fileVersNew": false, "language": "English",
"language": "English", "languageIdx": 1,
"languageIdx": 1, "docSep": "\\s*Copyright [(0-9)]+",
"docSep": "\\s*Copyright [(0-9)]+", "beginOfDocument": "\\s*Body",
"beginOfDocument": "\\s*Body", "endOfDocument": "\\s*End of Document",
"endOfDocument": "\\s*End of Document", "dateFormat": "{month} {day:d}, {year:d}{}",
"dateFormat": "{month} {day:d}, {year:d}{}", "outPrefix": "",
"outPrefix": "", "outSuffix": "",
"outSuffix": "", "outExt": ".txt",
"outExt": ".txt", "outDateType": "jpn",
"outDateType": "jpn", "outNameFormat": "",
"outNameFormat": "", "outDate": true,
"outDate": true, "outTitle": true,
"outTitle": true, "outNumber": true,
"outNumber": true, "numberPos": 1,
"numberPos": 1, "datePos": 2,
"datePos": 2, "titlePos": 3,
"titlePos": 3, "maxTitleLen": 16,
"maxTitleLen": 16, "outNameSep": "-",
"outNameSep": "-", "customSep": "=",
"customSep": "=", "dateFormats": {
"dateFormats": { "jpn": "{year:04d}{month:02d}{day:02d}",
"jpn": "{year:04d}{month:02d}{day:02d}", "it": "{day:02d}{month:02d}{year:04d}",
"it": "{day:02d}{month:02d}{year:04d}", "usa": "{month:02d}{year:04d}{day:02d}"
"usa": "{month:02d}{year:04d}{day:02d}" }
} },
}, "settings": {
"settings": { "uiLang": "en",
"uiLang": "en", "winW": 800,
"winW": 800, "winH": 700,
"winH": 700, "encoding": "windows-1252",
"encoding": "windows-1252", "monthPosition": 0,
"monthPosition": 0, "getNewsPaperName": true,
"getNewsPaperName": true, "nameNotFoundStr": "ND",
"nameNotFoundStr": "ND", "includeTitle": true,
"includeTitle": true, "removeDuplicates": true,
"removeDuplicates": true, "showSkipped": false,
"showSkipped": false, "showRemovedDuplicates": false,
"showRemovedDuplicates": false, "loadTXT": true,
"loadTXT": true, "loadDOCX": false,
"loadDOCX": false, "removeOldFiles": true,
"removeOldFiles": true, "saveSeparateFiles": true,
"saveSeparateFiles": true, "saveBodyFile": true,
"saveBodyFile": true, "saveBodyNumber": true,
"saveBodyNumber": true, "delLF": false,
"delLF": false, "delWordBreak": true,
"delWordBreak": true, "delChars": [
"delChars": [ "'",
"'", "@",
"@", "#",
"#", "$",
"$", "%",
"%", "^",
"^", "&"
"&" ]
] }
}
} }

View File

@@ -1,76 +1,76 @@
{ {
"Italiano": { "Italiano": {
"dateWords": [ "dateWords": [
"Gennaio", "Gennaio",
"Febbraio", "Febbraio",
"Marzo", "Marzo",
"Aprile", "Aprile",
"Maggio", "Maggio",
"Giugno", "Giugno",
"Luglio", "Luglio",
"Agosto", "Agosto",
"Settembre", "Settembre",
"Ottobre", "Ottobre",
"Novembre", "Novembre",
"Dicembre" "Dicembre"
], ],
"headWords": [ "headWords": [
"BYLINE:", "BYLINE:",
"SECTION:", "SECTION:",
"LENGTH:", "LENGTH:",
"DATELINE:", "DATELINE:",
"HIGHLIGHT:", "HIGHLIGHT:",
"Email:" "Email:"
], ],
"tailWords": [ "tailWords": [
"Newstex ID:", "Newstex ID:",
"NOTES:", "NOTES:",
"LANGUAGE:", "LANGUAGE:",
"GRAPHIC:", "GRAPHIC:",
"TYPE:", "TYPE:",
"URL:", "URL:",
"LOAD-DATE:", "LOAD-DATE:",
"PUBLICATION-TYPE:", "PUBLICATION-TYPE:",
"DOCUMENT-TYPE:", "DOCUMENT-TYPE:",
"CHARTS:", "CHARTS:",
"JOURNAL-CODE:" "JOURNAL-CODE:"
] ]
}, },
"English": { "English": {
"dateWords": [ "dateWords": [
"January", "January",
"February", "February",
"March", "March",
"April", "April",
"May", "May",
"June", "June",
"July", "July",
"August", "August",
"September", "September",
"October", "October",
"November", "November",
"December" "December"
], ],
"headWords": [ "headWords": [
"BYLINE:", "BYLINE:",
"SECTION:", "SECTION:",
"LENGTH:", "LENGTH:",
"DATELINE:", "DATELINE:",
"HIGHLIGHT:", "HIGHLIGHT:",
"Email:" "Email:"
], ],
"tailWords": [ "tailWords": [
"Newstex ID:", "Newstex ID:",
"NOTES:", "NOTES:",
"LANGUAGE:", "LANGUAGE:",
"GRAPHIC:", "GRAPHIC:",
"TYPE:", "TYPE:",
"URL:", "URL:",
"LOAD-DATE:", "LOAD-DATE:",
"PUBLICATION-TYPE:", "PUBLICATION-TYPE:",
"DOCUMENT-TYPE:", "DOCUMENT-TYPE:",
"CHARTS:", "CHARTS:",
"JOURNAL-CODE:" "JOURNAL-CODE:"
] ]
} }
} }

View File

@@ -1,5 +1,5 @@
{ {
"version": "v1.3", "version": "v1.42",
"paths": { "paths": {
"lastUsed": "linux.json", "lastUsed": "linux.json",
"configurationPath": "./conf/", "configurationPath": "./conf/",

View File

@@ -1,5 +1,5 @@
{ {
"logFile": "D:\\Test\\bananaSPLIT.log", "logFile": "./SPEx.log",
"logFormat": "%(asctime)s|%(levelname)-8s| %(message)-50s", "logFormat": "%(asctime)s|%(levelname)-8s| %(message)-50s",
"logTimeFormat": "%m-%d %H:%M:%S" "logTimeFormat": "%m-%d %H:%M:%S"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

View File

@@ -1,12 +1,11 @@
{ {
"version": "v1.41", "version": "v1.42",
"paths": { "paths": {
"lastUsed": "defaults.json", "lastUsed": "defaults.json",
"configurationPath": "./conf/", "configurationPath": "./conf/",
"INworkPath": "C://", "INworkPath": "C://",
"OUTworkPath": "C://", "OUTworkPath": "C://",
"fileList": [ "fileList": [
"bdlog.txt"
] ]
}, },
"docStruct": { "docStruct": {

View File

@@ -1,5 +1,5 @@
{ {
"version": "v1.3", "version": "v1.42",
"paths": { "paths": {
"lastUsed": "linux.json", "lastUsed": "linux.json",
"configurationPath": "./conf/", "configurationPath": "./conf/",

View File

@@ -1,5 +1,5 @@
{ {
"logFile": "D:\\Test\\bananaSPLIT.log", "logFile": "./SPEx.log",
"logFormat": "%(asctime)s|%(levelname)-8s| %(message)-50s", "logFormat": "%(asctime)s|%(levelname)-8s| %(message)-50s",
"logTimeFormat": "%m-%d %H:%M:%S" "logTimeFormat": "%m-%d %H:%M:%S"
} }