mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-06-06 00:29:12 +02:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
from base64 import b64encode
|
||||
from bs4 import BeautifulSoup
|
||||
from re import sub
|
||||
from re import sub, DOTALL
|
||||
from sys import argv
|
||||
|
||||
File = argv[-1]
|
||||
@@ -29,7 +29,7 @@ def SafeIframe(m):
|
||||
Html = str(BeautifulSoup(open(File, 'r'), 'html5lib'))
|
||||
|
||||
Html = sub('<details><a name="(.+)"><summary>(.+)<\/summary>\s*<\/a>', Fix1, Html)
|
||||
Html = sub('<iframe( +)src="(.+)"><\/iframe>', SafeIframe, Html)
|
||||
Html = sub('<iframe (.+) src="(.+)"><\/iframe>', SafeIframe, Html)
|
||||
Html = sub('<iframe( +)src="(.+)"><\/iframe>', SafeIframe, Html, flags=DOTALL)
|
||||
Html = sub('<iframe (.+) src="(.+)"><\/iframe>', SafeIframe, Html, flags=DOTALL)
|
||||
|
||||
open(File, 'w').write(Html)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
created: 20230307221237990
|
||||
creator: Octt
|
||||
modified: 20230307221722752
|
||||
modified: 20230929110856571
|
||||
modifier: Octt
|
||||
title: $:/OcttKB/Repo/PatchStatic.py
|
||||
type: text/plain
|
@@ -1,6 +1,6 @@
|
||||
created: 20230225150051400
|
||||
creator: Octt
|
||||
modified: 20230226210519405
|
||||
modified: 20230929111702131
|
||||
modifier: Octt
|
||||
tags: $:/tags/Stylesheet
|
||||
title: $:/Styles/Static/Main
|
||||
@@ -13,5 +13,6 @@ title: $:/Styles/Static/Main
|
||||
<<River>> > a[name]/*:not(a[name="~Welcome~"])*/ + <<Frame>> { <<NoDisp>> }
|
||||
<<River>> > a[name]:target + <<Frame>> { display: block; }
|
||||
|
||||
<<River>> > <<Frame>> .tc-tiddler-controls,
|
||||
<<River>> > <<Frame>> .gk0wk-notionbg-addbuttons,
|
||||
<<River>> > <<Frame>> .gk0wk-notionpageb-changecover { <<NoDisp>> }
|
||||
|
@@ -1,5 +1,5 @@
|
||||
created: 20230928233727192
|
||||
created: 20230929115455289
|
||||
current-tiddler: GettingStarted
|
||||
modified: 20230928233727192
|
||||
modified: 20230929115455289
|
||||
title: $:/HistoryList
|
||||
type: application/json
|
@@ -1,7 +1,7 @@
|
||||
created: 20220920084517972
|
||||
creator: Octt
|
||||
modified: 20230928233243105
|
||||
modified: 20230929094726342
|
||||
modifier: Octt
|
||||
title: $:/SiteSubtitle
|
||||
|
||||
Octt Knowledge Base || (Start at ➡️ [[OcttKB]] 📌️)
|
||||
Octt Knowledge Base || (Start at ➡️ <span>[</span>[[OcttKB]]<span>]</span> 📌️)
|
@@ -1,6 +1,6 @@
|
||||
created: 20230928222850710
|
||||
created: 20230929094559840
|
||||
creator: Octt
|
||||
list:
|
||||
modified: 20230928233650700
|
||||
modified: 20230929114115280
|
||||
modifier: Octt
|
||||
title: $:/StoryList
|
7
Wiki-OcttKB/tiddlers/System/state/folded/_JavaScript.tid
Normal file
7
Wiki-OcttKB/tiddlers/System/state/folded/_JavaScript.tid
Normal file
@@ -0,0 +1,7 @@
|
||||
created: 20230929113750196
|
||||
creator: Octt
|
||||
modified: 20230929113751643
|
||||
modifier: Octt
|
||||
title: $:/state/folded/JavaScript
|
||||
|
||||
show
|
@@ -1,6 +1,6 @@
|
||||
created: 20220920092307479
|
||||
creator: Octt
|
||||
modified: 20230928231912353
|
||||
modified: 20230929111714424
|
||||
modifier: Octt
|
||||
title: $:/state/tab/sidebar--595412856
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
created: 20230219190716748
|
||||
creator: Octt
|
||||
modified: 20230926073123828
|
||||
modified: 20230929095018016
|
||||
modifier: Octt
|
||||
title: $:/state/tree/$:/OcttKB/Repo/
|
||||
|
||||
hide
|
||||
show
|
@@ -1,7 +1,7 @@
|
||||
created: 20230111084703963
|
||||
creator: Octt
|
||||
modified: 20230928222844438
|
||||
modified: 20230929095013632
|
||||
modifier: Octt
|
||||
title: $:/state/tree/$:/OcttKB/
|
||||
|
||||
hide
|
||||
show
|
@@ -1,7 +1,7 @@
|
||||
created: 20230225173056823
|
||||
creator: Octt
|
||||
modified: 20230920144629428
|
||||
modified: 20230929111305954
|
||||
modifier: Octt
|
||||
title: $:/state/tree/$:/Styles/Static/
|
||||
|
||||
hide
|
||||
show
|
@@ -1,7 +1,7 @@
|
||||
created: 20230108193801573
|
||||
creator: Octt
|
||||
modified: 20230920153341608
|
||||
modified: 20230929111257602
|
||||
modifier: Octt
|
||||
title: $:/state/tree/$:/Styles/
|
||||
|
||||
hide
|
||||
show
|
Reference in New Issue
Block a user