sinzmise-cetastories 2.0.0-1737858932085 → 2.0.0-1737859581063
Sign up to get free protection for your applications and to get access to all the features.
- package/404.html +1 -1
- package/archives/2021/12/index.html +1 -1
- package/archives/2021/index.html +1 -1
- package/archives/2022/12/index.html +1 -1
- package/archives/2022/index.html +1 -1
- package/archives/2023/01/index.html +1 -1
- package/archives/2023/02/index.html +1 -1
- package/archives/2023/03/index.html +1 -1
- package/archives/2023/04/index.html +1 -1
- package/archives/2023/07/index.html +1 -1
- package/archives/2023/08/index.html +1 -1
- package/archives/2023/09/index.html +1 -1
- package/archives/2023/10/index.html +1 -1
- package/archives/2023/11/index.html +1 -1
- package/archives/2023/12/index.html +1 -1
- package/archives/2023/index.html +1 -1
- package/archives/2023/page/2/index.html +1 -1
- package/archives/2023/page/3/index.html +1 -1
- package/archives/2024/01/index.html +1 -1
- package/archives/2024/02/index.html +1 -1
- package/archives/2024/03/index.html +1 -1
- package/archives/2024/04/index.html +1 -1
- package/archives/2024/05/index.html +1 -1
- package/archives/2024/06/index.html +1 -1
- package/archives/2024/07/index.html +1 -1
- package/archives/2024/08/index.html +1 -1
- package/archives/2024/09/index.html +1 -1
- package/archives/2024/10/index.html +1 -1
- package/archives/2024/11/index.html +1 -1
- package/archives/2024/12/index.html +1 -1
- package/archives/2024/index.html +1 -1
- package/archives/2024/page/2/index.html +1 -1
- package/archives/2024/page/3/index.html +1 -1
- package/archives/2025/01/index.html +1 -1
- package/archives/2025/index.html +1 -1
- package/archives/index.html +1 -1
- package/archives/page/2/index.html +1 -1
- package/archives/page/3/index.html +1 -1
- package/archives/page/4/index.html +1 -1
- package/archives/page/5/index.html +1 -1
- package/atom.xml +21 -21
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/3/index.html +1 -1
- package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/index.html +1 -1
- package/js/webmention/webmention.js +4 -5
- package/package.json +1 -1
- package/page/2/index.html +1 -1
- package/page/3/index.html +1 -1
- package/page/4/index.html +1 -1
- package/page/5/index.html +1 -1
- package/posts/10021/index.html +1 -1
- package/posts/10045/index.html +1 -1
- package/posts/10733/index.html +1 -1
- package/posts/10996/index.html +1 -1
- package/posts/12779/index.html +1 -1
- package/posts/13624/index.html +1 -1
- package/posts/15688/index.html +1 -1
- package/posts/15748/index.html +1 -1
- package/posts/15799/index.html +1 -1
- package/posts/15842/index.html +1 -1
- package/posts/16107/index.html +1 -1
- package/posts/18063/index.html +1 -1
- package/posts/20412/index.html +1 -1
- package/posts/21375/index.html +1 -1
- package/posts/22945/index.html +1 -1
- package/posts/23021/index.html +1 -1
- package/posts/23226/index.html +1 -1
- package/posts/27531/index.html +1 -1
- package/posts/27762/index.html +1 -1
- package/posts/28536/index.html +1 -1
- package/posts/28733/index.html +1 -1
- package/posts/29196/index.html +1 -1
- package/posts/38917/index.html +1 -1
- package/posts/38964/index.html +1 -1
- package/posts/42487/index.html +1 -1
- package/posts/42580/index.html +1 -1
- package/posts/45875/index.html +1 -1
- package/posts/46640/index.html +1 -1
- package/posts/48762/index.html +1 -1
- package/posts/50710/index.html +1 -1
- package/posts/52677/index.html +1 -1
- package/posts/53662/index.html +1 -1
- package/posts/54386/index.html +1 -1
- package/posts/54481/index.html +1 -1
- package/posts/54787/index.html +1 -1
- package/posts/56467/index.html +1 -1
- package/posts/57692/index.html +1 -1
- package/posts/58203/index.html +1 -1
- package/posts/60486/index.html +1 -1
- package/posts/61417/index.html +1 -1
- package/posts/61712/index.html +1 -1
- package/posts/61713/index.html +1 -1
- package/posts/646/index.html +1 -1
- package/posts/64856/index.html +1 -1
- package/posts/64935/index.html +1 -1
- package/posts/65382/index.html +1 -1
- package/sw.js +1 -1
- package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
- package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
- package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/3/index.html +1 -1
- package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
- package/tags//345/212/240/350/275/275/345/212/250/347/224/273/index.html +1 -1
- package/tags//346/202/254/346/265/256/345/256/240/347/211/251-/347/234/213/346/235/277/345/250/230/index.html +1 -1
- package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
- package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
- package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
@@ -1,21 +1,20 @@
|
|
1
1
|
function webmention() {
|
2
2
|
const url = window.location.href;
|
3
3
|
const webmentionBaseUrl = "https://webmention.io"
|
4
|
-
var html = '';
|
5
4
|
fetch(webmentionBaseUrl + "/api/mentions.jf2?target=" + encodeURIComponent(url))
|
6
5
|
.then(function (response) {
|
7
6
|
console.log('sucess ' + webmentionBaseUrl + "/api/mentions.jf2?target=" + url);
|
8
7
|
return response.json();
|
9
8
|
})
|
10
9
|
.then(function (data) {
|
11
|
-
|
10
|
+
var html = '';
|
12
11
|
const distinctMentions = [
|
13
12
|
...new Map(data.children.map((item) => [item.author.url, item])).values()].sort((a, b) => new Date(a['wm-received']) - new Date(b['wm-received']));
|
14
13
|
|
15
14
|
html += `<div><p>`;
|
16
15
|
|
17
16
|
if (distinctMentions.length > 0) {
|
18
|
-
html +=
|
17
|
+
html += GLOBAL_CONFIG.lang.webmention.likes + `</p>`;
|
19
18
|
}
|
20
19
|
html += `<div className="webmention-avatars">`;
|
21
20
|
distinctMentions.forEach(function (reply) {
|
@@ -28,7 +27,7 @@ function webmention() {
|
|
28
27
|
);
|
29
28
|
if (replies && replies.length) {
|
30
29
|
html += `<div class="webmention-replies">`;
|
31
|
-
html += `</br><h3
|
30
|
+
html += `</br><h3>`+ GLOBAL_CONFIG.lang.webmention.comment +`</h3>`;
|
32
31
|
html += `<ul class="replies">`;
|
33
32
|
replies.forEach(function (reply){
|
34
33
|
html += `<li class="reply" key=${reply["wm-id"]}>`;
|
@@ -45,11 +44,11 @@ function webmention() {
|
|
45
44
|
html += `</ul>`;
|
46
45
|
html += `</div>`;
|
47
46
|
}
|
47
|
+
document.querySelector('div.webmention-timeline').innerHTML = html;
|
48
48
|
})
|
49
49
|
.catch(function (ex) {
|
50
50
|
console.error('fetch webmention error' + ex);
|
51
51
|
});
|
52
|
-
document.querySelector('div.webmention-timeline').innerHTML = html;
|
53
52
|
}
|
54
53
|
window.WebMentionLoad = function () {
|
55
54
|
if (document.querySelector('.webmention-timeline')) webmention();
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"sinzmise-cetastories","version":"2.0.0-
|
1
|
+
{"name":"sinzmise-cetastories","version":"2.0.0-1737859581063"}
|