OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
octospacc 2023-09-30 00:18:46 +00:00
parent 41fec08841
commit bb5fe8b378
7 changed files with 13 additions and 11 deletions

View File

@ -1,6 +1,6 @@
created: 20230223222804008
creator: Octt
modified: 20230929114739135
modified: 20230929150422727
modifier: Octt
tags:
title: Saved/Sites
@ -33,11 +33,12 @@ Note: "[property]-leaning" means the majority of the content of the site, or the
!!! ''[[Gallery]]-leaning''
These are portfolios, collections of projects, hubs, etc.
These are portfolios, collections of projects, hubs, landing pages, etc.
* [[OctoSpacc Hub|https://hub.octt.eu.org]]
* [[Arktis :: Sigve Sebastian Farstad|https://arkt.is/]]
* <<httpL "Neal.fun">>
* [[The Hacker's Choice|https://www.thc.org]] --- group of international hackers, founded in 1995 --- <<[# "Knowledge Base" "https://iq.thc.org">>
!!! ''[[Note]]-leaning''

View File

@ -1,6 +1,6 @@
created: 20230905232949767
creator: Octt
modified: 20230905233603281
modified: 20230930001800458
modifier: Octt
tags:
title: Static site generator
@ -10,4 +10,5 @@ title: Static site generator
* <<linkdescgit Docusaurus "https://docusaurus.io" "Easy to maintain open source documentation websites." "https://github.com/facebook/docusaurus">>
* <<linkdescgit Hugo "https://gohugo.io" "The worlds fastest framework for building websites" "https://github.com/gohugoio/hugo">>
* <<linkdescgit Jekyll "https://jekyllrb.com" "🌐 Jekyll is a blog-aware static site generator in Ruby" "https://github.com/jekyll">>
** <<linkdescgit "So Simple [Theme]" "https://mmistakes.github.io/so-simple-theme" " A simple Jekyll theme for words and pictures." "https://github.com/mmistakes/so-simple-theme">>
* <<linkdescgit Retype "https://retype.com" "ultra-high-performance ✨ static website generator that builds a website based on simple Markdown text files" "https://github.com/retypeapp">> --- seems catered towards docs/notes sites

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
from base64 import b64encode
from bs4 import BeautifulSoup
from re import sub, DOTALL
from re import sub
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, flags=DOTALL)
Html = sub('<iframe (.+) src="(.+)"><\/iframe>', SafeIframe, Html, flags=DOTALL)
Html = sub('<iframe( +)src="[\S\n\t\v ]+?"><\/iframe>', SafeIframe, Html)
Html = sub('<iframe (.+) src="[\S\n\t\v ]+?"><\/iframe>', SafeIframe, Html)
open(File, 'w').write(Html)

View File

@ -1,6 +1,6 @@
created: 20230307221237990
creator: Octt
modified: 20230929110856571
modified: 20230929145246611
modifier: Octt
title: $:/OcttKB/Repo/PatchStatic.py
type: text/plain

View File

@ -1,5 +1,5 @@
created: 20230929115455289
created: 20230930001840040
current-tiddler: GettingStarted
modified: 20230929115455289
modified: 20230930001840040
title: $:/HistoryList
type: application/json

View File

@ -1,6 +1,6 @@
created: 20230929094559840
creator: Octt
list:
modified: 20230929114115280
modified: 20230930001648015
modifier: Octt
title: $:/StoryList

View File

@ -1,6 +1,6 @@
created: 20220920092307479
creator: Octt
modified: 20230929111714424
modified: 20230929145609533
modifier: Octt
title: $:/state/tab/sidebar--595412856