✨: move phpbb to app dir
Some checks failed
ansible-lint / lint-everything (push) Failing after 1m35s
Some checks failed
ansible-lint / lint-everything (push) Failing after 1m35s
This commit is contained in:
6
roles/phpbb/files/dojopeertube.yml
Normal file
6
roles/phpbb/files/dojopeertube.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
name: DojoPeertube
|
||||
host: p.nintendojo.fr
|
||||
example: https://p.nintendojo.fr/videos/embed/19bc46e8-7640-4417-86a1-03aa2b439508
|
||||
extract: "!//p.nintendojo.fr/videos/embed/(?'id'[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12})!"
|
||||
iframe:
|
||||
src: "https://p.nintendojo.fr/videos/embed/{@id}"
|
17
roles/phpbb/files/mastodon.yml
Normal file
17
roles/phpbb/files/mastodon.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: "Mastodon"
|
||||
host: m.nintendojo.fr
|
||||
example: https://mastodon.social/@HackerNewsBot/100181134752056592
|
||||
extract: "!//(?'host'[-.\\w]+)/@(?'name'\\w+)/(?'id'\\d+)!"
|
||||
oembed:
|
||||
endpoint: https://m.nintendojo.fr/api/oembed
|
||||
scheme: https://m.nintendojo.fr/@{@name}/{@id}
|
||||
scrape:
|
||||
- extract: "!\"url\":\"https://(?'host'[-.\\w]+)/@(?'name'\\w+)/(?'id'\\d+)\"!"
|
||||
- match: "!^(?'origin'https://[^/]+)/@\\w+@[-.\\w]+/(?'id'\\d+)!"
|
||||
- url: "{@origin}/api/v1/statuses/{@id}"
|
||||
iframe:
|
||||
data-s9e-livepreview-ignore-attrs: "style"
|
||||
onload: "let c=new MessageChannel;c.port1.onmessage=e=>this.style.height=e.data+'px';this.contentWindow.postMessage('s9e:init','*',[c.port2])"
|
||||
width: "550"
|
||||
height: "300"
|
||||
src: https://s9e.github.io/iframe/2/mastodon.min.html#<xsl:value-of select="@name"/><xsl:if test="@host and@host!='mastodon.social'">@<xsl:value-of select="@host"/></xsl:if>/<xsl:value-of select="@id"/>
|
Reference in New Issue
Block a user