update doc
This commit is contained in:
parent
96de64e06e
commit
e6eef65e1b
4 changed files with 96 additions and 5 deletions
|
@ -47,7 +47,7 @@ We use bootstrap for a rough styling. More styling is up to you at the moment, h
|
|||
|
||||
Reference:
|
||||
* `id` has to be `masto-embed`
|
||||
* `account_name` is the name of your account. If you know your numeric `account_id` you can use your id instead for a performance increase.
|
||||
* `account_name` is the name of your account.
|
||||
* `host_url` the url of your mastodon instance.
|
||||
|
||||
|
||||
|
@ -79,7 +79,7 @@ Including replies of one of your posts will work as follows:
|
|||
```
|
||||
Reference:
|
||||
* `id` has to be `masto-embed`
|
||||
* `account_name` is the name of your account. If you know your numeric `account_id` you can use your id instead for a performance increase.
|
||||
* `account_name` is the name of your account.
|
||||
* `host_url` the url of your mastodon instance.
|
||||
* `replies_to` the id of your post.
|
||||
* `filter_favorited=<true|false>` true will show only favorited replies, false will show every answer.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"license": "Apache-2.0",
|
||||
"private": false,
|
||||
"devDependencies": {
|
||||
"shadow-cljs": "^2.17.6",
|
||||
"shadow-cljs": "^2.17.8",
|
||||
"source-map-support": "^0.5.21",
|
||||
"eslint": ">=8.10.0",
|
||||
"ajv": "^8.10",
|
||||
|
|
|
@ -9,7 +9,9 @@
|
|||
<div class="container">
|
||||
<div id="masto-embed"
|
||||
account_name="team"
|
||||
host_url="https://social.meissa-gmbh.de">
|
||||
host_url="https://social.meissa-gmbh.de"
|
||||
replies_to="107937234506182462"
|
||||
filter_favorited=true>
|
||||
Here the timeline will appear.
|
||||
</div>
|
||||
</div>
|
||||
|
|
89
resources/test/xx.edn
Normal file
89
resources/test/xx.edn
Normal file
|
@ -0,0 +1,89 @@
|
|||
[{:mentions
|
||||
[{:id "2",
|
||||
:username "team",
|
||||
:url "https://social.meissa-gmbh.de/@team",
|
||||
:acct "team"}],
|
||||
:emojis [],
|
||||
:tags [],
|
||||
:reblog nil,
|
||||
:replies_count 0,
|
||||
:in_reply_to_account_id "2",
|
||||
:reblogs_count 0,
|
||||
:application nil,
|
||||
:content
|
||||
"<p><span class=\"h-card\"><a href=\"https://social.meissa-gmbh.de/@team\" class=\"u-url mention\">@<span>team</span></a></span> Hier mein erstes Bild :-)</p>",
|
||||
:sensitive false,
|
||||
:favourites_count 2,
|
||||
:in_reply_to_id "107937234506182462",
|
||||
:poll nil,
|
||||
:account
|
||||
{:acct "jerger",
|
||||
:last_status_at "2022-03-11",
|
||||
:emojis [],
|
||||
:bot false,
|
||||
:group false,
|
||||
:following_count 220,
|
||||
:avatar_static
|
||||
"https://cdn.masto.host/socialmeissagmbhde/accounts/avatars/000/000/001/original/794ca61bfd71bbe1.jpg",
|
||||
:fields
|
||||
[{:name "blog",
|
||||
:value
|
||||
"<a href=\"https://domaindrivenarchitecture.org/\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">domaindrivenarchitecture.org/</span><span class=\"invisible\"></span></a>",
|
||||
:verified_at nil}
|
||||
{:name "interests",
|
||||
:value "Clojure, sci-fi, tech, DevOps, public weal",
|
||||
:verified_at nil}
|
||||
{:name "location", :value "Reutlingen, de, eu", :verified_at nil}
|
||||
{:name "OpenPGP",
|
||||
:value "4BBFF05ED0F97346DF15033D1A2CCFAF0C8C2BB6",
|
||||
:verified_at nil}],
|
||||
:username "jerger",
|
||||
:header_static
|
||||
"https://cdn.masto.host/socialmeissagmbhde/accounts/headers/000/000/001/original/2a45f78fa1af0815.jpg",
|
||||
:discoverable true,
|
||||
:statuses_count 295,
|
||||
:header
|
||||
"https://cdn.masto.host/socialmeissagmbhde/accounts/headers/000/000/001/original/2a45f78fa1af0815.jpg",
|
||||
:note
|
||||
"<p>meissa GmbH, Maintainer, dda-pallet, Clojure, OpenSource, DevOps, DomainDrivenDesign, Demokratie, Bürgerbeteiligung, Europa, Klettern, Wandern</p>",
|
||||
:locked false,
|
||||
:id "1",
|
||||
:avatar
|
||||
"https://cdn.masto.host/socialmeissagmbhde/accounts/avatars/000/000/001/original/794ca61bfd71bbe1.jpg",
|
||||
:url "https://social.meissa-gmbh.de/@jerger",
|
||||
:display_name "jerger",
|
||||
:followers_count 58,
|
||||
:created_at "2019-06-02T00:00:00.000Z"},
|
||||
:card nil,
|
||||
:language nil,
|
||||
:id "107937257700481042",
|
||||
:url "https://social.meissa-gmbh.de/@jerger/107937257700481042",
|
||||
:media_attachments
|
||||
[{:description nil,
|
||||
:meta
|
||||
{:original
|
||||
{:width 1247,
|
||||
:height 1663,
|
||||
:size "1247x1663",
|
||||
:aspect 0.7498496692723993},
|
||||
:small
|
||||
{:width 346,
|
||||
:height 461,
|
||||
:size "346x461",
|
||||
:aspect 0.7505422993492408}},
|
||||
:type "image",
|
||||
:blurhash "UIJkAFt,%gIv}~9tIUWYOvRkD*xZw6$hRj%1",
|
||||
:preview_url
|
||||
"https://cdn.masto.host/socialmeissagmbhde/media_attachments/files/107/937/248/257/634/217/small/923e75c7684a2c31.jpg",
|
||||
:preview_remote_url nil,
|
||||
:id "107937248257634217",
|
||||
:url
|
||||
"https://cdn.masto.host/socialmeissagmbhde/media_attachments/files/107/937/248/257/634/217/original/923e75c7684a2c31.jpg",
|
||||
:remote_url nil,
|
||||
:text_url nil}],
|
||||
:uri
|
||||
"https://social.meissa-gmbh.de/users/jerger/statuses/107937257700481042",
|
||||
:edited_at nil,
|
||||
:visibility "public",
|
||||
:created_at "2022-03-11T09:44:07.235Z",
|
||||
:spoiler_text ""}]
|
Loading…
Reference in a new issue