forked from sam/fedifeed
Compare commits
192 commits
Author | SHA1 | Date | |
---|---|---|---|
ee36f1c82c | |||
479781ce5f | |||
307a7c967c | |||
dd7974db53 | |||
2d35a57df9 | |||
dded8be10b | |||
e41b9ffb1e | |||
bb338a4431 | |||
2ee748c2fb | |||
319e3f80b2 | |||
6087137c0f | |||
7b3ea316df | |||
c81d2285ea | |||
313719e4e1 | |||
873ae20f3f | |||
1724434eca | |||
a27cbdeeaa | |||
9f2d728efa | |||
bfb57fd007 | |||
ee9ffd357c | |||
94b081d3e2 | |||
72bf107292 | |||
c8233839cc | |||
4a9db09515 | |||
99827a2bce | |||
9e634168a9 | |||
959309229d | |||
12e72febb7 | |||
0191720c0c | |||
61111ceb24 | |||
4bad23de5e | |||
308ebbc255 | |||
c5ab77ec3a | |||
9272bac9ff | |||
8c2110db18 | |||
5d0eb885cf | |||
09eee5ef03 | |||
0d47876e3d | |||
41ad0b244f | |||
d429f35221 | |||
532dcdf3fa | |||
1bbef8e405 | |||
aee53f6e34 | |||
ad2bf0f782 | |||
6932beb7f3 | |||
2d18f87680 | |||
55dcd61f69 | |||
30ea889046 | |||
d8fd6311be | |||
5f52c02f28 | |||
65c10e626f | |||
59f807f3c3 | |||
ab4e714855 | |||
699fd273bd | |||
718b29e6f6 | |||
430fb55fca | |||
b47eb60965 | |||
dd6144ed41 | |||
4e50d38fc7 | |||
b4579b32e0 | |||
af637f4d28 | |||
af55fcd0dc | |||
8904441a77 | |||
916334f35f | |||
1694682901 | |||
99a1115629 | |||
b41a164150 | |||
0bfccbf19e | |||
7461c8a6c1 | |||
c9a584f9f0 | |||
b8e24298b0 | |||
c00875c694 | |||
acc2f65365 | |||
a8cf9d3ffe | |||
528a864508 | |||
a9d8569a5b | |||
a5cc65bbb6 | |||
f67b208d3b | |||
c0ec880861 | |||
db71f1fc78 | |||
48d612fe9f | |||
732a42eff8 | |||
133ae0618b | |||
4d4c84981c | |||
8866cecb76 | |||
06ff11b2bf | |||
9b742c3993 | |||
ec1fa51eda | |||
23ebd9c30d | |||
91cedb0665 | |||
3e61d47997 | |||
fd1cac8b58 | |||
73c1c00c62 | |||
505a113f47 | |||
22bb395f9a | |||
14b6ac1c4c | |||
7151083ad7 | |||
b74f98d684 | |||
860e5185e4 | |||
1b20038e43 | |||
7fec74138b | |||
037419f03d | |||
b52c2c19d5 | |||
f0fe10501e | |||
f00753c084 | |||
|
0f94245f44 | ||
498d871318 | |||
0cc12b28ec | |||
885cefc427 | |||
828a930ec7 | |||
1b9634b1b4 | |||
cfa59ce479 | |||
61463ff239 | |||
e7ef7e4d7d | |||
aaddf102ac | |||
516b8fd9b3 | |||
21074ec003 | |||
c7fe02652b | |||
2d3e4ede87 | |||
9e0433fc56 | |||
8a6a005502 | |||
dce7ececa7 | |||
fbc6c69729 | |||
34c1302905 | |||
22c69bc1b7 | |||
79727bde88 | |||
062a9b2555 | |||
9ef773497b | |||
73a0ccf871 | |||
2f34e2a7d9 | |||
|
10720ac118 | ||
|
6075837da2 | ||
|
db2dcfa6f4 | ||
|
ec10336ccb | ||
|
f91f7cada8 | ||
|
118b92f6b6 | ||
|
c3b65d291e | ||
|
c1f9ea7b3a | ||
|
d33129ff96 | ||
|
91700a596d | ||
|
06ece16d62 | ||
|
f4b6ab38f3 | ||
|
5b6fc4a099 | ||
|
de53c677a6 | ||
|
aa2a5b91e5 | ||
|
9ec240eb8b | ||
|
268c6bc22c | ||
|
3c2c77f628 | ||
|
0caa354dd9 | ||
|
c1c0e2f7d0 | ||
|
0c9f0c790f | ||
|
f1f3a8680d | ||
|
d25ae125d9 | ||
|
270391a6e8 | ||
|
111c73396c | ||
|
c832e3e4e0 | ||
|
6bbebffcd1 | ||
|
18ef0e4a56 | ||
|
d5631f54a3 | ||
|
e6ead57b6c | ||
|
892e100e43 | ||
|
9d85c029f4 | ||
|
49f6a0b8e2 | ||
|
3b682a12f4 | ||
|
de73654554 | ||
|
0626e6d426 | ||
|
b69a16fff5 | ||
|
fca1309e0b | ||
|
eae453813d | ||
|
c48fdfd7ec | ||
|
c8b93372c6 | ||
|
8f6da67392 | ||
|
8805d45eaa | ||
|
1a05b0ba75 | ||
|
42df4afae3 | ||
|
25dfe192d6 | ||
|
4409c90979 | ||
|
648ce55b47 | ||
|
98d2192463 | ||
|
71edc0a4e5 | ||
|
0072386666 | ||
|
0b567fe3a9 | ||
|
e08008aaae | ||
|
2c53691d5b | ||
|
77879db09a | ||
|
2dd9017768 | ||
|
bab4aa9d03 | ||
|
4a4a32995d | ||
|
8b51857915 | ||
|
11cadadca9 | ||
|
29843abda7 | ||
|
c19aba70d8 |
41 changed files with 5300 additions and 9747 deletions
22
.drone.yml
Normal file
22
.drone.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: dependencies
|
||||
image: node
|
||||
commands:
|
||||
- curl -L https://pnpm.js.org/pnpm.js | node - add --global pnpm@7
|
||||
- pnpm i
|
||||
|
||||
- name: lint
|
||||
image: node
|
||||
commands:
|
||||
- npm run lint:ci
|
||||
depends: [dependencies]
|
||||
|
||||
- name: test
|
||||
image: node
|
||||
commands:
|
||||
- npm run test
|
||||
depends: [lint]
|
2
.eslintignore
Normal file
2
.eslintignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
public/lib/infinite-scroll.pkgd.min.js
|
||||
.yarn/
|
19
.eslintrc.json
Normal file
19
.eslintrc.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true,
|
||||
"node": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": ["prettier"],
|
||||
"rules": {
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"quotes": ["error", "double"],
|
||||
"semi": ["error", "always"],
|
||||
"prettier/prettier": ["error", { "singleQuote": false }]
|
||||
},
|
||||
"extends": ["eslint:recommended", "plugin:prettier/recommended"]
|
||||
}
|
135
.gitignore
vendored
135
.gitignore
vendored
|
@ -1 +1,134 @@
|
|||
node_modules
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
lerna-debug.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
*.pid.lock
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
*.lcov
|
||||
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# Bower dependency directory (https://bower.io/)
|
||||
bower_components
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# Snowpack dependency directory (https://snowpack.dev/)
|
||||
web_modules/
|
||||
|
||||
# TypeScript cache
|
||||
*.tsbuildinfo
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Optional stylelint cache
|
||||
.stylelintcache
|
||||
|
||||
# Microbundle cache
|
||||
.rpt2_cache/
|
||||
.rts2_cache_cjs/
|
||||
.rts2_cache_es/
|
||||
.rts2_cache_umd/
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Output of 'npm pack'
|
||||
*.tgz
|
||||
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
# dotenv environment variable files
|
||||
.env
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
.env.local
|
||||
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
.cache
|
||||
.parcel-cache
|
||||
|
||||
# Next.js build output
|
||||
.next
|
||||
out
|
||||
|
||||
# Nuxt.js build / generate output
|
||||
.nuxt
|
||||
dist
|
||||
|
||||
# Gatsby files
|
||||
.cache/
|
||||
# Comment in the public line in if your project uses Gatsby and not Next.js
|
||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||
# public
|
||||
|
||||
# vuepress build output
|
||||
.vuepress/dist
|
||||
|
||||
# vuepress v2.x temp and cache directory
|
||||
.temp
|
||||
.cache
|
||||
|
||||
# Docusaurus cache and generated files
|
||||
.docusaurus
|
||||
|
||||
# Serverless directories
|
||||
.serverless/
|
||||
|
||||
# FuseBox cache
|
||||
.fusebox/
|
||||
|
||||
# DynamoDB Local files
|
||||
.dynamodb/
|
||||
|
||||
# TernJS port file
|
||||
.tern-port
|
||||
|
||||
# Stores VSCode versions used for testing VSCode extensions
|
||||
.vscode-test
|
||||
|
||||
# yarn v2
|
||||
.pnp.*
|
||||
.yarn/*
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
!.yarn/releases
|
||||
!.yarn/sdks
|
||||
!.yarn/versions
|
||||
|
||||
.dccache
|
4
.prettierignore
Normal file
4
.prettierignore
Normal file
|
@ -0,0 +1,4 @@
|
|||
public/lib/infinite-scroll.pkgd.min.js
|
||||
.yarn/
|
||||
.pnp*
|
||||
pnpm-lock.yaml
|
687
LICENSE
687
LICENSE
|
@ -1,21 +1,674 @@
|
|||
The MIT License
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright © 2017 fenwick67
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
Preamble
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
|
|
42
README.md
42
README.md
|
@ -1,34 +1,48 @@
|
|||
# Mastofeed
|
||||
# Fedifeed
|
||||
|
||||
Embed a mastodon feed in your blog et cetera.
|
||||
[![Build Status](https://ci.git.froth.zone/api/badges/sam/fedifeed/status.svg)](https://ci.git.froth.zone/sam/fedifeed)
|
||||
|
||||
https://www.mastofeed.com
|
||||
Embed an activitypub feed in your blog et cetera. \
|
||||
This is a fork of [mastofeed](https://github.com/fenwick67/mastofeed) that adds support for more themes and Misskey.
|
||||
|
||||
https://www.fedifeed.com
|
||||
|
||||
## User guide
|
||||
|
||||
The homepage has a tool for generating iframe code for you, with a sensible `sandbox` attribute. The feeds fit comfortably in a 400px wide area.
|
||||
The homepage has a tool for generating iframe code for you, with a sensible `sandbox` attribute. The feeds fit comfortably in a 400px wide area.
|
||||
|
||||
## API
|
||||
|
||||
### GET `/api/feed`
|
||||
### V1
|
||||
|
||||
> example: `/api/feed?url=https%3A%2F%2Foctodon.social%2Fusers%2Ffenwick67.atom&scale=90&theme=light`
|
||||
#### GET `/api/v1/feed`
|
||||
|
||||
Returns a html page which displays a mastodon feed for an atom feed URL. Note that URLs must be URI encoded (i.e. `encodeURIComponent('https://octodon.social/users/fenwick67.atom')` ).
|
||||
> example: `/api/v1/feed?userurl=https%3A%2F%2Foctodon.social%2Fusers%2Ffenwick67&scale=90&theme=masto-light`
|
||||
|
||||
Returns a html page which displays a feed for a user URL. Note that URLs must be URI encoded (i.e. `encodeURIComponent('https://octodon.social/users/fenwick67')` ).
|
||||
|
||||
Querystring options:
|
||||
|
||||
| option | required | description |
|
||||
| ---------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `userurl` | **\*** | Mastodon/Pleroma/Misskey account URL (usually `https://${instance}/users/${username}` for MastoAPI or `https://${instance}/@${username}` for Misskey) |
|
||||
| `instance` | **\*\*** | Mastodon/Pleroma/Misskey instance URL (usually `https://${instance}`) |
|
||||
| `user` | **\*\*** | Mastodon/Pleroma/Misskey user ID (usually `${username}`) |
|
||||
| `feedurl` | no | a URL to a page of an ActivityPub post collection. Only used for pages beyond the first. |
|
||||
| `theme` | no | either `masto-dark`, `masto-light` or `masto-auto`, to select the UI theme (default is `masto-dark`). `auto` will appear masto-light unless the user sets up masto-dark mode on their device. |
|
||||
| `boosts` | no | whether to show boosts or not |
|
||||
| `replies` | no | whether to show replies or not |
|
||||
| `size` | no | the scale of the UI in percent. |
|
||||
|
||||
| option | required | description |
|
||||
| ------ | -------- | ----------- |
|
||||
| `url` | **yes** | Mastodon Atom feed URL |
|
||||
| `theme` | no | either `dark` or `light`, to select the UI theme (default is `dark`). |
|
||||
| `size` | no | the scale of the UI in percent. |
|
||||
\* `userurl` is required if `instance` and `user` are not specified.\*\*\* \
|
||||
\*\* `instance` **and** `user` are required if `userurl` is not specified.\*\*\*
|
||||
|
||||
\*\*\* **`userurl` and `instance`/`user` are mutually exclusive.**
|
||||
|
||||
## Server Installation
|
||||
|
||||
This is a straightforward node project with zero databases or anything, you should just be able to run `npm install` and then `npm start` to get up and running. Set your `PORT` environment variable to change the port it listens on.
|
||||
This is a straightforward node project with zero databases or anything, you should just be able to run `yarn install` and then `yarn start` to get up and running. Set your `PORT` environment variable to change the port it listens on.
|
||||
|
||||
## Improve me
|
||||
|
||||
Feel free to add a chaching layer, improve the styles and add more features.
|
||||
Feel free to add a caching layer, improve the styles and add more features.
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
// build the styles
|
||||
var fs = require('fs');
|
||||
var sass = require('node-sass');
|
||||
|
||||
var staticDir = './static/'
|
||||
var srcDir = './stylesrc/';
|
||||
var themes = ['light','dark'];
|
||||
|
||||
|
||||
themes.forEach(function(s){
|
||||
var sassFile = srcDir+s+'.scss'
|
||||
var cssFile = staticDir+s+'.css'
|
||||
var result = sass.renderSync({
|
||||
data: fs.readFileSync(sassFile,'utf8'),
|
||||
includePaths:[srcDir]
|
||||
});
|
||||
|
||||
fs.writeFileSync(cssFile,result.css,'utf8')
|
||||
|
||||
});
|
||||
|
||||
console.log('ok');
|
177
index.js
177
index.js
|
@ -1,64 +1,139 @@
|
|||
var Express = require('express');
|
||||
var convert = require('./lib/convert');
|
||||
var serveStatic = require('serve-static');
|
||||
var request = require('request');
|
||||
var log = console.log;
|
||||
import Express from "express";
|
||||
// v2 api
|
||||
import convertv2 from "./lib/convert.js";
|
||||
import cors from "cors";
|
||||
import errorPage from "./lib/errorPage.js";
|
||||
import morgan from "morgan";
|
||||
import { detector } from "megalodon";
|
||||
|
||||
var app = Express();
|
||||
const app = Express();
|
||||
app.disable("x-powered-by");
|
||||
|
||||
function logMiddleware(req,res,next){
|
||||
log(req.method.toUpperCase() +' '+ req.url);
|
||||
log( '\t'+ new Date().toISOString() );
|
||||
if(req.headers && req.headers.referer){
|
||||
log('\tReferer: '+req.headers.referer);
|
||||
}
|
||||
return next(null);
|
||||
}
|
||||
|
||||
app.use(logMiddleware);
|
||||
const logger = morgan(":method :url :status via :referrer - :response-time ms");
|
||||
|
||||
app.use(
|
||||
serveStatic('static',{
|
||||
maxAge:'1d'
|
||||
})
|
||||
Express.static("public", {
|
||||
maxAge: "1d",
|
||||
})
|
||||
);
|
||||
|
||||
app.get('/api/feed',function(req,res){
|
||||
function doCache(res, durationSecs) {
|
||||
res.set({
|
||||
"Cache-Control": "max-age=" + durationSecs,
|
||||
});
|
||||
}
|
||||
|
||||
// get feed url
|
||||
var feedUrl = req.query.url;
|
||||
if (!feedUrl){
|
||||
res.status(400);
|
||||
res.send('You need to specify a feed URL');
|
||||
}
|
||||
// this just redirects to the
|
||||
app.options("/api/feed", cors());
|
||||
app.get("/api/feed", cors(), logger, function (req, res) {
|
||||
// get feed url
|
||||
const feedUrl = req.query.url;
|
||||
if (!feedUrl) {
|
||||
res
|
||||
.status(400)
|
||||
.send(errorPage(400, "You need to specify a feed URL", null));
|
||||
return;
|
||||
}
|
||||
|
||||
var opts = {};
|
||||
if (req.query.size){
|
||||
opts.size = req.query.size;
|
||||
}
|
||||
if (req.query.theme){
|
||||
opts.theme = req.query.theme;
|
||||
}
|
||||
if (req.query.header){
|
||||
if (req.query.header.toLowerCase() == 'no' || req.query.header.toLowerCase() == 'false'){
|
||||
opts.header = false;
|
||||
}else{
|
||||
opts.header = true;
|
||||
}
|
||||
}
|
||||
let userUrl = "";
|
||||
|
||||
var req = request.get(feedUrl);
|
||||
convert(req,opts,function(er,data){
|
||||
if (er){
|
||||
res.status(500);
|
||||
return res.send('Error fetching or parsing your feed.');
|
||||
}
|
||||
res.status(200);
|
||||
res.send(data);
|
||||
});
|
||||
if (typeof feedUrl === "string") {
|
||||
userUrl = feedUrl.replace(/\.atom.*/i, "");
|
||||
}
|
||||
|
||||
const redirectUrl = "/api/v1/feed?";
|
||||
const qs = ["userurl=" + encodeURIComponent(userUrl), "api=v1"];
|
||||
|
||||
["size", "theme", "boosts", "replies"].forEach((key) => {
|
||||
if (typeof req.query[key] !== "undefined") {
|
||||
qs.push(key + "=" + encodeURIComponent(req.query[key]));
|
||||
}
|
||||
});
|
||||
|
||||
res.redirect(redirectUrl + qs.join("&"));
|
||||
});
|
||||
|
||||
app.listen(process.env.PORT || 8000,function(){
|
||||
log('listening on '+(process.env.PORT || 8000));
|
||||
app.options("/api/v1/feed", cors());
|
||||
app.get("/api/v1/feed", cors(), logger, async function (req, res) {
|
||||
// get feed url
|
||||
// userUrl
|
||||
let type = req.query.instance_type;
|
||||
let userUrl = req.query.userurl;
|
||||
if (!userUrl) {
|
||||
const user = req.query.user;
|
||||
const instance = req.query.instance;
|
||||
if (!type) {
|
||||
type = await detector(instance).catch(() => "");
|
||||
}
|
||||
switch (type) {
|
||||
case "mastodon":
|
||||
case "pleroma":
|
||||
userUrl = instance + "/users/" + user;
|
||||
break;
|
||||
case "misskey":
|
||||
userUrl = instance + "/@" + user;
|
||||
break;
|
||||
default:
|
||||
res
|
||||
.status(400)
|
||||
.send(errorPage(400, "You need to specify a user URL", null));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const feedUrl = req.query.feedurl;
|
||||
|
||||
const opts = {};
|
||||
opts.size = req.query.size;
|
||||
|
||||
opts.theme = req.query.theme;
|
||||
|
||||
opts.theme = opts.theme.replace("auto-", `${type}-`);
|
||||
opts.theme ??= "auto-auto";
|
||||
|
||||
if (typeof req.query.header === "string")
|
||||
opts.header = req.query.header.toLowerCase() === "true";
|
||||
if (typeof req.query.boosts === "string")
|
||||
opts.boosts = req.query.boosts.toLowerCase() === "true";
|
||||
if (typeof req.query.replies === "string")
|
||||
opts.replies = req.query.replies.toLowerCase() === "true";
|
||||
opts.instance_type = type;
|
||||
opts.userUrl = userUrl;
|
||||
opts.feedUrl = feedUrl;
|
||||
opts.mastofeedUrl = req.url;
|
||||
|
||||
convertv2(opts)
|
||||
.then((data) => {
|
||||
doCache(res, 60 * 60);
|
||||
res.status(200).send(data);
|
||||
})
|
||||
.catch((er) => {
|
||||
res
|
||||
.status(500)
|
||||
.send(errorPage(500, null, { theme: opts.theme, size: opts.size }));
|
||||
// TODO log the error
|
||||
console.error("error:", er, er.stack);
|
||||
});
|
||||
});
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
app.use(function (req, res, _next) {
|
||||
// respond with html page
|
||||
if (req.accepts("html")) {
|
||||
res.status(404).send("Not found");
|
||||
return;
|
||||
}
|
||||
|
||||
// respond with json
|
||||
if (req.accepts("json")) {
|
||||
res.status(404).json({ error: "Not found" });
|
||||
return;
|
||||
}
|
||||
|
||||
// default to plain-text. send()
|
||||
res.status(404).type("txt").send("Not found");
|
||||
});
|
||||
|
||||
app.listen(process.env.PORT || 8000, "127.0.0.1", function () {
|
||||
console.log("Server started, listening on " + (process.env.PORT || 8000));
|
||||
});
|
||||
|
|
421
lib/convert.js
421
lib/convert.js
|
@ -1,204 +1,275 @@
|
|||
var pug = require('pug');
|
||||
var FeedParser = require('feedparser');
|
||||
var ejs = require('ejs');
|
||||
var fs = require('fs');
|
||||
var template = ejs.compile(fs.readFileSync('./lib/template.ejs','utf8'));
|
||||
var timeAgo = require('timeago.js');
|
||||
import { compile } from "ejs";
|
||||
import { readFileSync } from "fs";
|
||||
let template = compile(readFileSync("./lib/template.ejs", "utf8"));
|
||||
import { format } from "timeago.js";
|
||||
|
||||
function isArray(a){
|
||||
return Array.isArray(a);
|
||||
}
|
||||
// get JSON for an AP URL, by either fetching it or grabbing it from a cache.
|
||||
|
||||
// accumulate a stream of XML into a html file
|
||||
|
||||
module.exports = function(stream,opts,callback){
|
||||
var callback = callback;
|
||||
var opts = opts;
|
||||
if (typeof opts == 'function'){
|
||||
callback = opts;
|
||||
opts = {};
|
||||
}
|
||||
|
||||
// convert s from atom feed to a full html page for rendering
|
||||
breakDown(stream,function(er,data){
|
||||
if (er) {
|
||||
return callback(er);
|
||||
// note: rejects on HTTP 4xx or 5xx
|
||||
async function apGet(url) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
// fail early
|
||||
if (!url) {
|
||||
reject(new Error("URL is invalid"));
|
||||
}
|
||||
// try and build up
|
||||
try{
|
||||
var result = buildUp(data,opts)
|
||||
}catch(e){
|
||||
return callback(e);
|
||||
}
|
||||
return callback(null,result);
|
||||
|
||||
fetch(url, {
|
||||
headers: {
|
||||
Accept: "application/activity+json",
|
||||
"User-Agent":
|
||||
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0",
|
||||
},
|
||||
})
|
||||
.then((response) => {
|
||||
if (response.ok) {
|
||||
return response.json();
|
||||
}
|
||||
return reject(response);
|
||||
})
|
||||
.then(resolve)
|
||||
.catch(reject);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
// break the xml into json
|
||||
function breakDown(stream,callback){
|
||||
|
||||
var spent = false;
|
||||
function cbOnce(er,data){
|
||||
if (!spent){
|
||||
callback(er,data);
|
||||
spent = true;
|
||||
}
|
||||
}
|
||||
|
||||
stream.on('error',cbOnce);
|
||||
var feedparser = new FeedParser();
|
||||
feedparser.on('error', cbOnce);
|
||||
stream.pipe(feedparser)
|
||||
|
||||
|
||||
feedparser.items = [];
|
||||
feedparser.on('readable', function () {
|
||||
// This is where the action is!
|
||||
var stream = this; // `this` is `feedparser`, which is a stream
|
||||
var items = [];
|
||||
var item;
|
||||
|
||||
while (item = stream.read()) {
|
||||
feedparser.items.push(item);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
feedparser.on('end',function(er){cbOnce(null,feedparser)});
|
||||
|
||||
}
|
||||
|
||||
// hydrate the json to html
|
||||
function buildUp(jsonObj,opts){
|
||||
|
||||
// assign opts to the obj
|
||||
jsonObj.opts = opts||{};
|
||||
|
||||
// iterate through the items
|
||||
jsonObj.items = jsonObj.items.filter(function(item){
|
||||
|
||||
// get date
|
||||
item.stringDate = getTimeDisplay(item.date);
|
||||
|
||||
item.content = getH(item,'atom:content');
|
||||
if (!item.content ){// item was deleted
|
||||
return false;
|
||||
}
|
||||
|
||||
// make anchor tags have the "_top" target
|
||||
item.content = item.content.replace(/\<\s*a\s*/ig,'<a target="_top"');
|
||||
|
||||
// get enclosures
|
||||
item.enclosures = [];
|
||||
|
||||
function findEnclosure(link){
|
||||
if (!link['@']){return;} // avoid keyerror
|
||||
var rel = link['@'].rel;
|
||||
var href = link['@'].href;
|
||||
if (rel == 'enclosure'){
|
||||
item.enclosures.push({
|
||||
url:href,
|
||||
type:link['@'].type||''
|
||||
// like Promise.all except returns null on error instead of failing all the promises
|
||||
async function promiseSome(proms) {
|
||||
function noRejectWrap(prom) {
|
||||
return new Promise(function (resolve) {
|
||||
prom // it's already been called
|
||||
.then(resolve)
|
||||
.catch(() => {
|
||||
resolve(null);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
return Promise.all(proms.map(noRejectWrap));
|
||||
}
|
||||
|
||||
export default async function (opts) {
|
||||
let feedUrl = opts.feedUrl;
|
||||
let userUrl = opts.userUrl;
|
||||
let isIndex = false;
|
||||
|
||||
if (!userUrl) {
|
||||
throw new Error("need user URL");
|
||||
}
|
||||
|
||||
let user, feed;
|
||||
|
||||
// get user and feed in parallel if I have both URLs.
|
||||
// can cache feed aggressively since it is a specific start and end.
|
||||
if (userUrl && feedUrl) {
|
||||
[user, feed] = await Promise.all([apGet(userUrl), apGet(feedUrl)]);
|
||||
} else {
|
||||
// get user, then outbox, then feed
|
||||
|
||||
user = await apGet(userUrl);
|
||||
isIndex = true;
|
||||
let outbox = await apGet(user.outbox);
|
||||
|
||||
// outbox.first can be a string for a URL, or an object with stuffs in it
|
||||
if (typeof outbox.first === "object") {
|
||||
feed = outbox.first;
|
||||
} else {
|
||||
feed = await apGet(outbox.first);
|
||||
}
|
||||
}
|
||||
|
||||
let templateData = {
|
||||
opts: opts, // from the request
|
||||
meta: metaForUser(user),
|
||||
items: await itemsForFeed(opts, user, feed),
|
||||
nextPageLink: getNextPage(opts, user, feed),
|
||||
isIndex: isIndex,
|
||||
};
|
||||
|
||||
return template(templateData);
|
||||
}
|
||||
|
||||
function metaForUser(user) {
|
||||
return {
|
||||
avatar: user.icon && user.icon.url ? user.icon.url : null,
|
||||
headerImage: user.image && user.image.url ? user.image.url : null,
|
||||
title: user.name || user.preferredUsername || null,
|
||||
description: user.summary || null,
|
||||
link: user.url || "#",
|
||||
};
|
||||
}
|
||||
|
||||
async function itemsForFeed(opts, user, feed) {
|
||||
let items = feed.orderedItems;
|
||||
|
||||
if (opts.boosts) {
|
||||
// yes, I have to fetch all the fucking boosts for this whole feed apparently >:/
|
||||
let boostData = [];
|
||||
let boostUrls = feed.orderedItems
|
||||
.filter((i) => i.type === "Announce")
|
||||
.map((i) => i.object);
|
||||
|
||||
boostData = await promiseSome(boostUrls.map(apGet));
|
||||
|
||||
// now get user data for each of those
|
||||
let userData = await promiseSome(
|
||||
boostData.map((d) => (d ? d.attributedTo || "" : null)).map(apGet)
|
||||
);
|
||||
|
||||
// put a ._userdata key on the item object if this is a boost
|
||||
for (let i = 0; i < boostData.length; i++) {
|
||||
if (userData[i] && boostData[i]) {
|
||||
boostData[i]._userdata = userData[i];
|
||||
}
|
||||
}
|
||||
|
||||
// find them in the item's links
|
||||
if (item['atom:link']){
|
||||
var links = item['atom:link'];
|
||||
if (!isArray(links) && typeof links == 'object'){
|
||||
links = [links];
|
||||
}else if (!isArray(links)){
|
||||
links = [];
|
||||
// some URLs may have failed but IDGAF
|
||||
|
||||
boostData.forEach((boostToot) => {
|
||||
if (!boostToot) {
|
||||
// failed request
|
||||
return;
|
||||
}
|
||||
links.forEach(findEnclosure);
|
||||
}
|
||||
|
||||
// find them in activity:object
|
||||
if (item["activity:object"] && item["activity:object"].link){
|
||||
var enclosureLinks = item["activity:object"].link;
|
||||
if (!isArray(enclosureLinks) && typeof enclosureLinks == 'object'){
|
||||
enclosureLinks = [enclosureLinks];
|
||||
}else if (!isArray(enclosureLinks)){
|
||||
enclosureLinks = [];// not an object or array.
|
||||
// inject in-place into items
|
||||
|
||||
let index = -1;
|
||||
for (let i = 0; i < items.length; i++) {
|
||||
if (items[i].object === boostToot.id) {
|
||||
index = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
enclosureLinks.forEach(findEnclosure);
|
||||
|
||||
if (index === -1) {
|
||||
console.warn(`warning: couldn't match boost to item: ${boostToot}`);
|
||||
return;
|
||||
}
|
||||
|
||||
boostToot.object = boostToot; // this lets the later stage parser access object without errors :)
|
||||
items[index] = boostToot;
|
||||
});
|
||||
}
|
||||
|
||||
return items
|
||||
.filter((item) => {
|
||||
return typeof item.object === "object"; // handle weird cases
|
||||
})
|
||||
.map((item) => {
|
||||
let enclosures = (item.object.attachment || [])
|
||||
.filter((a) => {
|
||||
return a.type === "Document";
|
||||
})
|
||||
.map((a) => {
|
||||
return {
|
||||
name: a.name,
|
||||
type: a.mediaType,
|
||||
url: a.url,
|
||||
};
|
||||
});
|
||||
|
||||
let op = item._userdata ? item._userdata : user;
|
||||
|
||||
let content =
|
||||
item.object && item.object.content ? item.object.content : ""; //TODO sanitize then render without entity escapes
|
||||
|
||||
item.object.tag.forEach((tag) => {
|
||||
if (tag.type === "Emoji") {
|
||||
content = content.replaceAll(
|
||||
tag.name,
|
||||
`<img src="${tag.icon.url}" alt="${tag.name}" title="${tag.name}" width="32" height="32"/>`
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
return {
|
||||
isBoost: !!item._userdata,
|
||||
title: item._userdata
|
||||
? user.preferredUsername +
|
||||
" shared a status by " +
|
||||
op.preferredUsername
|
||||
: "",
|
||||
isReply: !!(item.object && item.object.inReplyTo),
|
||||
hasCw: item.object.sensitive || false,
|
||||
cw: item.object.summary,
|
||||
content: content,
|
||||
atomHref: item.published
|
||||
? item.published.replace(/\W+/g, "")
|
||||
: Math.random().toString().replace("./g", ""), // used for IDs
|
||||
enclosures: enclosures,
|
||||
stringDate: item.published
|
||||
? getTimeDisplay(Date.parse(item.published))
|
||||
: "",
|
||||
permalink: item.object.id ? item.object.id : "#",
|
||||
author: {
|
||||
uri: op.url, // link to author page
|
||||
avatar: op.icon && op.icon.url ? op.icon.url : "",
|
||||
displayName: op.name || op.preferredUsername,
|
||||
fullName: op.preferredUsername + "@" + new URL(op.url).hostname,
|
||||
},
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
function getNextPage(opts, _user, feed) {
|
||||
//based on feed.next
|
||||
if (!feed.next) {
|
||||
return null;
|
||||
}
|
||||
// take feed.next, uriencode it, then take user url, then take options.mastofeedUrl
|
||||
//let base = opts.mastofeedUrl.slice(0,opts.mastofeedUrl.indexOf("?"));
|
||||
|
||||
let ret =
|
||||
"/api/v1/feed?userurl=" +
|
||||
encodeURIComponent(opts.userUrl) +
|
||||
"&feedurl=" +
|
||||
encodeURIComponent(feed.next) +
|
||||
"&instance_type=" +
|
||||
opts.instance_type;
|
||||
|
||||
// add other params to the end
|
||||
["theme", "header", "size", "boosts", "replies"].forEach((k) => {
|
||||
if (typeof opts[k] !== "undefined") {
|
||||
ret += `&${k}=${opts[k].toString()}`;
|
||||
}
|
||||
|
||||
|
||||
// get author info
|
||||
|
||||
item.author = {};
|
||||
var _author = item.meta['atom:author'];
|
||||
if ( item['activity:object'] && item['activity:object'].author){
|
||||
_author = item['activity:object'].author;
|
||||
}
|
||||
|
||||
item.author.name = getH(_author,'name');
|
||||
item.author.uri = getH(_author,'uri');
|
||||
item.author.fullName = getH(_author,'email');
|
||||
item.author.displayName = getH(_author,'poco:displayname')||getH(_author,'poco:preferredUsername')||item.author.name;
|
||||
|
||||
var authorLinks = _author.link || [];
|
||||
|
||||
if (!isArray(authorLinks) && typeof authorLinks == 'object'){
|
||||
authorLinks = [authorLinks];
|
||||
}else if ( !isArray(authorLinks) ){
|
||||
authorLinks = [];// not an object or string.
|
||||
}
|
||||
|
||||
authorLinks.forEach(function(link){// todo: guard against authorLinks not being an array
|
||||
if (!link['@']){return;} // avoid keyerror
|
||||
var rel = link['@'].rel;
|
||||
var href = link['@'].href;
|
||||
if (rel == 'avatar'){
|
||||
item.author.avatar = href;
|
||||
}else if(rel == 'alternate'){
|
||||
item.author.alternate = href;
|
||||
}
|
||||
});
|
||||
|
||||
return true;
|
||||
|
||||
});
|
||||
|
||||
return template(jsonObj);
|
||||
return ret;
|
||||
}
|
||||
|
||||
// utilities below
|
||||
|
||||
// get obj[key]['#'] or ''
|
||||
function getH(obj,key){
|
||||
if (!obj[key]){return ''}
|
||||
return obj[key]['#']||'';
|
||||
}
|
||||
|
||||
function getTimeDisplay(d){
|
||||
var d = d;
|
||||
if (typeof d !== 'object'){
|
||||
d = new Date(d);
|
||||
function getTimeDisplay(d) {
|
||||
if (typeof d !== "object") {
|
||||
d = new Date(d);
|
||||
}
|
||||
// convert to number
|
||||
dt = d.getTime();
|
||||
var now = Date.now();
|
||||
let dt = d.getTime();
|
||||
let now = Date.now();
|
||||
|
||||
var delta = now - dt;
|
||||
let delta = now - dt;
|
||||
|
||||
// over 6 days ago
|
||||
if (delta > 1000*60*60*24*6){
|
||||
if (delta > 1000 * 60 * 60 * 24 * 6) {
|
||||
return isoDateToEnglish(d.toISOString());
|
||||
}else{
|
||||
return timeAgo().format(dt);
|
||||
} else {
|
||||
return format(dt);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function isoDateToEnglish(d){
|
||||
function isoDateToEnglish(d) {
|
||||
let dt = d.split(/[t-]/gi);
|
||||
let months = [
|
||||
"January",
|
||||
"February",
|
||||
"March",
|
||||
"April",
|
||||
"May",
|
||||
"June",
|
||||
"July",
|
||||
"August",
|
||||
"September",
|
||||
"October",
|
||||
"November",
|
||||
"December",
|
||||
];
|
||||
|
||||
var dt = d.split(/[t\-]/ig);
|
||||
var months = [ "January", "February", "March", "April", "May", "June",
|
||||
"July", "August", "September", "October", "November", "December" ];
|
||||
|
||||
return months[Number(dt[1])-1] +' '+dt[2]+ ', '+dt[0];
|
||||
return months[Number(dt[1]) - 1] + " " + dt[2] + ", " + dt[0];
|
||||
}
|
||||
|
|
35
lib/errorPage.js
Normal file
35
lib/errorPage.js
Normal file
|
@ -0,0 +1,35 @@
|
|||
import { compile } from "ejs";
|
||||
import { readFileSync } from "fs";
|
||||
let template = compile(readFileSync("./lib/template.ejs", "utf8"));
|
||||
|
||||
export default function (code, message, displayOptions) {
|
||||
let msg;
|
||||
// const displayOptions = displayOptions || {};
|
||||
|
||||
if (code === 500 && !message) {
|
||||
msg =
|
||||
"<p>Sorry, we are having trouble fetching posts for this user. Please try again later.</p><br><p>If the issue persists, <a href='https://git.froth.zone/Sam/fedifeed/issues'>please open an issue on Gitea</a>, or message sam@froth.zone</p>";
|
||||
} else {
|
||||
msg = message || "";
|
||||
}
|
||||
|
||||
let options = {
|
||||
opts: {
|
||||
header: true,
|
||||
theme: displayOptions?.theme || null,
|
||||
size: displayOptions?.size || null,
|
||||
},
|
||||
meta: {
|
||||
title: code.toString(),
|
||||
description: msg,
|
||||
link: "#",
|
||||
// avatar:'',
|
||||
// headerImage:''
|
||||
},
|
||||
items: [],
|
||||
nextPageLink: null,
|
||||
isIndex: true,
|
||||
};
|
||||
|
||||
return template(options);
|
||||
}
|
219
lib/template.ejs
219
lib/template.ejs
|
@ -1,68 +1,151 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"></meta>
|
||||
<style type="text/css"></style>
|
||||
|
||||
<% if (opts.theme && opts.theme.toLowerCase() == 'light'){ %>
|
||||
<link rel="stylesheet" href="/light.css"></link>
|
||||
<% } else { %>
|
||||
<link rel="stylesheet" href="/dark.css"></link>
|
||||
<% } %>
|
||||
|
||||
<% if (opts.size){ %>
|
||||
<style type="text/css">
|
||||
html,body{
|
||||
font-size: <%= opts.size.toString().slice(0,4) %>%;
|
||||
}
|
||||
</style>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<% if (opts.header !== false){ %>
|
||||
<div class="meta">
|
||||
<div class="title">
|
||||
<a target="_top" href="<%= meta.link %>">
|
||||
<%- meta.title %>'s Feed on Mastodon
|
||||
</a>
|
||||
</div>
|
||||
<div class="description"><%- meta.description %></div>
|
||||
</div>
|
||||
<% } %>
|
||||
<div class="container">
|
||||
<% items.forEach(function(item){ %>
|
||||
<div class="item">
|
||||
<div class="item-title"> <%- item.title %> </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="<%- item.author.uri %>">
|
||||
<img class="avatar" src="<%- item.author.avatar %>"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="<%- item.author.uri %>"> <%= item.author.displayName %> </a>
|
||||
<div class="author-fullname"> <%= item.author.fullName %> </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<%- item.content %>
|
||||
</div>
|
||||
<% if (item.enclosures.length > 0){ %>
|
||||
<div class="enclosures">
|
||||
<% for (var i = 0; i < item.enclosures.length; i ++){ var e = item.enclosures[i] %>
|
||||
<a target="_top" class="enclosure" href="<%= e.url %>" >
|
||||
<% if (e.type.indexOf('image') > -1){ %>
|
||||
<img src="<%= e.url %>"/>
|
||||
<% }else if (e.type.indexOf('video') > -1){ %>
|
||||
<video autoplay loop muted src="<%= e.url %>"/>
|
||||
<% } else { %>
|
||||
<%= e.url %>
|
||||
<% } %>
|
||||
</a>
|
||||
<% } %>
|
||||
</div>
|
||||
<% } %>
|
||||
<div class="date"><%= item.stringDate %></div>
|
||||
</div>
|
||||
<% }); %>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>This is an iFrame how did you get here</title>
|
||||
<meta charset="UTF-8"></meta>
|
||||
<style type="text/css"></style>
|
||||
<base target="_top" /><!-- this element is amazing-->
|
||||
|
||||
<% if (opts.theme && opts.theme?.toLowerCase() === 'masto-light' || opts.theme?.toLowerCase() === 'mastodon-light'){ %>
|
||||
<link rel="stylesheet" href="/css/masto-light.css"></link>
|
||||
<% } else if (opts.theme && opts.theme?.toLowerCase() === 'masto-auto' || opts.theme?.toLowerCase() === 'mastodon-auto'){ %>
|
||||
<link rel="stylesheet" href="/css/masto-auto.css"></link>
|
||||
<% } else if (opts.theme && opts.theme?.toLowerCase() === 'misskey-dark' ){ %>
|
||||
<link rel="stylesheet" href="/css/misskey-dark.css"></link>
|
||||
<% } else if (opts.theme && opts.theme?.toLowerCase() === 'misskey-light'){ %>
|
||||
<link rel="stylesheet" href="/css/misskey-light.css"></link>
|
||||
<% } else if (opts.theme && opts.theme?.toLowerCase() === 'misskey-auto'){ %>
|
||||
<link rel="stylesheet" href="/css/misskey-auto.css"></link>
|
||||
<% } else if (opts.theme && (opts.theme?.toLowerCase() === 'pleroma' || opts.theme?.toLowerCase() === 'pleroma-dark')){ %>
|
||||
<link rel="stylesheet" href="/css/pleroma.css"></link>
|
||||
<% } else { %>
|
||||
<link rel="stylesheet" href="/css/masto-dark.css"></link>
|
||||
<% } %>
|
||||
|
||||
<% if (opts.size){ %>
|
||||
<style type="text/css">
|
||||
html,body{
|
||||
font-size: <%= opts.size.toString().slice(0,4) %>%;
|
||||
}
|
||||
</style>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<% if (opts.header !== false){ %>
|
||||
<div class="meta">
|
||||
|
||||
<div class="header" style="<%= meta.headerImage?`background-image:url(${meta.headerImage})`:'' %>">
|
||||
<a class="header-left" target="_top" href="<%= meta.link %>">
|
||||
<% if (meta.avatar){ %>
|
||||
<img class="avatar circular" src="<%= meta.avatar %>" alt="avatar"/>
|
||||
<% } %>
|
||||
</a>
|
||||
<div class="description header-right">
|
||||
<a class="header-title" target="_top" href="<%= meta.link %>">
|
||||
<%= meta.title %>
|
||||
</a>
|
||||
<br><br>
|
||||
<%- meta.description %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<% let filtered = items.filter(function(item){return !((item.isBoost && !opts.boosts) || (item.isReply && !opts.replies)) })%>
|
||||
<% filtered.forEach(function(item){ %>
|
||||
<div class="item">
|
||||
<% if (item.isBoost) { %>
|
||||
<div class="item-title"> <%- item.title %> </div>
|
||||
<% } %>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="<%- item.author.uri %>">
|
||||
<img class="avatar" src="<%- item.author.avatar %>" alt="avatar"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="<%- item.author.uri %>"> <%= item.author.displayName %> </a>
|
||||
<div class="author-fullname"> <%= item.author.fullName %> </div>
|
||||
</div>
|
||||
</div>
|
||||
<% if (item.hasCw){ %>
|
||||
<% let cwId = (item.cw+item.atomHref).replace(/\W+/g,'') %>
|
||||
<span class="cw"><%- item.cw %></span>
|
||||
<input type="checkbox" class="showmore" id="<%- cwId %>">
|
||||
<label class="button" for="<%- cwId %>">Show</label>
|
||||
<% } %>
|
||||
|
||||
<div class="item-content">
|
||||
<%- item.content %>
|
||||
</div>
|
||||
|
||||
<% if (item.enclosures.length > 0){ %>
|
||||
<div class="enclosures">
|
||||
<% for (let i = 0; i < item.enclosures.length; i ++){ %>
|
||||
<% let e = item.enclosures[i] %>
|
||||
<% if (e.type.indexOf('audio') > -1) {%>
|
||||
<audio class="enclosure" controls loop src="<%= e.url %>"/>
|
||||
<% }else if (e.type.indexOf('video') > -1){ %>
|
||||
<video class="enclosure" controls loop src="<%= e.url %>"/>
|
||||
<% } else { %>
|
||||
<a target="_top" class="enclosure" href="<%= e.url %>" >
|
||||
<% if (e.type.indexOf('image') > -1){ %>
|
||||
<img src="<%= e.url %>" alt="<%= e.name %>" title="<%= e.name %>"/>
|
||||
<% } else { %>
|
||||
<%= e.url %>
|
||||
<% } %>
|
||||
</a>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</div>
|
||||
<% } %>
|
||||
<a class="date" href="<%= item.permalink %>"><%= item.stringDate %></a>
|
||||
</div>
|
||||
<% }); %>
|
||||
<% if (nextPageLink){ %>
|
||||
<div class="item hidden">
|
||||
<a class="hacky_link" href="<%- nextPageLink %>">More</a>
|
||||
</div>
|
||||
<% } %>
|
||||
</div> <!-- end item container -->
|
||||
<% if (nextPageLink){ %>
|
||||
<div class="pagination">
|
||||
<a class="button" href="<%- nextPageLink %>">Load More</a>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if ( isIndex ){ %>
|
||||
<script src="/lib/infinite-scroll.pkgd.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
let lastPageLoaded = null;
|
||||
let infScroll = new InfiniteScroll( '.container', {
|
||||
// options
|
||||
hideNav:'.pagination',
|
||||
append: '.item',
|
||||
history:false,
|
||||
prefill:true,
|
||||
path: function(){
|
||||
// need to query this DOM my damn self
|
||||
let pageLinks = document.querySelectorAll('.hacky_link');
|
||||
if (!pageLinks || pageLinks.length === 0){
|
||||
console.log ('next page link could not be found');
|
||||
return false;
|
||||
}else{
|
||||
let finalLink = pageLinks[pageLinks.length-1].href;
|
||||
// make sure we don't load the same page twice
|
||||
if (!finalLink || finalLink === window.location.href || finalLink === lastPageLoaded){
|
||||
console.log('this was the last page');
|
||||
return false;
|
||||
}else{
|
||||
return finalLink;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<% } %>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
28
package.json
28
package.json
|
@ -1,20 +1,28 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"ejs": "^2.5.6",
|
||||
"express": "^4.15.2",
|
||||
"feedparser": "^2.2.0",
|
||||
"request": "^2.81.0",
|
||||
"serve-static": "^1.12.2",
|
||||
"timeago.js": "^3.0.1"
|
||||
"cors": "2.8.5",
|
||||
"ejs": "3.1.9",
|
||||
"express": ">=5.0.0-beta.1",
|
||||
"megalodon": "6.0.2",
|
||||
"morgan": "1.10.0",
|
||||
"timeago.js": "4.0.2"
|
||||
},
|
||||
"main": "index.js",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"license": "GPL-3.0",
|
||||
"scripts": {
|
||||
"dev": "nodemon src/index.ts",
|
||||
"start": "node index.js",
|
||||
"build-styles": "node build-styles.js"
|
||||
"lint": "eslint --fix . && prettier --write .",
|
||||
"lint:ci": "eslint . && prettier . --check",
|
||||
"test": "true"
|
||||
},
|
||||
"devDependencies": {
|
||||
"metalsmith": "^2.3.0",
|
||||
"metalsmith-sass": "^1.4.0",
|
||||
"node-sass": "^4.5.2"
|
||||
"eslint": "8.41.0",
|
||||
"eslint-config-prettier": "8.8.0",
|
||||
"eslint-plugin-prettier": "4.2.1",
|
||||
"nodemon": "2.0.22",
|
||||
"prettier": "2.8.8"
|
||||
}
|
||||
}
|
||||
|
|
1525
pnpm-lock.yaml
Normal file
1525
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
391
public/css/masto-auto.css
Normal file
391
public/css/masto-auto.css
Normal file
|
@ -0,0 +1,391 @@
|
|||
html,
|
||||
body {
|
||||
background-color: #ffffff;
|
||||
font-family: "Roboto", roboto, Arial, sans-serif;
|
||||
color: #282c37;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: #2b90d9;
|
||||
}
|
||||
|
||||
.meta {
|
||||
background-color: #ecf0f4;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
min-height: 8rem;
|
||||
color: #282c37;
|
||||
}
|
||||
.header .header-left,
|
||||
.header .header-right {
|
||||
margin: 0;
|
||||
}
|
||||
.header .header-left {
|
||||
min-width: 8rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
.header .header-left .avatar {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
position: relative;
|
||||
top: calc(50% - 3rem);
|
||||
}
|
||||
.header .header-right {
|
||||
flex-grow: 1;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.9rem;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
.header .header-title {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #8494ab;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.cw,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.item-content *,
|
||||
.cw {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname {
|
||||
color: #90a1ba;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #282c37;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.avatar.circular {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
border: none;
|
||||
max-height: 12rem;
|
||||
}
|
||||
|
||||
a.enclosure {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
background: #2b90d9;
|
||||
color: #282c37;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label.button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: 0.4rem;
|
||||
background: #8494ab;
|
||||
color: #ffffff;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ label::after {
|
||||
content: " Less";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ label::after {
|
||||
content: " More";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.description,
|
||||
.title,
|
||||
html,
|
||||
body {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: masto-dark) {
|
||||
html,
|
||||
body {
|
||||
background-color: #282c37;
|
||||
font-family: "Roboto", roboto, Arial, sans-serif;
|
||||
color: #ffffff;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
a,
|
||||
a * {
|
||||
color: #2b90d9;
|
||||
}
|
||||
.meta {
|
||||
background-color: #39404d;
|
||||
}
|
||||
.header {
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
min-height: 8rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
.header .header-left,
|
||||
.header .header-right {
|
||||
margin: 0;
|
||||
}
|
||||
.header .header-left {
|
||||
min-width: 8rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: rgba(40, 44, 55, 0.3);
|
||||
}
|
||||
.header .header-left .avatar {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
position: relative;
|
||||
top: calc(50% - 3rem);
|
||||
}
|
||||
.header .header-right {
|
||||
flex-grow: 1;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.9rem;
|
||||
background: rgba(40, 44, 55, 0.85);
|
||||
}
|
||||
.header .header-title {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #626d80;
|
||||
}
|
||||
.item-content,
|
||||
.cw,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
.item-content *,
|
||||
.cw {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname {
|
||||
color: #9baec8;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.date {
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
.date:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.item-title {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
.author {
|
||||
display: flex;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.avatar.circular {
|
||||
border-radius: 100%;
|
||||
}
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
border: none;
|
||||
max-height: 12rem;
|
||||
}
|
||||
a.enclosure {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.meta .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
.button {
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
background: #2b90d9;
|
||||
color: #ffffff;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
user-select: none;
|
||||
}
|
||||
label.button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: 0.4rem;
|
||||
background: #626d80;
|
||||
color: #282c37;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
input[type="checkbox"]:checked ~ label::after {
|
||||
content: " Less";
|
||||
}
|
||||
input[type="checkbox"]:not(:checked) ~ label::after {
|
||||
content: " More";
|
||||
}
|
||||
input[type="checkbox"]:not(:checked) ~ div {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.item-content img {
|
||||
margin: 0;
|
||||
}
|
211
public/css/masto-dark.css
Normal file
211
public/css/masto-dark.css
Normal file
|
@ -0,0 +1,211 @@
|
|||
html,
|
||||
body {
|
||||
background-color: #282c37;
|
||||
font-family: "Roboto", roboto, Arial, sans-serif;
|
||||
color: #ffffff;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: #2b90d9;
|
||||
}
|
||||
|
||||
.meta {
|
||||
background-color: #39404d;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
min-height: 8rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
.header .header-left,
|
||||
.header .header-right {
|
||||
margin: 0;
|
||||
}
|
||||
.header .header-left {
|
||||
min-width: 8rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: rgba(40, 44, 55, 0.3);
|
||||
}
|
||||
.header .header-left .avatar {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
position: relative;
|
||||
top: calc(50% - 3rem);
|
||||
}
|
||||
.header .header-right {
|
||||
flex-grow: 1;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.9rem;
|
||||
background: rgba(40, 44, 55, 0.85);
|
||||
}
|
||||
.header .header-title {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #626d80;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.cw,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.item-content *,
|
||||
.cw {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname {
|
||||
color: #9baec8;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.avatar.circular {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
border: none;
|
||||
max-height: 12rem;
|
||||
}
|
||||
|
||||
a.enclosure {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
background: #2b90d9;
|
||||
color: #ffffff;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label.button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: 0.4rem;
|
||||
background: #626d80;
|
||||
color: #282c37;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ label::after {
|
||||
content: " Less";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ label::after {
|
||||
content: " More";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
img .item-content {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.item-content img {
|
||||
margin: 0;
|
||||
}
|
215
public/css/masto-light.css
Normal file
215
public/css/masto-light.css
Normal file
|
@ -0,0 +1,215 @@
|
|||
html,
|
||||
body {
|
||||
background-color: #ffffff;
|
||||
font-family: "Roboto", roboto, Arial, sans-serif;
|
||||
color: #282c37;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: #2b90d9;
|
||||
}
|
||||
|
||||
.meta {
|
||||
background-color: #ecf0f4;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
min-height: 8rem;
|
||||
color: #282c37;
|
||||
}
|
||||
.header .header-left,
|
||||
.header .header-right {
|
||||
margin: 0;
|
||||
}
|
||||
.header .header-left {
|
||||
min-width: 8rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
.header .header-left .avatar {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
position: relative;
|
||||
top: calc(50% - 3rem);
|
||||
}
|
||||
.header .header-right {
|
||||
flex-grow: 1;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.9rem;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
.header .header-title {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #8494ab;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.cw,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.item-content *,
|
||||
.cw {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname {
|
||||
color: #90a1ba;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #282c37;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.avatar.circular {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
border: none;
|
||||
max-height: 12rem;
|
||||
}
|
||||
|
||||
a.enclosure {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
background: #2b90d9;
|
||||
color: #282c37;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label.button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: 0.4rem;
|
||||
background: #8494ab;
|
||||
color: #ffffff;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ label::after {
|
||||
content: " Less";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ label::after {
|
||||
content: " More";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.description,
|
||||
.title,
|
||||
html,
|
||||
body {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.item-content img {
|
||||
margin: 0;
|
||||
}
|
436
public/css/misskey-auto.css
Normal file
436
public/css/misskey-auto.css
Normal file
|
@ -0,0 +1,436 @@
|
|||
html,
|
||||
body {
|
||||
background-color: rgb(249, 249, 249);
|
||||
font-family: "Roboto", roboto, Arial, sans-serif;
|
||||
color: #282c37;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: rgb(68, 164, 193);
|
||||
}
|
||||
|
||||
a[rel="tag"] {
|
||||
color: rgb(255, 145, 86);
|
||||
}
|
||||
|
||||
.meta {
|
||||
background-color: #ecf0f4;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
min-height: 8rem;
|
||||
color: #282c37;
|
||||
}
|
||||
.header .header-left,
|
||||
.header .header-right {
|
||||
margin: 0;
|
||||
}
|
||||
.header .header-left {
|
||||
min-width: 8rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
.header .header-left .avatar {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
position: relative;
|
||||
top: calc(50% - 3rem);
|
||||
}
|
||||
.header .header-right {
|
||||
flex-grow: 1;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.9rem;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
.header .header-title {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #8494ab;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.cw,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.item-content *,
|
||||
.cw {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname {
|
||||
color: #90a1ba;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #282c37;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.avatar.circular {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
border: none;
|
||||
max-height: 12rem;
|
||||
}
|
||||
|
||||
a.enclosure {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.u-url,
|
||||
.mention {
|
||||
color: #86b300;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
background: #2b90d9;
|
||||
color: #282c37;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label.button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: 0.4rem;
|
||||
background: #8494ab;
|
||||
color: #ffffff;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ label::after {
|
||||
content: " Less";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ label::after {
|
||||
content: " More";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.description,
|
||||
.title,
|
||||
html,
|
||||
body {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: misskey-dark) {
|
||||
html,
|
||||
body {
|
||||
background-color: #232323;
|
||||
font-family: "Roboto", roboto, Arial, sans-serif;
|
||||
color: #dadada;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: rgb(134, 179, 0);
|
||||
}
|
||||
|
||||
a[rel="tag"] {
|
||||
color: rgb(76, 184, 212);
|
||||
}
|
||||
|
||||
.meta {
|
||||
background-color: #39404d;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
min-height: 8rem;
|
||||
color: rgb(199, 209, 216);
|
||||
}
|
||||
.header .header-left,
|
||||
.header .header-right {
|
||||
margin: 0;
|
||||
}
|
||||
.header .header-left {
|
||||
min-width: 8rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: rgba(45, 45, 45, 0.3);
|
||||
}
|
||||
.header .header-left .avatar {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
position: relative;
|
||||
top: calc(50% - 3rem);
|
||||
}
|
||||
.header .header-right {
|
||||
flex-grow: 1;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.9rem;
|
||||
background: rgba(45, 45, 45, 0.85);
|
||||
}
|
||||
.header .header-title {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #626d80;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.cw,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.item-content *,
|
||||
.cw {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname {
|
||||
color: #9baec8;
|
||||
font-size: 0.9rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #dadada;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.avatar.circular {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
border: none;
|
||||
max-height: 12rem;
|
||||
}
|
||||
|
||||
a.enclosure {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.u-url,
|
||||
.mention {
|
||||
color: #86b300;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: rgba(255, 255, 255, 0.1);
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label.button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: 0.4rem;
|
||||
background: #626d80;
|
||||
color: #282c37;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ label::after {
|
||||
content: " Less";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ label::after {
|
||||
content: " More";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ div {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.item-content img {
|
||||
margin: 0;
|
||||
}
|
217
public/css/misskey-dark.css
Normal file
217
public/css/misskey-dark.css
Normal file
|
@ -0,0 +1,217 @@
|
|||
html,
|
||||
body {
|
||||
background-color: #232323;
|
||||
font-family: "Roboto", roboto, Arial, sans-serif;
|
||||
color: #dadada;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: rgb(134, 179, 0);
|
||||
}
|
||||
|
||||
a[rel="tag"] {
|
||||
color: rgb(76, 184, 212);
|
||||
}
|
||||
|
||||
.meta {
|
||||
background-color: #39404d;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
min-height: 8rem;
|
||||
color: rgb(199, 209, 216);
|
||||
}
|
||||
.header .header-left,
|
||||
.header .header-right {
|
||||
margin: 0;
|
||||
}
|
||||
.header .header-left {
|
||||
min-width: 8rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: rgba(45, 45, 45, 0.3);
|
||||
}
|
||||
.header .header-left .avatar {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
position: relative;
|
||||
top: calc(50% - 3rem);
|
||||
}
|
||||
.header .header-right {
|
||||
flex-grow: 1;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.9rem;
|
||||
background: rgba(45, 45, 45, 0.85);
|
||||
}
|
||||
.header .header-title {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #626d80;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.cw,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.item-content *,
|
||||
.cw {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname {
|
||||
color: #9baec8;
|
||||
font-size: 0.9rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #dadada;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.avatar.circular {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
border: none;
|
||||
max-height: 12rem;
|
||||
}
|
||||
|
||||
a.enclosure {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.u-url,
|
||||
.mention {
|
||||
color: #86b300;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: rgba(255, 255, 255, 0.1);
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label.button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: 0.4rem;
|
||||
background: #626d80;
|
||||
color: #282c37;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ label::after {
|
||||
content: " Less";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ label::after {
|
||||
content: " More";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.item-content img {
|
||||
margin: 0;
|
||||
}
|
224
public/css/misskey-light.css
Normal file
224
public/css/misskey-light.css
Normal file
|
@ -0,0 +1,224 @@
|
|||
html,
|
||||
body {
|
||||
background-color: rgb(249, 249, 249);
|
||||
font-family: "Roboto", roboto, Arial, sans-serif;
|
||||
color: #282c37;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: rgb(68, 164, 193);
|
||||
}
|
||||
|
||||
a[rel="tag"] {
|
||||
color: rgb(255, 145, 86);
|
||||
}
|
||||
|
||||
.meta {
|
||||
background-color: #ecf0f4;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
min-height: 8rem;
|
||||
color: #282c37;
|
||||
}
|
||||
.header .header-left,
|
||||
.header .header-right {
|
||||
margin: 0;
|
||||
}
|
||||
.header .header-left {
|
||||
min-width: 8rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
.header .header-left .avatar {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
position: relative;
|
||||
top: calc(50% - 3rem);
|
||||
}
|
||||
.header .header-right {
|
||||
flex-grow: 1;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.9rem;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
.header .header-title {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #8494ab;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.cw,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.item-content *,
|
||||
.cw {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname {
|
||||
color: #90a1ba;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #282c37;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.avatar.circular {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
border: none;
|
||||
max-height: 12rem;
|
||||
}
|
||||
|
||||
a.enclosure {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.u-url,
|
||||
.mention {
|
||||
color: #86b300;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
background: #2b90d9;
|
||||
color: #282c37;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label.button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: 0.4rem;
|
||||
background: #8494ab;
|
||||
color: #ffffff;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ label::after {
|
||||
content: " Less";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ label::after {
|
||||
content: " More";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.description,
|
||||
.title,
|
||||
html,
|
||||
body {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.item-content img {
|
||||
margin: 0;
|
||||
}
|
207
public/css/pleroma.css
Normal file
207
public/css/pleroma.css
Normal file
|
@ -0,0 +1,207 @@
|
|||
html,
|
||||
body {
|
||||
background-color: rgba(15, 22, 30, 1);
|
||||
font-family: "Roboto", roboto, Arial, sans-serif;
|
||||
color: rgba(185, 185, 186, 1);
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: #e2b188;
|
||||
}
|
||||
|
||||
.meta {
|
||||
background-color: #39404d;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
background-size: cover;
|
||||
min-height: 8rem;
|
||||
color: rgba(185, 185, 186, 1);
|
||||
}
|
||||
.header .header-left,
|
||||
.header .header-right {
|
||||
margin: 0;
|
||||
}
|
||||
.header .header-left {
|
||||
min-width: 8rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: rgba(40, 44, 55, 0.3);
|
||||
}
|
||||
.header .header-left .avatar {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
position: relative;
|
||||
top: calc(50% - 3rem);
|
||||
}
|
||||
.header .header-right {
|
||||
flex-grow: 1;
|
||||
font-size: 0.9rem;
|
||||
padding: 0.9rem;
|
||||
background: rgba(40, 44, 55, 0.85);
|
||||
}
|
||||
.header .header-title {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #626d80;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.cw,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.item-content *,
|
||||
.cw {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname {
|
||||
color: rgba(185, 185, 186, 0.5);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: rgba(185, 185, 186, 1);
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
.avatar.circular {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
border: none;
|
||||
max-height: 12rem;
|
||||
}
|
||||
|
||||
a.enclosure {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
margin: 1rem;
|
||||
border-radius: 0.5rem;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
background: #2b90d9;
|
||||
color: rgba(185, 185, 186, 1);
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
text-transform: uppercase;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
label.button {
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin: 0.4rem;
|
||||
background: #626d80;
|
||||
color: #282c37;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ label::after {
|
||||
content: " Less";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ label::after {
|
||||
content: " More";
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not(:checked) ~ div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.item-content img {
|
||||
margin: 0;
|
||||
}
|
214
public/css/stylesheet.css
Normal file
214
public/css/stylesheet.css
Normal file
|
@ -0,0 +1,214 @@
|
|||
/*
|
||||
* Based on .css file from https://joinmastodon.org (by Gargron and latrani)
|
||||
*/
|
||||
|
||||
@import url(https://fonts.googleapis.com/css?family=Quando|Judson|Montserrat:500|Roboto:400,500);
|
||||
a,
|
||||
abbr,
|
||||
acronym,
|
||||
address,
|
||||
applet,
|
||||
article,
|
||||
aside,
|
||||
audio,
|
||||
b,
|
||||
big,
|
||||
blockquote,
|
||||
body,
|
||||
canvas,
|
||||
caption,
|
||||
center,
|
||||
cite,
|
||||
code,
|
||||
dd,
|
||||
del,
|
||||
details,
|
||||
dfn,
|
||||
div,
|
||||
dl,
|
||||
dt,
|
||||
em,
|
||||
embed,
|
||||
fieldset,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
form,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
header,
|
||||
hgroup,
|
||||
html,
|
||||
i,
|
||||
iframe,
|
||||
img,
|
||||
ins,
|
||||
kbd,
|
||||
label,
|
||||
legend,
|
||||
li,
|
||||
mark,
|
||||
menu,
|
||||
nav,
|
||||
object,
|
||||
ol,
|
||||
output,
|
||||
p,
|
||||
pre,
|
||||
q,
|
||||
ruby,
|
||||
s,
|
||||
samp,
|
||||
section,
|
||||
small,
|
||||
span,
|
||||
strike,
|
||||
strong,
|
||||
sub,
|
||||
summary,
|
||||
sup,
|
||||
table,
|
||||
tbody,
|
||||
td,
|
||||
tfoot,
|
||||
th,
|
||||
thead,
|
||||
time,
|
||||
tr,
|
||||
tt,
|
||||
u,
|
||||
ul,
|
||||
var,
|
||||
video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
menu,
|
||||
nav,
|
||||
section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
a {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
label,
|
||||
h3 {
|
||||
color: #607ea7;
|
||||
margin-bottom: 26px;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
body {
|
||||
text-rendering: optimizelegibility;
|
||||
-webkit-font-feature-settings: "kern";
|
||||
font-feature-settings: "kern";
|
||||
-webkit-text-size-adjust: none;
|
||||
-ms-text-size-adjust: none;
|
||||
text-size-adjust: none;
|
||||
box-sizing: border-box;
|
||||
font-family: Roboto, sans-serif;
|
||||
background-color: #000000;
|
||||
color: #5f6b84;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
font-weight: 400;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-size: 26px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="number"],
|
||||
select {
|
||||
outline: 0;
|
||||
box-sizing: border-box;
|
||||
border-radius: 4px;
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: none;
|
||||
padding: 10px;
|
||||
padding-right: 30px;
|
||||
font-family: inherit;
|
||||
background: #0e1013;
|
||||
color: #9baec8;
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-family: Montserrat, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 20px;
|
||||
color: #9baec8;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
opacity: 0.5;
|
||||
-webkit-transition: opacity 0.25s linear;
|
||||
transition: opacity 0.25s linear;
|
||||
}
|
||||
|
||||
div {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.iframe-contain {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
button,
|
||||
a {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
line-height: 36px;
|
||||
padding: 4px 16px;
|
||||
background: transparent;
|
||||
border: 1px solid #9baec8;
|
||||
border-radius: 4px;
|
||||
padding: 3px 15px;
|
||||
color: #9baec8;
|
||||
cursor: pointer;
|
||||
}
|
||||
button:hover,
|
||||
a:hover {
|
||||
background-color: #394150;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.item-content img {
|
||||
margin: 0;
|
||||
}
|
1
public/img/gitea-logo.svg
Normal file
1
public/img/gitea-logo.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640" style="enable-background:new 0 0 640 640" xml:space="preserve" width="32" height="32"><path style="fill:#fff" d="m395.9 484.2-126.9-61c-12.5-6-17.9-21.2-11.8-33.8l61-126.9c6-12.5 21.2-17.9 33.8-11.8 17.2 8.3 27.1 13 27.1 13l-.1-109.2 16.7-.1.1 117.1s57.4 24.2 83.1 40.1c3.7 2.3 10.2 6.8 12.9 14.4 2.1 6.1 2 13.1-1 19.3l-61 126.9c-6.2 12.7-21.4 18.1-33.9 12z"/><path style="fill:#609926" d="M622.7 149.8c-4.1-4.1-9.6-4-9.6-4s-117.2 6.6-177.9 8c-13.3.3-26.5.6-39.6.7v117.2c-5.5-2.6-11.1-5.3-16.6-7.9 0-36.4-.1-109.2-.1-109.2-29 .4-89.2-2.2-89.2-2.2s-141.4-7.1-156.8-8.5c-9.8-.6-22.5-2.1-39 1.5-8.7 1.8-33.5 7.4-53.8 26.9C-4.9 212.4 6.6 276.2 8 285.8c1.7 11.7 6.9 44.2 31.7 72.5 45.8 56.1 144.4 54.8 144.4 54.8s12.1 28.9 30.6 55.5c25 33.1 50.7 58.9 75.7 62 63 0 188.9-.1 188.9-.1s12 .1 28.3-10.3c14-8.5 26.5-23.4 26.5-23.4S547 483 565 451.5c5.5-9.7 10.1-19.1 14.1-28 0 0 55.2-117.1 55.2-231.1-1.1-34.5-9.6-40.6-11.6-42.6zM125.6 353.9c-25.9-8.5-36.9-18.7-36.9-18.7S69.6 321.8 60 295.4c-16.5-44.2-1.4-71.2-1.4-71.2s8.4-22.5 38.5-30c13.8-3.7 31-3.1 31-3.1s7.1 59.4 15.7 94.2c7.2 29.2 24.8 77.7 24.8 77.7s-26.1-3.1-43-9.1zm300.3 107.6s-6.1 14.5-19.6 15.4c-5.8.4-10.3-1.2-10.3-1.2s-.3-.1-5.3-2.1l-112.9-55s-10.9-5.7-12.8-15.6c-2.2-8.1 2.7-18.1 2.7-18.1L322 273s4.8-9.7 12.2-13c.6-.3 2.3-1 4.5-1.5 8.1-2.1 18 2.8 18 2.8L467.4 315s12.6 5.7 15.3 16.2c1.9 7.4-.5 14-1.8 17.2-6.3 15.4-55 113.1-55 113.1z"/><path style="fill:#609926" d="M326.8 380.1c-8.2.1-15.4 5.8-17.3 13.8-1.9 8 2 16.3 9.1 20 7.7 4 17.5 1.8 22.7-5.4 5.1-7.1 4.3-16.9-1.8-23.1l24-49.1c1.5.1 3.7.2 6.2-.5 4.1-.9 7.1-3.6 7.1-3.6 4.2 1.8 8.6 3.8 13.2 6.1 4.8 2.4 9.3 4.9 13.4 7.3.9.5 1.8 1.1 2.8 1.9 1.6 1.3 3.4 3.1 4.7 5.5 1.9 5.5-1.9 14.9-1.9 14.9-2.3 7.6-18.4 40.6-18.4 40.6-8.1-.2-15.3 5-17.7 12.5-2.6 8.1 1.1 17.3 8.9 21.3 7.8 4 17.4 1.7 22.5-5.3 5-6.8 4.6-16.3-1.1-22.6 1.9-3.7 3.7-7.4 5.6-11.3 5-10.4 13.5-30.4 13.5-30.4.9-1.7 5.7-10.3 2.7-21.3-2.5-11.4-12.6-16.7-12.6-16.7-12.2-7.9-29.2-15.2-29.2-15.2s0-4.1-1.1-7.1c-1.1-3.1-2.8-5.1-3.9-6.3 4.7-9.7 9.4-19.3 14.1-29-4.1-2-8.1-4-12.2-6.1-4.8 9.8-9.7 19.7-14.5 29.5-6.7-.1-12.9 3.5-16.1 9.4-3.4 6.3-2.7 14.1 1.9 19.8l-24.6 50.4z"/></svg>
|
After Width: | Height: | Size: 2.2 KiB |
7
public/img/github-logo.svg
Normal file
7
public/img/github-logo.svg
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="1024" height="998.752" viewBox="0, 0, 1024, 998.752">
|
||||
<g id="Layer_1" transform="translate(0, 0)">
|
||||
<path d="M512,-0 C229.25,-0 0,229.25 0,512 C0,738.25 146.688,930.125 350.156,997.812 C375.75,1002.5 385.094,986.687 385.094,973.187 C385.094,960.999 384.625,920.625 384.375,877.875 C242,908.812 211.906,817.5 211.906,817.5 C188.594,758.375 155.062,742.625 155.062,742.625 C108.531,710.875 158.592,711.5 158.592,711.5 C209.998,715.062 237.062,764.25 237.062,764.25 C282.75,842.5 356.937,819.875 386.062,806.75 C390.716,773.75 403.966,751.125 418.562,738.375 C304.906,725.438 185.344,681.5 185.344,485.312 C185.344,429.374 205.313,383.75 238,347.906 C232.781,334.906 215.156,282.812 243.062,212.344 C243.062,212.344 286,198.594 383.874,264.844 C424.686,253.438 468.468,247.813 511.999,247.625 C555.499,247.813 599.311,253.5 640.187,264.906 C737.875,198.594 780.875,212.406 780.875,212.406 C808.875,282.937 791.25,334.968 786,347.906 C818.812,383.75 838.625,429.375 838.625,485.312 C838.625,682 718.875,725.312 604.813,738 C623.251,753.875 639.563,785 639.563,832.75 C639.563,901.188 638.875,956.375 638.875,973.25 C638.875,986.875 648.187,1002.812 674.125,997.812 C877.438,930 1024,738.125 1024,512 C1024,229.25 794.75,-0 512,-0 z" fill="#FFFFFF"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
135
public/index.html
Normal file
135
public/index.html
Normal file
|
@ -0,0 +1,135 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="initial-scale=1" />
|
||||
<title>Fedifeed - embeddable ActivityPub feeds</title>
|
||||
<link rel="stylesheet" href="./css/stylesheet.css" />
|
||||
<script src="./js/script.js" defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<br />
|
||||
<div>
|
||||
<h1>Fedifeed</h1>
|
||||
<h4>Embedded Mastodon/Pleroma/Misskey feeds for blogs, websites, etc.</h4>
|
||||
<a href="https://git.froth.zone/sam/fedifeed" class="cta button alt"
|
||||
>Fork on Gitea
|
||||
<img class="link-logo after" src="img/gitea-logo.svg" alt="Gitea Logo"
|
||||
/></a>
|
||||
<br />
|
||||
<br />
|
||||
<hr />
|
||||
<br />
|
||||
<form action="javascript:genUrl()">
|
||||
<label
|
||||
>Instance URL:<input
|
||||
required
|
||||
type="text"
|
||||
id="urlin"
|
||||
placeholder="froth.zone"
|
||||
oninvalid="this.setCustomValidity('Insert your instance URL. Example: mastodon.social')"
|
||||
oninput="this.setCustomValidity('')"
|
||||
/></label>
|
||||
<br />
|
||||
<label
|
||||
>Username:<input
|
||||
required
|
||||
type="text"
|
||||
id="usernamein"
|
||||
placeholder="sam"
|
||||
oninvalid="this.setCustomValidity('Insert your username. Example: gargron')"
|
||||
oninput="this.setCustomValidity('')"
|
||||
/></label>
|
||||
<br />
|
||||
<label
|
||||
>Width (px):<input
|
||||
required
|
||||
type="number"
|
||||
id="width"
|
||||
value="400"
|
||||
oninvalid="this.setCustomValidity('Insert width of generated feed. Default: 400')"
|
||||
oninput="this.setCustomValidity('')"
|
||||
/></label>
|
||||
<br />
|
||||
<label
|
||||
>Height (px):<input
|
||||
required
|
||||
type="number"
|
||||
id="height"
|
||||
value="800"
|
||||
oninvalid="this.setCustomValidity('Insert height of generated feed. Default: 800')"
|
||||
oninput="this.setCustomValidity('')"
|
||||
/></label>
|
||||
<br />
|
||||
<label
|
||||
>UI Scale (percent):<input
|
||||
required
|
||||
type="number"
|
||||
id="size"
|
||||
value="100"
|
||||
oninvalid="this.setCustomValidity('Insert UI scale. Default: 100')"
|
||||
oninput="this.setCustomValidity('')"
|
||||
/></label>
|
||||
<br />
|
||||
<label
|
||||
>Theme:
|
||||
<select id="theme">
|
||||
<option value="auto-auto">
|
||||
auto-auto (depends on instance, automatic)
|
||||
</option>
|
||||
<option value="auto-dark" selected>
|
||||
auto-dark (depends on instance, use dark)
|
||||
</option>
|
||||
<option value="auto-light">
|
||||
auto-light (depends on instance, use light)
|
||||
</option>
|
||||
<option value="masto-dark">masto-dark</option>
|
||||
<option value="masto-light">masto-light</option>
|
||||
<option value="masto-auto">
|
||||
masto-auto (based on css prefers-color-scheme)
|
||||
</option>
|
||||
<option value="misskey-dark">misskey-dark</option>
|
||||
<option value="misskey-light">misskey-light</option>
|
||||
<option value="misskey-auto">
|
||||
misskey-auto (based on css prefers-color-scheme)
|
||||
</option>
|
||||
<option value="pleroma">pleroma</option>
|
||||
</select>
|
||||
</label>
|
||||
<br />
|
||||
<label
|
||||
>Show Header?<input id="header" type="checkbox" checked="checked"
|
||||
/></label>
|
||||
<br />
|
||||
<label>Hide replies?<input type="checkbox" id="hidereplies" /></label>
|
||||
<br />
|
||||
<label>Hide boosts?<input type="checkbox" id="hideboosts" /></label>
|
||||
<br />
|
||||
<br />
|
||||
<button value="generate">Generate</button>
|
||||
</form>
|
||||
<br /><br />
|
||||
<label
|
||||
>Use this markup in your HTML: <br /><textarea
|
||||
id="result"
|
||||
placeholder="result will go here"
|
||||
></textarea>
|
||||
</label>
|
||||
<br /><br />
|
||||
<h3>Live Preview:</h3>
|
||||
<span class="iframe-contain">
|
||||
<iframe
|
||||
id="frame"
|
||||
title="Powered by Fedifeed"
|
||||
allowfullscreen
|
||||
sandbox="allow-top-navigation allow-scripts"
|
||||
width="400"
|
||||
height="800"
|
||||
src="/api/v1/feed?user=sam&instance=https%3A%2F%2Ffroth.zone&instance_type=&theme=pleroma&size=100&header=true&replies=true&boosts=true"
|
||||
></iframe>
|
||||
</span>
|
||||
<br />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
41
public/js/script.js
Normal file
41
public/js/script.js
Normal file
|
@ -0,0 +1,41 @@
|
|||
window.genUrl = function genUrl() {
|
||||
function val(id) {
|
||||
return document.getElementById(id).value;
|
||||
}
|
||||
|
||||
let user = val("usernamein");
|
||||
let instance = "https://" + val("urlin");
|
||||
|
||||
let showBoosts = (!document.getElementById("hideboosts").checked).toString();
|
||||
let showReplies = (!document.getElementById("hidereplies")
|
||||
.checked).toString();
|
||||
let showHeader = document.getElementById("header").checked.toString();
|
||||
let portStr =
|
||||
window.location.port && window.location.port !== 80
|
||||
? ":" + window.location.port
|
||||
: "";
|
||||
|
||||
// Generate the URL for the iframe
|
||||
// Prettier, WHY
|
||||
let iframeUrl = `${window.location.protocol}//${
|
||||
window.location.hostname
|
||||
}${portStr}/api/v1/feed?user=${encodeURIComponent(
|
||||
user
|
||||
)}&instance=${encodeURIComponent(instance)}&instance_type=&theme=${val(
|
||||
"theme"
|
||||
)}&size=${val(
|
||||
"size"
|
||||
)}&header=${showHeader}&replies=${showReplies}&boosts=${showBoosts}`;
|
||||
|
||||
// Prettier, WHY
|
||||
document.getElementById(
|
||||
"result"
|
||||
).value = `<iframe title="Powered by Fedifeed" allowfullscreen sandbox="allow-top-navigation allow-scripts" width="${val(
|
||||
"width"
|
||||
)}" height="${val("height")}" src="${iframeUrl}"></iframe>`;
|
||||
|
||||
let iframe = document.getElementById("frame");
|
||||
iframe.src = iframeUrl;
|
||||
iframe.width = val("width");
|
||||
iframe.height = val("height");
|
||||
};
|
17
public/lib/infinite-scroll.pkgd.min.js
vendored
Normal file
17
public/lib/infinite-scroll.pkgd.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
4
renovate.json
Normal file
4
renovate.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["config:base"]
|
||||
}
|
0
res.html
0
res.html
7853
sampleobj.json
7853
sampleobj.json
File diff suppressed because it is too large
Load diff
|
@ -1,94 +0,0 @@
|
|||
html,
|
||||
body {
|
||||
background-color: #282c37;
|
||||
font-family: 'Roboto', roboto, Arial, sans-serif;
|
||||
color: #ffffff;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%; }
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: #2b90d9; }
|
||||
|
||||
.meta {
|
||||
padding: 1rem;
|
||||
background-color: #39404d; }
|
||||
|
||||
.meta * {
|
||||
line-height: 2rem; }
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #626d80; }
|
||||
|
||||
.item-content,
|
||||
.description,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter; }
|
||||
|
||||
.item-content * {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem; }
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname,
|
||||
.description {
|
||||
color: #9baec8;
|
||||
font-size: 0.9rem; }
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0; }
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin: 1rem 0; }
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around; }
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder; }
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%; }
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden; }
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
display: inline-block;
|
||||
border: none;
|
||||
cursor: zoom-in;
|
||||
max-height: 12rem; }
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover; }
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold; }
|
|
@ -1,51 +0,0 @@
|
|||
<html><head>
|
||||
<title>Mastofeed - embeddable Mastodon feeds</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Mastofeed</h1>
|
||||
<h4>Embedded Mastodon feeds for blogs etc.</h4>
|
||||
<a href="https://github.com/fenwick67/mastofeed">Fork on Github</a><br>
|
||||
<br><hr><br>
|
||||
<form action="javascript:genUrl()">
|
||||
<label>Instance URL:<input required type="text" id="urlin" placeholder="octodon.social"></label><br>
|
||||
<label>Username:<input required type="text" id="usernamein" placeholder="fenwick67"></label><br>
|
||||
<label>Width(px):<input required type="number" id="width" value="400"></label><br>
|
||||
<label>Height(px):<input required type="number" id="height" value="800"></label><br>
|
||||
<label>UI scale (percent):<input required type="number" id="size" value="100"></label><br>
|
||||
<label>theme:
|
||||
<select id="theme">
|
||||
<option value="dark">dark</option>
|
||||
<option value="light">light</option>
|
||||
</select>
|
||||
</label><br>
|
||||
<label>Show header?<input id="header" type="checkbox" checked></label><br>
|
||||
<button value="generate">Generate</button>
|
||||
</form>
|
||||
<br>
|
||||
<br>
|
||||
<label>Use this markup in your HTML: <br><textarea id="result" placeholder="result will go here"></textarea></label>
|
||||
<br>
|
||||
<h4>Live Preview:</h4>
|
||||
<iframe id="frame" allowfullscreen sandbox="allow-top-navigation allow-scripts" width="400" height="800" src="/api/feed?url=https%3A%2F%2Foctodon.social%2Fusers%2Ffenwick67.atom&theme=dark&size=100&header=true"></iframe>
|
||||
<script>
|
||||
window.genUrl = function genUrl(){
|
||||
function val(id){
|
||||
return document.getElementById(id).value;
|
||||
}
|
||||
|
||||
var inUrl = 'https://' + val('urlin') + '/users/'+val('usernamein')+'.atom';
|
||||
|
||||
var iframeUrl = window.location.protocol + '//'+ window.location.hostname +((window.location.port && window.location.port!=80)?(':'+window.location.port):'')
|
||||
+"/api/feed?url="+encodeURIComponent(inUrl)+"&theme="+val('theme')+'&size='+val('size')
|
||||
+ "&header="+(document.getElementById('header').checked.toString());
|
||||
|
||||
document.getElementById('result').value = '<iframe allowfullscreen sandbox="allow-top-navigation allow-scripts" width="'+val('width')+'" height="'+val('height')+'" src="'+iframeUrl+'"></iframe>';
|
||||
|
||||
var iframe = document.getElementById('frame');
|
||||
iframe.src = iframeUrl;
|
||||
iframe.width = val('width');
|
||||
iframe.height = val('height');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
101
static/light.css
101
static/light.css
|
@ -1,101 +0,0 @@
|
|||
html,
|
||||
body {
|
||||
background-color: #ffffff;
|
||||
font-family: 'Roboto', roboto, Arial, sans-serif;
|
||||
color: #282c37;
|
||||
font-weight: lighter;
|
||||
overflow-x: hidden;
|
||||
font-size: 100%; }
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: #2b90d9; }
|
||||
|
||||
.meta {
|
||||
padding: 1rem;
|
||||
background-color: #ecf0f4; }
|
||||
|
||||
.meta * {
|
||||
line-height: 2rem; }
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px #8494ab; }
|
||||
|
||||
.item-content,
|
||||
.description,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: lighter; }
|
||||
|
||||
.item-content * {
|
||||
margin: 1rem 0;
|
||||
line-height: 1.4rem; }
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname,
|
||||
.description {
|
||||
color: #90a1ba;
|
||||
font-size: 0.9rem; }
|
||||
|
||||
.date {
|
||||
margin: 1rem 0 0 0; }
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin: 1rem 0; }
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around; }
|
||||
.author-info .author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: #282c37;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder; }
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%; }
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden; }
|
||||
|
||||
.enclosure {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
width: 50%;
|
||||
display: inline-block;
|
||||
border: none;
|
||||
cursor: zoom-in;
|
||||
max-height: 12rem; }
|
||||
|
||||
.enclosure > * {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover; }
|
||||
|
||||
.meta .title {
|
||||
font-weight: bold; }
|
||||
|
||||
.item-content,
|
||||
.description,
|
||||
.title,
|
||||
html,
|
||||
body {
|
||||
font-weight: normal; }
|
|
@ -1,118 +0,0 @@
|
|||
$bg: #fff !default;
|
||||
$bg2: darken($bg, 6) !default;
|
||||
$fg: #000 !default;
|
||||
$dim: lighten($fg, 50) !default;
|
||||
$dimmer: darken($bg2, 10) !default;
|
||||
$link: #09c !default;
|
||||
|
||||
html,
|
||||
body {
|
||||
background-color: $bg;
|
||||
font-family: 'Roboto', roboto, Arial, sans-serif;
|
||||
color: $fg;
|
||||
font-weight: lighter;
|
||||
overflow-x:hidden;
|
||||
font-size:100%;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a,
|
||||
a * {
|
||||
color: $link;
|
||||
}
|
||||
|
||||
.meta {
|
||||
padding: 1rem;
|
||||
background-color: $bg2;
|
||||
}
|
||||
|
||||
.meta * {
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1rem;
|
||||
border-top: solid 1px $dimmer;
|
||||
}
|
||||
|
||||
.item-content,
|
||||
.description,
|
||||
.title {
|
||||
font-size: 1.1rem;
|
||||
font-weight:lighter;
|
||||
}
|
||||
|
||||
|
||||
.item-content * {
|
||||
margin: 1rem 0;
|
||||
line-height:1.4rem;
|
||||
}
|
||||
|
||||
.item-title,
|
||||
.date,
|
||||
.author-fullname,
|
||||
.description {
|
||||
color: $dim;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.date{
|
||||
margin: 1rem 0 0 0;
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.author-info {
|
||||
margin: 0 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
.author-displayname {
|
||||
font-size: 1.2rem;
|
||||
color: $fg;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-weight: bolder;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 10%;
|
||||
}
|
||||
|
||||
.enclosures {
|
||||
padding: 0.5em 0;
|
||||
display: flex;
|
||||
flex-wrap:wrap;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.enclosure{
|
||||
|
||||
display:flex;
|
||||
flex: 1 1 auto;
|
||||
width:50%;
|
||||
display: inline-block;
|
||||
border: none;
|
||||
cursor: zoom-in;
|
||||
max-height: 12rem;
|
||||
}
|
||||
.enclosure>*{
|
||||
flex: 1 1 auto;
|
||||
width:100%;
|
||||
height:100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.meta .title{
|
||||
font-weight:bold;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
@import 'mastodon-vars.scss';
|
||||
|
||||
$bg: $darkest;
|
||||
$bg2: mix($darkest,$lighter,85%);
|
||||
$fg: $white;
|
||||
$dim: $lighter;
|
||||
$dimmer: mix($darkest,$lighter,50%);
|
||||
$link: $vibrant;
|
||||
|
||||
@import 'base.scss';
|
|
@ -1,18 +0,0 @@
|
|||
@import 'mastodon-vars.scss';
|
||||
|
||||
$bg: $white ;
|
||||
$bg2: mix($lightest,$white);
|
||||
$fg: $darkest;
|
||||
$dim: mix($lighter,$darkest,90%);
|
||||
$dimmer: mix($lighter,$darkest,80%);
|
||||
$link: $vibrant;
|
||||
|
||||
@import 'base.scss';
|
||||
|
||||
.item-content,
|
||||
.description,
|
||||
.title,
|
||||
html,
|
||||
body {
|
||||
font-weight:normal;
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
$darkest: #282c37 !default; // darkest
|
||||
$lightest: #d9e1e8 !default; // lightest
|
||||
$lighter: #9baec8 !default; // lighter
|
||||
$vibrant: #2b90d9 !default; // vibrant
|
||||
$white: #ffffff !default; // white
|
||||
$error: #df405a !default; // error red
|
||||
$succ: #79bd9a !default; // succ green
|
||||
$black: #000000 !default; // black
|
|
@ -1,47 +0,0 @@
|
|||
<body class="embed">
|
||||
<div class="activity-stream activity-stream-headless">
|
||||
<div class="entry entry-reblog h-cite">
|
||||
<div class="pre-header">
|
||||
<div class="pre-header__icon">
|
||||
<i class="fa fa-retweet fa-fw"></i>
|
||||
</div>
|
||||
<span>
|
||||
<a class="status__display-name muted" href="https://octodon.social/@fenwick67"><strong class="emojify">fenwick67 <img draggable="false" class="emojione" alt="🦆" src="/emoji/1f986.svg"></strong>
|
||||
</a>boosted
|
||||
</span>
|
||||
</div>
|
||||
<div class="detailed-status light">
|
||||
<a class="detailed-status__display-name p-author h-card" target="_blank" rel="noopener" href="https://social.tchncs.de/@muninnherself"><div>
|
||||
<div class="avatar">
|
||||
<img alt="" class="u-photo" src="https://assets.octodon.social/accounts/avatars/000/018/289/original/eb6b32e85f8606b4.jpg" width="48" height="48">
|
||||
</div>
|
||||
</div>
|
||||
<span class="display-name">
|
||||
<strong class="p-name emojify">Jack Fraser</strong>
|
||||
<span>@muninnherself@social.tchncs.de</span>
|
||||
</span>
|
||||
</a><div class="status__content p-name emojify"><div class="e-content" style="display: block; direction: ltr" lang="es"><p><a href="https://social.tchncs.de/tags/dailymegalith">#<span>DailyMegalith</span></a> Corrimony chambered cairn <a href="https://social.tchncs.de/tags/highland">#<span>Highland</span></a> <a href="https://social.tchncs.de/tags/scotland">#<span>Scotland</span></a> (2009) <a href="https://social.tchncs.de/media/MxqONSPOUvoExt4uVPM"><span class="invisible">https://</span><span class="ellipsis">social.tchncs.de/media/MxqONSP</span><span class="invisible">OUvoExt4uVPM</span></a></p></div></div>
|
||||
<div class="detailed-status__attachments">
|
||||
<div class="status__attachments__inner">
|
||||
<div class="media-item">
|
||||
<a style="background-image: url(https://assets.octodon.social/media_attachments/files/000/110/813/original/cbc5fbacac3f24d1.jpg)" target="_blank" rel="noopener" class="u-photo" href="https://social.tchncs.de/system/media_attachments/files/000/103/988/original/cbc5fbacac3f24d1.jpg"></a></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="detailed-status__meta">
|
||||
<data class="dt-published" value="2017-04-29T19:52:16+00:00"></data>
|
||||
<a class="detailed-status__datetime u-url u-uid" target="_blank" rel="noopener" href="https://social.tchncs.de/users/muninnherself/updates/69203"><span><time datetime="2017-04-29T19:52:16Z" data-local="time" data-format="%b %d, %Y, %H:%M" title="April 29, 2017 at 2:52pm CST" data-localized="true">Apr 29, 2017, 14:52</time></span>
|
||||
</a>·
|
||||
<span><i class="fa fa-retweet"></i><span>1</span></span>
|
||||
·
|
||||
<span><i class="fa fa-star"></i><span>1</span></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
467
test/result.html
467
test/result.html
|
@ -1,467 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"></meta>
|
||||
<style type="text/css"></style>
|
||||
|
||||
|
||||
<link rel="stylesheet" href="/dark.css"></link>
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="meta">
|
||||
<div class="title">
|
||||
<a target="_top" href="https://octodon.social/@fenwick67">
|
||||
fenwick67 🦆's Feed on Mastodon
|
||||
</a>
|
||||
</div>
|
||||
<div class="description">Engineer, Developer, Person. http://fenwick.pizza</div>
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by atomjack@mastodon.cloud </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://mastodon.cloud/users/atomjack">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/028/884/original/6aec0dd6b35caa8f.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://mastodon.cloud/users/atomjack"> @Om* </a>
|
||||
<div class="author-fullname"> atomjack@mastodon.cloud </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p>sea green slice...</p><p><a href="https://mastodon.cloud/tags/seagreen">#<span>seagreen</span></a> <a href="https://mastodon.cloud/tags/turquoise">#<span>turquoise</span></a> <a href="https://mastodon.cloud/tags/teal">#<span>teal</span></a> <a href="https://mastodon.cloud/tags/triangle">#<span>triangle</span></a> <a href="https://mastodon.cloud/tags/slice">#<span>slice</span></a> <a href="https://mastodon.cloud/tags/slicing">#<span>slicing</span></a> <a href="https://mastodon.cloud/tags/animatedgif">#<span>animatedgif</span></a> #∇ #▲ # ▽ #⦿</p>
|
||||
</div>
|
||||
|
||||
<div class="enclosures">
|
||||
|
||||
<a target="_top" class="enclosure" href="https://assets.octodon.social/media_attachments/files/000/121/044/original/media.mp4" >
|
||||
|
||||
<video autoplay loop muted src="https://assets.octodon.social/media_attachments/files/000/121/044/original/media.mp4"/>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="date">4 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by Lanthus@mastodon.social </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://mastodon.social/users/Lanthus">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/002/461/original/3b78f937a0ef4ef9.gif"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://mastodon.social/users/Lanthus"> Magical Lan </a>
|
||||
<div class="author-fullname"> Lanthus@mastodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><a href="https://mastodon.social/media/tVmZDIUbzvqkF_spZoA"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/media/tVmZDIUb</span><span class="invisible">zvqkF_spZoA</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="enclosures">
|
||||
|
||||
<a target="_top" class="enclosure" href="https://assets.octodon.social/media_attachments/files/000/121/050/original/media.mp4" >
|
||||
|
||||
<video autoplay loop muted src="https://assets.octodon.social/media_attachments/files/000/121/050/original/media.mp4"/>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="date">4 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by eggplant@mastodon.social </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://mastodon.social/users/eggplant">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/001/063/original/media.png"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://mastodon.social/users/eggplant"> Kev </a>
|
||||
<div class="author-fullname"> eggplant@mastodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p>did you know gaming literally just said that kk slider can't technically play some songs because he only has three fingers and some chords need four fingers to be played</p><p>kk slider<br>the talking dog</p>
|
||||
</div>
|
||||
|
||||
<div class="date">5 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by bit_aspect </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/bit_aspect">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/007/003/original/05b1c63ed5688d1a.gif"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/bit_aspect"> Alex 👾 </a>
|
||||
<div class="author-fullname"> bit_aspect@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p>I decided to do one more mini-landscape. It took one hour, but I'm had so much fun doing this! Landscape as usual ahaha<br /><a href="https://octodon.social/tags/pixelart" class="mention hashtag">#<span>pixelart</span></a> <a href="https://octodon.social/tags/mastoart" class="mention hashtag">#<span>mastoart</span></a> <a href="https://octodon.social/tags/landscape" class="mention hashtag">#<span>landscape</span></a> <a href="https://octodon.social/tags/ocean" class="mention hashtag">#<span>ocean</span></a> <a href="https://octodon.social/tags/sunset" class="mention hashtag">#<span>sunset</span></a> <a href="https://octodon.social/media/cYdYc2pP_vr1s9VpFkU" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">octodon.social/media/cYdYc2pP_</span><span class="invisible">vr1s9VpFkU</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="enclosures">
|
||||
|
||||
<a target="_top" class="enclosure" href="https://assets.octodon.social/media_attachments/files/000/120/697/original/165ca3a1c16625b2.png" >
|
||||
|
||||
<img src="https://assets.octodon.social/media_attachments/files/000/120/697/original/165ca3a1c16625b2.png"/>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="date">6 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by cadey@mst3k.interlinked.me </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://mst3k.interlinked.me/users/cadey">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/037/105/original/927923b8c70648d3.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://mst3k.interlinked.me/users/cadey"> Cadey ✅ </a>
|
||||
<div class="author-fullname"> cadey@mst3k.interlinked.me </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><span class="h-card"><a href="https://hex.bz/@somarasu">@<span>somarasu</span></a></span> <a href="https://mst3k.interlinked.me/media/WXHO4KS_mNYwtwP7E_8"><span class="invisible">https://</span><span class="ellipsis">mst3k.interlinked.me/media/WXH</span><span class="invisible">O4KS_mNYwtwP7E_8</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="enclosures">
|
||||
|
||||
<a target="_top" class="enclosure" href="https://assets.octodon.social/media_attachments/files/000/120/369/original/319ddeae0a3bb4ad.jpg" >
|
||||
|
||||
<img src="https://assets.octodon.social/media_attachments/files/000/120/369/original/319ddeae0a3bb4ad.jpg"/>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="date">7 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by muninnherself@social.tchncs.de </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://social.tchncs.de/users/muninnherself">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/018/289/original/eb6b32e85f8606b4.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://social.tchncs.de/users/muninnherself"> Jack Fraser </a>
|
||||
<div class="author-fullname"> muninnherself@social.tchncs.de </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><a href="https://social.tchncs.de/tags/dailymegalith">#<span>DailyMegalith</span></a> Standing stone, Merrivale, <a href="https://social.tchncs.de/tags/dartmoor">#<span>Dartmoor</span></a> <a href="https://social.tchncs.de/tags/devon">#<span>Devon</span></a> (2013) <a href="https://social.tchncs.de/media/qGTpuwuUh2P8ZYPDjM0"><span class="invisible">https://</span><span class="ellipsis">social.tchncs.de/media/qGTpuwu</span><span class="invisible">Uh2P8ZYPDjM0</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="enclosures">
|
||||
|
||||
<a target="_top" class="enclosure" href="https://assets.octodon.social/media_attachments/files/000/120/392/original/66ba1accf50e57ee.jpg" >
|
||||
|
||||
<img src="https://assets.octodon.social/media_attachments/files/000/120/392/original/66ba1accf50e57ee.jpg"/>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="date">7 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by JensE@mammouth.cafe </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://mammouth.cafe/users/JensE">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/039/712/original/194cc899a33cc4a9.png"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://mammouth.cafe/users/JensE"> JensE </a>
|
||||
<div class="author-fullname"> JensE@mammouth.cafe </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p>Chicks hatched today.</p><p>They're still wet so I won't subject them to a photosession, but if you stick your head out you're fair game ... <a href="https://mammouth.cafe/media/e4MxKqk66t0s9hSLr2g"><span class="invisible">https://</span><span class="ellipsis">mammouth.cafe/media/e4MxKqk66t</span><span class="invisible">0s9hSLr2g</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="enclosures">
|
||||
|
||||
<a target="_top" class="enclosure" href="https://assets.octodon.social/media_attachments/files/000/119/941/original/aa56c4532e53ffd4.jpg" >
|
||||
|
||||
<img src="https://assets.octodon.social/media_attachments/files/000/119/941/original/aa56c4532e53ffd4.jpg"/>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="date">9 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><span class="h-card"><a href="https://mastodon.social/@LukasRos" class="u-url mention">@<span>LukasRos</span></a></span> looks like you shared an embedded video, which I did not test for. The video does not show up yet, but it no longer crashes the application and the rest of your feed shows up now 😉</p>
|
||||
</div>
|
||||
|
||||
<div class="date">9 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><span class="h-card"><a href="https://mastodon.cloud/@bscott" class="u-url mention">@<span>bscott</span></a></span> Thanks, I'll put this on my todo list.</p>
|
||||
</div>
|
||||
|
||||
<div class="date">11 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><span class="h-card"><a href="https://mastodon.social/@LukasRos" class="u-url mention">@<span>LukasRos</span></a></span> will investigate later today</p>
|
||||
</div>
|
||||
|
||||
<div class="date">11 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><span class="h-card"><a href="https://cybre.space/@chr" class="u-url mention">@<span>chr</span></a></span> <span class="h-card"><a href="https://slime.global/@masklayer" class="u-url mention">@<span>masklayer</span></a></span> <a href="https://octodon.social/media/nd0U3ZxrKlNtEgpdB-Q" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">octodon.social/media/nd0U3ZxrK</span><span class="invisible">lNtEgpdB-Q</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="date">23 hours ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><span class="h-card"><a href="https://mastodon.technology/@asbjorn" class="u-url mention">@<span>asbjorn</span></a></span> This is simultaneously really slick but also not annoying web-3.0 stuff. 💯on the design.</p><p>Notes: Font-awesome fails to load. I like to use "//" for my absolute URLs and that usually avoids that 😊. Also it looks kinda wonky with a mobile sized viewport, most noticably by where it says "loud as hell".</p>
|
||||
</div>
|
||||
|
||||
<div class="date">1 day ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by programwitch@social.targaryen.house </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://social.targaryen.house/users/programwitch">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/034/731/original/d45847138fa633bf.jpeg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://social.targaryen.house/users/programwitch"> K. Latham 🎃 </a>
|
||||
<div class="author-fullname"> programwitch@social.targaryen.house </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p>Sure, you're goth, but are you dejectedly riding the subway with your raven goth? <a href="http://pic.twitter.com/KDboTBUI2O"><span class="invisible">http://</span><span class="">pic.twitter.com/KDboTBUI2O</span><span class="invisible"></span></a><br>— Max Sparber (@maxsparber) April 29, 2017<br><a href="https://t.co/KDboTBUI2O"><span class="invisible">https://</span><span class="">t.co/KDboTBUI2O</span><span class="invisible"></span></a> <a href="https://social.targaryen.house/tags/twitter">#<span>twitter</span></a> </p><p><a href="https://social.targaryen.house/media/ZaOdFDAeEowGVnpbHps"><span class="invisible">https://</span><span class="ellipsis">social.targaryen.house/media/Z</span><span class="invisible">aOdFDAeEowGVnpbHps</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="enclosures">
|
||||
|
||||
<a target="_top" class="enclosure" href="https://assets.octodon.social/media_attachments/files/000/116/863/original/c6d262aacd64d7c2.jpeg" >
|
||||
|
||||
<img src="https://assets.octodon.social/media_attachments/files/000/116/863/original/c6d262aacd64d7c2.jpeg"/>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="date">1 day ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><a href="https://octodon.social/tags/easteregg" class="mention hashtag">#<span>easteregg</span></a> there's a SCSS variable called "succ green" in the mastodon source but I don't see any green in the UI, so I must assume this is just <span class="h-card"><a href="https://mastodon.social/@Gargron" class="u-url mention">@<span>gargron</span></a></span> making a joke</p><p> <a href="https://github.com/tootsuite/mastodon/blob/3d3e32befb369f8c6a9f3ac1ee48bce3d266f4b8/app/assets/stylesheets/variables.scss#L7" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/tootsuite/mastodon/</span><span class="invisible">blob/3d3e32befb369f8c6a9f3ac1ee48bce3d266f4b8/app/assets/stylesheets/variables.scss#L7</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="date">1 day ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><span class="h-card"><a href="https://botsin.space/@neural_tv" class="u-url mention">@<span>neural_tv</span></a></span> omg Sarah McLaughlin followed us to Mastodon to get us to join the ASPCA</p>
|
||||
</div>
|
||||
|
||||
<div class="date">1 day ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><span class="h-card"><a href="https://mastodon.cloud/@expenses" class="u-url mention">@<span>expenses</span></a></span> looks like one of those obfuscated scripts somebody gets you to run that really just runs "rm -rf /"</p>
|
||||
</div>
|
||||
|
||||
<div class="date">1 day ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p>IDE features I would pay for: </p><p>A list of buttons that run my npm/gulp tasks based on my package.json with one click. Instead of having to alt+tab, ctrl+c, up, enter, alt+tab every time.</p>
|
||||
</div>
|
||||
|
||||
<div class="date">1 day ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by steeliestllama@witches.town </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://witches.town/users/steeliestllama">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/016/054/original/81c62c7e7d351553.png"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://witches.town/users/steeliestllama"> Logan Osborne 🐙⚧ </a>
|
||||
<div class="author-fullname"> steeliestllama@witches.town </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p>me: I don't care about anything lol</p><p>also me: gives food that resembles an animal feelings and a personality</p><p>also me: does this with plushies</p><p>me: yeah don't care about anything ever lol</p>
|
||||
</div>
|
||||
|
||||
<div class="date">1 day ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> fenwick67 shared a status by 6669@catdon.life </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://catdon.life/users/6669">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/049/095/original/f01bdd6fcc3ba225.jpeg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://catdon.life/users/6669"> なりちか </a>
|
||||
<div class="author-fullname"> 6669@catdon.life </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p>耳毛ぼわっさぁ<br><a href="https://catdon.life/media/WVW-PRppyww4nIm542o"><span class="invisible">https://</span><span class="ellipsis">catdon.life/media/WVW-PRppyww4</span><span class="invisible">nIm542o</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="enclosures">
|
||||
|
||||
<a target="_top" class="enclosure" href="https://assets.octodon.social/media_attachments/files/000/116/773/original/badeb618946b2f18.jpeg" >
|
||||
|
||||
<img src="https://assets.octodon.social/media_attachments/files/000/116/773/original/badeb618946b2f18.jpeg"/>
|
||||
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="date">1 day ago</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<div class="item-title"> New status by fenwick67 </div>
|
||||
<div class="author">
|
||||
<a target="_top" class="avatar" href="https://octodon.social/users/fenwick67">
|
||||
<img class="avatar" src="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
</a>
|
||||
<div class="author-info">
|
||||
<a target="_top" class="author-displayname" href="https://octodon.social/users/fenwick67"> fenwick67 🦆 </a>
|
||||
<div class="author-fullname"> fenwick67@octodon.social </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-content">
|
||||
<p><span class="h-card"><a href="https://mastodon.xyz/@marko" class="u-url mention">@<span>marko</span></a></span> this one is beautiful <a href="http://www.ustream.tv/channel/iss-hdev-payload" rel="nofollow noopener" target="_blank"><span class="invisible">http://www.</span><span class="ellipsis">ustream.tv/channel/iss-hdev-pa</span><span class="invisible">yload</span></a></p>
|
||||
</div>
|
||||
|
||||
<div class="date">1 day ago</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
607
test/sample.atom
607
test/sample.atom
|
@ -1,607 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:media="http://purl.org/syndication/atommedia" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:mastodon="http://mastodon.social/schema/1.0">
|
||||
<id>https://octodon.social/users/fenwick67.atom</id>
|
||||
<title>fenwick67 🦆</title>
|
||||
<subtitle>Engineer, Developer, Person. http://fenwick.pizza</subtitle>
|
||||
<updated>2017-04-26T21:55:05Z</updated>
|
||||
<logo>https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg</logo>
|
||||
<author>
|
||||
<id>https://octodon.social/users/fenwick67</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://octodon.social/users/fenwick67</uri>
|
||||
<name>fenwick67</name>
|
||||
<email>fenwick67@octodon.social</email>
|
||||
<summary type="html"><p>Engineer, Developer, Person. <a href="http://fenwick.pizza/" rel="nofollow noopener" target="_blank"><span class="invisible">http://</span><span class="">fenwick.pizza/</span><span class="invisible"></span></a></p></summary>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/@fenwick67"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/008/871/original/d5281ad9c6c7401d.jpg"/>
|
||||
<link rel="header" type="" media:width="700" media:height="335" href="/headers/original/missing.png"/>
|
||||
<poco:preferredUsername>fenwick67</poco:preferredUsername>
|
||||
<poco:displayName>fenwick67 🦆</poco:displayName>
|
||||
<poco:note>Engineer, Developer, Person. http://fenwick.pizza</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/@fenwick67"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67.atom"/>
|
||||
<link rel="next" type="application/atom+xml" href="https://octodon.social/users/fenwick67.atom?max_id=100918"/>
|
||||
<link rel="hub" href="https://octodon.social/api/push"/>
|
||||
<link rel="salmon" href="https://octodon.social/api/salmon/8871"/>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1470035:objectType=Status</id>
|
||||
<published>2017-05-01T22:33:01Z</published>
|
||||
<updated>2017-05-01T22:33:01Z</updated>
|
||||
<title>fenwick67 shared a status by atomjack@mastodon.cloud</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:mastodon.cloud,2017-05-01:objectId=5469441:objectType=Status</id>
|
||||
<published>2017-05-01T22:25:25Z</published>
|
||||
<updated>2017-05-01T22:25:26Z</updated>
|
||||
<title>New status by atomjack@mastodon.cloud</title>
|
||||
<author>
|
||||
<id>https://mastodon.cloud/users/atomjack</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://mastodon.cloud/users/atomjack</uri>
|
||||
<name>atomjack</name>
|
||||
<email>atomjack@mastodon.cloud</email>
|
||||
<summary type="html"><p>calibrating, stabilizing, vortexing, remain calm </p><p>beyond the green event horizon</p></summary>
|
||||
<link rel="alternate" type="text/html" href="https://mastodon.cloud/@atomjack"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/028/884/original/6aec0dd6b35caa8f.jpg"/>
|
||||
<link rel="header" type="image/jpeg" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/028/884/original/fc0b527417bc89cc.jpg"/>
|
||||
<poco:preferredUsername>atomjack</poco:preferredUsername>
|
||||
<poco:displayName>@Om*</poco:displayName>
|
||||
<poco:note>calibrating, stabilizing, vortexing, remain calm beyond the green event horizon</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="ru"><p>sea green slice...</p><p><a href="https://mastodon.cloud/tags/seagreen">#<span>seagreen</span></a> <a href="https://mastodon.cloud/tags/turquoise">#<span>turquoise</span></a> <a href="https://mastodon.cloud/tags/teal">#<span>teal</span></a> <a href="https://mastodon.cloud/tags/triangle">#<span>triangle</span></a> <a href="https://mastodon.cloud/tags/slice">#<span>slice</span></a> <a href="https://mastodon.cloud/tags/slicing">#<span>slicing</span></a> <a href="https://mastodon.cloud/tags/animatedgif">#<span>animatedgif</span></a> #∇ #▲ # ▽ #⦿</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<category term="seagreen"/>
|
||||
<category term="turquoise"/>
|
||||
<category term="teal"/>
|
||||
<category term="triangle"/>
|
||||
<category term="slice"/>
|
||||
<category term="slicing"/>
|
||||
<category term="animatedgif"/>
|
||||
<link rel="enclosure" type="video/mp4" length="128983" href="https://assets.octodon.social/media_attachments/files/000/121/044/original/media.mp4"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://mastodon.cloud/users/atomjack/updates/530298"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p>sea green slice...</p><p><a href="https://mastodon.cloud/tags/seagreen">#<span>seagreen</span></a> <a href="https://mastodon.cloud/tags/turquoise">#<span>turquoise</span></a> <a href="https://mastodon.cloud/tags/teal">#<span>teal</span></a> <a href="https://mastodon.cloud/tags/triangle">#<span>triangle</span></a> <a href="https://mastodon.cloud/tags/slice">#<span>slice</span></a> <a href="https://mastodon.cloud/tags/slicing">#<span>slicing</span></a> <a href="https://mastodon.cloud/tags/animatedgif">#<span>animatedgif</span></a> #∇ #▲ # ▽ #⦿</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/102554"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/102554.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1470031:objectType=Status</id>
|
||||
<published>2017-05-01T22:32:45Z</published>
|
||||
<updated>2017-05-01T22:32:45Z</updated>
|
||||
<title>fenwick67 shared a status by Lanthus@mastodon.social</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:mastodon.social,2017-05-01:objectId=4846903:objectType=Status</id>
|
||||
<published>2017-05-01T22:27:36Z</published>
|
||||
<updated>2017-05-01T22:27:38Z</updated>
|
||||
<title>New status by Lanthus@mastodon.social</title>
|
||||
<author>
|
||||
<id>https://mastodon.social/users/Lanthus</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://mastodon.social/users/Lanthus</uri>
|
||||
<name>Lanthus</name>
|
||||
<email>Lanthus@mastodon.social</email>
|
||||
<summary type="html"><p>Pro-wrestling sound guy, game music composer, openly magical girl, embiggened dog petter. /🎵/🎮 | soundcloud.com/LanthusVernalis</p></summary>
|
||||
<link rel="alternate" type="text/html" href="https://mastodon.social/@Lanthus"/>
|
||||
<link rel="avatar" type="image/gif" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/002/461/original/3b78f937a0ef4ef9.gif"/>
|
||||
<link rel="header" type="image/jpeg" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/002/461/original/media.jpg"/>
|
||||
<poco:preferredUsername>Lanthus</poco:preferredUsername>
|
||||
<poco:displayName>Magical Lan</poco:displayName>
|
||||
<poco:note>Pro-wrestling sound guy, game music composer, openly magical girl, embiggened dog petter. /🎵/🎮 | soundcloud.com/LanthusVernalis</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p><a href="https://mastodon.social/media/tVmZDIUbzvqkF_spZoA"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/media/tVmZDIUb</span><span class="invisible">zvqkF_spZoA</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<link rel="enclosure" type="video/mp4" length="4461142" href="https://assets.octodon.social/media_attachments/files/000/121/050/original/media.mp4"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://mastodon.social/users/Lanthus/updates/2214087"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p><a href="https://mastodon.social/media/tVmZDIUbzvqkF_spZoA"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/media/tVmZDIUb</span><span class="invisible">zvqkF_spZoA</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/102553"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/102553.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1466148:objectType=Status</id>
|
||||
<published>2017-05-01T21:04:04Z</published>
|
||||
<updated>2017-05-01T21:04:04Z</updated>
|
||||
<title>fenwick67 shared a status by eggplant@mastodon.social</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:mastodon.social,2017-05-01:objectId=4838351:objectType=Status</id>
|
||||
<published>2017-05-01T19:31:10Z</published>
|
||||
<updated>2017-05-01T19:31:10Z</updated>
|
||||
<title>New status by eggplant@mastodon.social</title>
|
||||
<author>
|
||||
<id>https://mastodon.social/users/eggplant</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://mastodon.social/users/eggplant</uri>
|
||||
<name>eggplant</name>
|
||||
<email>eggplant@mastodon.social</email>
|
||||
<summary type="html"><p>swiss art student, 20 y/o 🍆 he/they 🍆 I make TootyFruity, an universal app for Mastodon and all it's instances. Get the beta here: <a href="https://goo.gl/CLSwYz"><span class="invisible">https://</span><span class="">goo.gl/CLSwYz</span><span class="invisible"></span></a></p></summary>
|
||||
<link rel="alternate" type="text/html" href="https://mastodon.social/@eggplant"/>
|
||||
<link rel="avatar" type="image/png" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/001/063/original/media.png"/>
|
||||
<link rel="header" type="image/png" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/001/063/original/media.png"/>
|
||||
<poco:preferredUsername>eggplant</poco:preferredUsername>
|
||||
<poco:displayName>Kev</poco:displayName>
|
||||
<poco:note>swiss art student, 20 y/o 🍆 he/they 🍆 I make TootyFruity, an universal app for Mastodon and all it's instances. Get the beta here: https://goo.gl/CLSwYz</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p>did you know gaming literally just said that kk slider can't technically play some songs because he only has three fingers and some chords need four fingers to be played</p><p>kk slider<br>the talking dog</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://mastodon.social/users/eggplant/updates/2212061"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p>did you know gaming literally just said that kk slider can't technically play some songs because he only has three fingers and some chords need four fingers to be played</p><p>kk slider<br>the talking dog</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/102397"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/102397.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1465566:objectType=Status</id>
|
||||
<published>2017-05-01T20:50:31Z</published>
|
||||
<updated>2017-05-01T20:50:31Z</updated>
|
||||
<title>fenwick67 shared a status by bit_aspect</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1465546:objectType=Status</id>
|
||||
<published>2017-05-01T20:50:11Z</published>
|
||||
<updated>2017-05-01T20:50:11Z</updated>
|
||||
<title>New status by bit_aspect</title>
|
||||
<author>
|
||||
<id>https://octodon.social/users/bit_aspect</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://octodon.social/users/bit_aspect</uri>
|
||||
<name>bit_aspect</name>
|
||||
<email>bit_aspect@octodon.social</email>
|
||||
<summary type="html"><p>russian junior pixel artist, cyberpunk addicted, love my pug</p></summary>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/@bit_aspect"/>
|
||||
<link rel="avatar" type="image/gif" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/007/003/original/05b1c63ed5688d1a.gif"/>
|
||||
<link rel="header" type="image/gif" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/007/003/original/0226dd57f3c3cf19.gif"/>
|
||||
<poco:preferredUsername>bit_aspect</poco:preferredUsername>
|
||||
<poco:displayName>Alex 👾</poco:displayName>
|
||||
<poco:note>russian junior pixel artist, cyberpunk addicted, love my pug</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p>I decided to do one more mini-landscape. It took one hour, but I&apos;m had so much fun doing this! Landscape as usual ahaha<br /><a href="https://octodon.social/tags/pixelart" class="mention hashtag">#<span>pixelart</span></a> <a href="https://octodon.social/tags/mastoart" class="mention hashtag">#<span>mastoart</span></a> <a href="https://octodon.social/tags/landscape" class="mention hashtag">#<span>landscape</span></a> <a href="https://octodon.social/tags/ocean" class="mention hashtag">#<span>ocean</span></a> <a href="https://octodon.social/tags/sunset" class="mention hashtag">#<span>sunset</span></a> <a href="https://octodon.social/media/cYdYc2pP_vr1s9VpFkU" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">octodon.social/media/cYdYc2pP_</span><span class="invisible">vr1s9VpFkU</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<category term="sunset"/>
|
||||
<category term="ocean"/>
|
||||
<category term="landscape"/>
|
||||
<category term="mastoart"/>
|
||||
<category term="pixelart"/>
|
||||
<link rel="enclosure" type="image/png" length="2741" href="https://assets.octodon.social/media_attachments/files/000/120/697/original/165ca3a1c16625b2.png"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/@bit_aspect/1465546"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p>I decided to do one more mini-landscape. It took one hour, but I&apos;m had so much fun doing this! Landscape as usual ahaha<br /><a href="https://octodon.social/tags/pixelart" class="mention hashtag">#<span>pixelart</span></a> <a href="https://octodon.social/tags/mastoart" class="mention hashtag">#<span>mastoart</span></a> <a href="https://octodon.social/tags/landscape" class="mention hashtag">#<span>landscape</span></a> <a href="https://octodon.social/tags/ocean" class="mention hashtag">#<span>ocean</span></a> <a href="https://octodon.social/tags/sunset" class="mention hashtag">#<span>sunset</span></a> <a href="https://octodon.social/media/cYdYc2pP_vr1s9VpFkU" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">octodon.social/media/cYdYc2pP_</span><span class="invisible">vr1s9VpFkU</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/102366"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/102366.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1461813:objectType=Status</id>
|
||||
<published>2017-05-01T19:22:25Z</published>
|
||||
<updated>2017-05-01T19:22:25Z</updated>
|
||||
<title>fenwick67 shared a status by cadey@mst3k.interlinked.me</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:mst3k.interlinked.me,2017-05-01:objectId=169303:objectType=Status</id>
|
||||
<published>2017-05-01T19:14:51Z</published>
|
||||
<updated>2017-05-01T19:14:54Z</updated>
|
||||
<title>New status by cadey@mst3k.interlinked.me</title>
|
||||
<author>
|
||||
<id>https://mst3k.interlinked.me/users/cadey</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://mst3k.interlinked.me/users/cadey</uri>
|
||||
<name>cadey</name>
|
||||
<email>cadey@mst3k.interlinked.me</email>
|
||||
<summary type="html"><p>Just your average orca | Experimenting in using emoji as a formal communication method. Please don't mind the linguistic exploration using pictograms.</p></summary>
|
||||
<link rel="alternate" type="text/html" href="https://mst3k.interlinked.me/@cadey"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/037/105/original/927923b8c70648d3.jpg"/>
|
||||
<link rel="header" type="image/jpeg" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/037/105/original/18f2598df836134f.jpg"/>
|
||||
<poco:preferredUsername>cadey</poco:preferredUsername>
|
||||
<poco:displayName>Cadey ✅</poco:displayName>
|
||||
<poco:note>Just your average orca | Experimenting in using emoji as a formal communication method. Please don't mind the linguistic exploration using pictograms.</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/comment</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p><span class="h-card"><a href="https://hex.bz/@somarasu">@<span>somarasu</span></a></span> <a href="https://mst3k.interlinked.me/media/WXHO4KS_mNYwtwP7E_8"><span class="invisible">https://</span><span class="ellipsis">mst3k.interlinked.me/media/WXH</span><span class="invisible">O4KS_mNYwtwP7E_8</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://hex.bz/users/somarasu"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<link rel="enclosure" type="image/jpeg" length="78645" href="https://assets.octodon.social/media_attachments/files/000/120/369/original/319ddeae0a3bb4ad.jpg"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://mst3k.interlinked.me/users/cadey/updates/18503"/>
|
||||
<thr:in-reply-to ref="tag:hex.bz,2017-05-01:objectId=508037:objectType=Status" href="https://hex.bz/users/somarasu/updates/9297"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p><span class="h-card"><a href="https://hex.bz/@somarasu">@<span>somarasu</span></a></span> <a href="https://mst3k.interlinked.me/media/WXHO4KS_mNYwtwP7E_8"><span class="invisible">https://</span><span class="ellipsis">mst3k.interlinked.me/media/WXH</span><span class="invisible">O4KS_mNYwtwP7E_8</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/102193"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/102193.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1461800:objectType=Status</id>
|
||||
<published>2017-05-01T19:21:59Z</published>
|
||||
<updated>2017-05-01T19:21:59Z</updated>
|
||||
<title>fenwick67 shared a status by muninnherself@social.tchncs.de</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:social.tchncs.de,2017-05-01:objectId=1531797:objectType=Status</id>
|
||||
<published>2017-05-01T19:18:44Z</published>
|
||||
<updated>2017-05-01T19:18:46Z</updated>
|
||||
<title>New status by muninnherself@social.tchncs.de</title>
|
||||
<author>
|
||||
<id>https://social.tchncs.de/users/muninnherself</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://social.tchncs.de/users/muninnherself</uri>
|
||||
<name>muninnherself</name>
|
||||
<email>muninnherself@social.tchncs.de</email>
|
||||
<summary type="html"><p>I write stuff, edit things, and look at rocks</p></summary>
|
||||
<link rel="alternate" type="text/html" href="https://social.tchncs.de/@muninnherself"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/018/289/original/eb6b32e85f8606b4.jpg"/>
|
||||
<link rel="header" type="image/jpeg" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/018/289/original/f4774cad6d756bed.jpg"/>
|
||||
<poco:preferredUsername>muninnherself</poco:preferredUsername>
|
||||
<poco:displayName>Jack Fraser</poco:displayName>
|
||||
<poco:note>I write stuff, edit things, and look at rocks</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="fr"><p><a href="https://social.tchncs.de/tags/dailymegalith">#<span>DailyMegalith</span></a> Standing stone, Merrivale, <a href="https://social.tchncs.de/tags/dartmoor">#<span>Dartmoor</span></a> <a href="https://social.tchncs.de/tags/devon">#<span>Devon</span></a> (2013) <a href="https://social.tchncs.de/media/qGTpuwuUh2P8ZYPDjM0"><span class="invisible">https://</span><span class="ellipsis">social.tchncs.de/media/qGTpuwu</span><span class="invisible">Uh2P8ZYPDjM0</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<category term="dailymegalith"/>
|
||||
<category term="dartmoor"/>
|
||||
<category term="devon"/>
|
||||
<link rel="enclosure" type="image/jpeg" length="111930" href="https://assets.octodon.social/media_attachments/files/000/120/392/original/66ba1accf50e57ee.jpg"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://social.tchncs.de/users/muninnherself/updates/71222"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p><a href="https://social.tchncs.de/tags/dailymegalith">#<span>DailyMegalith</span></a> Standing stone, Merrivale, <a href="https://social.tchncs.de/tags/dartmoor">#<span>Dartmoor</span></a> <a href="https://social.tchncs.de/tags/devon">#<span>Devon</span></a> (2013) <a href="https://social.tchncs.de/media/qGTpuwuUh2P8ZYPDjM0"><span class="invisible">https://</span><span class="ellipsis">social.tchncs.de/media/qGTpuwu</span><span class="invisible">Uh2P8ZYPDjM0</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/102192"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/102192.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1456502:objectType=Status</id>
|
||||
<published>2017-05-01T17:23:42Z</published>
|
||||
<updated>2017-05-01T17:23:42Z</updated>
|
||||
<title>fenwick67 shared a status by JensE@mammouth.cafe</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:mammouth.cafe,2017-05-01:objectId=105375:objectType=Status</id>
|
||||
<published>2017-05-01T16:41:30Z</published>
|
||||
<updated>2017-05-01T17:22:58Z</updated>
|
||||
<title>New status by JensE@mammouth.cafe</title>
|
||||
<author>
|
||||
<id>https://mammouth.cafe/users/JensE</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://mammouth.cafe/users/JensE</uri>
|
||||
<name>JensE</name>
|
||||
<email>JensE@mammouth.cafe</email>
|
||||
<summary type="html">Danish poet</summary>
|
||||
<link rel="alternate" type="text/html" href="https://mammouth.cafe/@JensE"/>
|
||||
<link rel="avatar" type="image/png" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/039/712/original/194cc899a33cc4a9.png"/>
|
||||
<link rel="header" type="image/jpeg" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/039/712/original/e7ac95be86570e29.jpg"/>
|
||||
<poco:preferredUsername>JensE</poco:preferredUsername>
|
||||
<poco:note>Danish poet</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p>Chicks hatched today.</p><p>They're still wet so I won't subject them to a photosession, but if you stick your head out you're fair game ... <a href="https://mammouth.cafe/media/e4MxKqk66t0s9hSLr2g"><span class="invisible">https://</span><span class="ellipsis">mammouth.cafe/media/e4MxKqk66t</span><span class="invisible">0s9hSLr2g</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<link rel="enclosure" type="image/jpeg" length="108436" href="https://assets.octodon.social/media_attachments/files/000/119/941/original/aa56c4532e53ffd4.jpg"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://mammouth.cafe/users/JensE/updates/2391"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p>Chicks hatched today.</p><p>They're still wet so I won't subject them to a photosession, but if you stick your head out you're fair game ... <a href="https://mammouth.cafe/media/e4MxKqk66t0s9hSLr2g"><span class="invisible">https://</span><span class="ellipsis">mammouth.cafe/media/e4MxKqk66t</span><span class="invisible">0s9hSLr2g</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/102012"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/102012.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1456116:objectType=Status</id>
|
||||
<published>2017-05-01T17:15:14Z</published>
|
||||
<updated>2017-05-01T17:15:14Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/comment</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p><span class="h-card"><a href="https://mastodon.social/@LukasRos" class="u-url mention">@<span>LukasRos</span></a></span> looks like you shared an embedded video, which I did not test for. The video does not show up yet, but it no longer crashes the application and the rest of your feed shows up now 😉</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://mastodon.social/users/LukasRos"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/101997"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/101997.atom"/>
|
||||
<thr:in-reply-to ref="tag:octodon.social,2017-05-01:objectId=1451964:objectType=Status" href="https://octodon.social/@fenwick67/1451964"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1452713:objectType=Status</id>
|
||||
<published>2017-05-01T15:53:44Z</published>
|
||||
<updated>2017-05-01T15:53:44Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/comment</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="pl"><p><span class="h-card"><a href="https://mastodon.cloud/@bscott" class="u-url mention">@<span>bscott</span></a></span> Thanks, I&apos;ll put this on my todo list.</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://mastodon.cloud/users/bscott"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/101872"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/101872.atom"/>
|
||||
<thr:in-reply-to ref="tag:mastodon.cloud,2017-05-01:objectId=5260587:objectType=Status" href="https://mastodon.cloud/users/bscott/updates/515512"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1451964:objectType=Status</id>
|
||||
<published>2017-05-01T15:32:55Z</published>
|
||||
<updated>2017-05-01T15:32:55Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/comment</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p><span class="h-card"><a href="https://mastodon.social/@LukasRos" class="u-url mention">@<span>LukasRos</span></a></span> will investigate later today</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://mastodon.social/users/LukasRos"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/101848"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/101848.atom"/>
|
||||
<thr:in-reply-to ref="tag:mastodon.social,2017-05-01:objectId=4804576:objectType=Status" href="https://mastodon.social/users/LukasRos/updates/2206854"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1429714:objectType=Status</id>
|
||||
<published>2017-05-01T03:12:24Z</published>
|
||||
<updated>2017-05-01T03:12:24Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/comment</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="es"><p><span class="h-card"><a href="https://cybre.space/@chr" class="u-url mention">@<span>chr</span></a></span> <span class="h-card"><a href="https://slime.global/@masklayer" class="u-url mention">@<span>masklayer</span></a></span> <a href="https://octodon.social/media/nd0U3ZxrKlNtEgpdB-Q" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">octodon.social/media/nd0U3ZxrK</span><span class="invisible">lNtEgpdB-Q</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://slime.global/users/masklayer"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://cybre.space/users/chr"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<link rel="enclosure" type="image/png" length="132390" href="https://assets.octodon.social/media_attachments/files/000/117/081/original/cdd1746eb0dec365.png"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/101099"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/101099.atom"/>
|
||||
<thr:in-reply-to ref="tag:cybre.space,2017-05-01:objectId=740225:objectType=Status" href="https://cybre.space/users/chr/updates/30854"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1429232:objectType=Status</id>
|
||||
<published>2017-05-01T02:57:35Z</published>
|
||||
<updated>2017-05-01T02:57:35Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/comment</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p><span class="h-card"><a href="https://mastodon.technology/@asbjorn" class="u-url mention">@<span>asbjorn</span></a></span> This is simultaneously really slick but also not annoying web-3.0 stuff. 💯on the design.</p><p>Notes: Font-awesome fails to load. I like to use &quot;//&quot; for my absolute URLs and that usually avoids that 😊. Also it looks kinda wonky with a mobile sized viewport, most noticably by where it says &quot;loud as hell&quot;.</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://mastodon.technology/users/asbjorn"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/101081"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/101081.atom"/>
|
||||
<thr:in-reply-to ref="tag:mastodon.technology,2017-05-01:objectId=640789:objectType=Status" href="https://mastodon.technology/users/asbjorn/updates/28979"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1427013:objectType=Status</id>
|
||||
<published>2017-05-01T01:54:35Z</published>
|
||||
<updated>2017-05-01T01:54:35Z</updated>
|
||||
<title>fenwick67 shared a status by programwitch@social.targaryen.house</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:social.targaryen.house,2017-05-01:objectId=1465017:objectType=Status</id>
|
||||
<published>2017-05-01T01:54:18Z</published>
|
||||
<updated>2017-05-01T01:54:18Z</updated>
|
||||
<title>New status by programwitch@social.targaryen.house</title>
|
||||
<author>
|
||||
<id>https://social.targaryen.house/users/programwitch</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://social.targaryen.house/users/programwitch</uri>
|
||||
<name>programwitch</name>
|
||||
<email>programwitch@social.targaryen.house</email>
|
||||
<summary type="html"><p>Center Left Chaotic Good Weaver of Code. (programwitch.com) ## Host Blog Oklahoma Podcast (blogoklahoma.net) ## @}-;-- {also on mastodon.cloud}</p></summary>
|
||||
<link rel="alternate" type="text/html" href="https://social.targaryen.house/@programwitch"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/034/731/original/d45847138fa633bf.jpeg"/>
|
||||
<link rel="header" type="image/jpeg" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/034/731/original/cdcecfce8f1436b2.jpg"/>
|
||||
<poco:preferredUsername>programwitch</poco:preferredUsername>
|
||||
<poco:displayName>K. Latham 🎃</poco:displayName>
|
||||
<poco:note>Center Left Chaotic Good Weaver of Code. (programwitch.com) ## Host Blog Oklahoma Podcast (blogoklahoma.net) ## @}-;-- {also on mastodon.cloud}</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p>Sure, you're goth, but are you dejectedly riding the subway with your raven goth? <a href="http://pic.twitter.com/KDboTBUI2O"><span class="invisible">http://</span><span class="">pic.twitter.com/KDboTBUI2O</span><span class="invisible"></span></a><br>— Max Sparber (@maxsparber) April 29, 2017<br><a href="https://t.co/KDboTBUI2O"><span class="invisible">https://</span><span class="">t.co/KDboTBUI2O</span><span class="invisible"></span></a> <a href="https://social.targaryen.house/tags/twitter">#<span>twitter</span></a> </p><p><a href="https://social.targaryen.house/media/ZaOdFDAeEowGVnpbHps"><span class="invisible">https://</span><span class="ellipsis">social.targaryen.house/media/Z</span><span class="invisible">aOdFDAeEowGVnpbHps</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<category term="twitter"/>
|
||||
<link rel="enclosure" type="image/jpeg" length="300501" href="https://assets.octodon.social/media_attachments/files/000/116/863/original/c6d262aacd64d7c2.jpeg"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://social.targaryen.house/users/programwitch/updates/39046"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p>Sure, you're goth, but are you dejectedly riding the subway with your raven goth? <a href="http://pic.twitter.com/KDboTBUI2O"><span class="invisible">http://</span><span class="">pic.twitter.com/KDboTBUI2O</span><span class="invisible"></span></a><br>— Max Sparber (@maxsparber) April 29, 2017<br><a href="https://t.co/KDboTBUI2O"><span class="invisible">https://</span><span class="">t.co/KDboTBUI2O</span><span class="invisible"></span></a> <a href="https://social.targaryen.house/tags/twitter">#<span>twitter</span></a> </p><p><a href="https://social.targaryen.house/media/ZaOdFDAeEowGVnpbHps"><span class="invisible">https://</span><span class="ellipsis">social.targaryen.house/media/Z</span><span class="invisible">aOdFDAeEowGVnpbHps</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/100989"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/100989.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1426930:objectType=Status</id>
|
||||
<published>2017-05-01T01:51:29Z</published>
|
||||
<updated>2017-05-01T01:51:29Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p><a href="https://octodon.social/tags/easteregg" class="mention hashtag">#<span>easteregg</span></a> there&apos;s a SCSS variable called &quot;succ green&quot; in the mastodon source but I don&apos;t see any green in the UI, so I must assume this is just <span class="h-card"><a href="https://mastodon.social/@Gargron" class="u-url mention">@<span>gargron</span></a></span> making a joke</p><p> <a href="https://github.com/tootsuite/mastodon/blob/3d3e32befb369f8c6a9f3ac1ee48bce3d266f4b8/app/assets/stylesheets/variables.scss#L7" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/tootsuite/mastodon/</span><span class="invisible">blob/3d3e32befb369f8c6a9f3ac1ee48bce3d266f4b8/app/assets/stylesheets/variables.scss#L7</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://mastodon.social/users/Gargron"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<category term="easteregg"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/100986"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/100986.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1426677:objectType=Status</id>
|
||||
<published>2017-05-01T01:42:45Z</published>
|
||||
<updated>2017-05-01T01:42:45Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/comment</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="fi"><p><span class="h-card"><a href="https://botsin.space/@neural_tv" class="u-url mention">@<span>neural_tv</span></a></span> omg Sarah McLaughlin followed us to Mastodon to get us to join the ASPCA</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://botsin.space/users/neural_tv"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/100979"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/100979.atom"/>
|
||||
<thr:in-reply-to ref="tag:botsin.space,2017-05-01:objectId=63721:objectType=Status" href="https://botsin.space/users/neural_tv/updates/23145"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1426597:objectType=Status</id>
|
||||
<published>2017-05-01T01:40:35Z</published>
|
||||
<updated>2017-05-01T01:40:35Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/comment</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="pl"><p><span class="h-card"><a href="https://mastodon.cloud/@expenses" class="u-url mention">@<span>expenses</span></a></span> looks like one of those obfuscated scripts somebody gets you to run that really just runs &quot;rm -rf /&quot;</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://mastodon.cloud/users/expenses"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/100973"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/100973.atom"/>
|
||||
<thr:in-reply-to ref="tag:mastodon.cloud,2017-05-01:objectId=5241624:objectType=Status" href="https://mastodon.cloud/users/expenses/updates/514673"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1426538:objectType=Status</id>
|
||||
<published>2017-05-01T01:39:02Z</published>
|
||||
<updated>2017-05-01T01:39:02Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p>IDE features I would pay for: </p><p>A list of buttons that run my npm/gulp tasks based on my package.json with one click. Instead of having to alt+tab, ctrl+c, up, enter, alt+tab every time.</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/100970"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/100970.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1426321:objectType=Status</id>
|
||||
<published>2017-05-01T01:32:50Z</published>
|
||||
<updated>2017-05-01T01:32:50Z</updated>
|
||||
<title>fenwick67 shared a status by steeliestllama@witches.town</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:witches.town,2017-05-01:objectId=1137251:objectType=Status</id>
|
||||
<published>2017-05-01T01:32:08Z</published>
|
||||
<updated>2017-05-01T01:32:09Z</updated>
|
||||
<title>New status by steeliestllama@witches.town</title>
|
||||
<author>
|
||||
<id>https://witches.town/users/steeliestllama</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://witches.town/users/steeliestllama</uri>
|
||||
<name>steeliestllama</name>
|
||||
<email>steeliestllama@witches.town</email>
|
||||
<summary type="html"><p>Trans | ace | bisexual | cyborg | white but anti whiteness | คɭɭ ђคเɭ ςՇђยɭђย | bab witch (he/him) 🇬🇧 speaker mostly, learning: 🇩🇪 &amp; 🇫🇷</p></summary>
|
||||
<link rel="alternate" type="text/html" href="https://witches.town/@steeliestllama"/>
|
||||
<link rel="avatar" type="image/png" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/016/054/original/81c62c7e7d351553.png"/>
|
||||
<link rel="header" type="image/jpeg" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/016/054/original/b5ba963a199c95fb.jpg"/>
|
||||
<poco:preferredUsername>steeliestllama</poco:preferredUsername>
|
||||
<poco:displayName>Logan Osborne 🐙⚧</poco:displayName>
|
||||
<poco:note>Trans | ace | bisexual | cyborg | white but anti whiteness | คɭɭ ђคเɭ ςՇђยɭђย | bab witch (he/him) 🇬🇧 speaker mostly, learning: 🇩🇪 &amp; 🇫🇷</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="en"><p>me: I don't care about anything lol</p><p>also me: gives food that resembles an animal feelings and a personality</p><p>also me: does this with plushies</p><p>me: yeah don't care about anything ever lol</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://witches.town/users/steeliestllama/updates/149426"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p>me: I don't care about anything lol</p><p>also me: gives food that resembles an animal feelings and a personality</p><p>also me: does this with plushies</p><p>me: yeah don't care about anything ever lol</p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/100961"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/100961.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1425919:objectType=Status</id>
|
||||
<published>2017-05-01T01:21:14Z</published>
|
||||
<updated>2017-05-01T01:21:14Z</updated>
|
||||
<title>fenwick67 shared a status by 6669@catdon.life</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/activity</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/share</activity:verb>
|
||||
<activity:object>
|
||||
<id>tag:catdon.life,2017-05-01:objectId=107632:objectType=Status</id>
|
||||
<published>2017-05-01T00:40:45Z</published>
|
||||
<updated>2017-05-01T01:20:48Z</updated>
|
||||
<title>New status by 6669@catdon.life</title>
|
||||
<author>
|
||||
<id>https://catdon.life/users/6669</id>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
|
||||
<uri>https://catdon.life/users/6669</uri>
|
||||
<name>6669</name>
|
||||
<email>6669@catdon.life</email>
|
||||
<summary type="html">趣味でお絵描きしてます( ˙ ꒳ ˙ )雨と猫と洋楽が好き
|
||||
http://chocolate69.net/
|
||||
https://pawoo.net/@6669</summary>
|
||||
<link rel="alternate" type="text/html" href="https://catdon.life/@6669"/>
|
||||
<link rel="avatar" type="image/jpeg" media:width="120" media:height="120" href="https://assets.octodon.social/accounts/avatars/000/049/095/original/f01bdd6fcc3ba225.jpeg"/>
|
||||
<link rel="header" type="image/jpeg" media:width="700" media:height="335" href="https://assets.octodon.social/accounts/headers/000/049/095/original/ed59cb8e2db68205.jpg"/>
|
||||
<poco:preferredUsername>6669</poco:preferredUsername>
|
||||
<poco:displayName>なりちか</poco:displayName>
|
||||
<poco:note>趣味でお絵描きしてます( ˙ ꒳ ˙ )雨と猫と洋楽が好き
|
||||
http://chocolate69.net/
|
||||
https://pawoo.net/@6669</poco:note>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
</author>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="es"><p>耳毛ぼわっさぁ<br><a href="https://catdon.life/media/WVW-PRppyww4nIm542o"><span class="invisible">https://</span><span class="ellipsis">catdon.life/media/WVW-PRppyww4</span><span class="invisible">nIm542o</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<link rel="enclosure" type="image/jpeg" length="265296" href="https://assets.octodon.social/media_attachments/files/000/116/773/original/badeb618946b2f18.jpeg"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://catdon.life/users/6669/updates/3600"/>
|
||||
</activity:object>
|
||||
<content type="html" xml:lang="en"><p>耳毛ぼわっさぁ<br><a href="https://catdon.life/media/WVW-PRppyww4nIm542o"><span class="invisible">https://</span><span class="ellipsis">catdon.life/media/WVW-PRppyww4</span><span class="invisible">nIm542o</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/100946"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/100946.atom"/>
|
||||
</entry>
|
||||
<entry>
|
||||
<id>tag:octodon.social,2017-05-01:objectId=1425066:objectType=Status</id>
|
||||
<published>2017-05-01T00:53:33Z</published>
|
||||
<updated>2017-05-01T00:53:33Z</updated>
|
||||
<title>New status by fenwick67</title>
|
||||
<activity:object-type>http://activitystrea.ms/schema/1.0/comment</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
<content type="html" xml:lang="pl"><p><span class="h-card"><a href="https://mastodon.xyz/@marko" class="u-url mention">@<span>marko</span></a></span> this one is beautiful <a href="http://www.ustream.tv/channel/iss-hdev-payload" rel="nofollow noopener" target="_blank"><span class="invisible">http://www.</span><span class="ellipsis">ustream.tv/channel/iss-hdev-pa</span><span class="invisible">yload</span></a></p></content>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/person" href="https://mastodon.xyz/users/marko"/>
|
||||
<link rel="mentioned" ostatus:object-type="http://activitystrea.ms/schema/1.0/collection" href="http://activityschema.org/collection/public"/>
|
||||
<mastodon:scope>public</mastodon:scope>
|
||||
<link rel="alternate" type="text/html" href="https://octodon.social/users/fenwick67/updates/100918"/>
|
||||
<link rel="self" type="application/atom+xml" href="https://octodon.social/users/fenwick67/updates/100918.atom"/>
|
||||
<thr:in-reply-to ref="tag:mastodon.xyz,2017-05-01:objectId=1921602:objectType=Status" href="https://mastodon.xyz/users/marko/updates/137893"/>
|
||||
</entry>
|
||||
</feed>
|
15
test/test.js
15
test/test.js
|
@ -1,15 +0,0 @@
|
|||
// do a test
|
||||
|
||||
|
||||
var fs = require('fs'),
|
||||
request = require('request'),
|
||||
convert = require('../lib/convert')
|
||||
|
||||
|
||||
var r = fs.createReadStream('./test/sample.atom');
|
||||
|
||||
convert(r,function(er,data){
|
||||
if (er){return console.log('error: ',er)}
|
||||
console.log('ok');
|
||||
fs.writeFileSync('./test/result.html',data,'utf8');
|
||||
})
|
Loading…
Reference in a new issue