diff --git a/public/MBViewer/css/MBViewer.css b/public/MBViewer/css/MBViewer.css index f1fe369..c93c18d 100644 --- a/public/MBViewer/css/MBViewer.css +++ b/public/MBViewer/css/MBViewer.css @@ -1,8 +1,8 @@ -.MBPost * { +.MbPost * { max-width: 100%; height: auto; } -.MBPost figure { +.MbPost figure { margin: 1em; } diff --git a/public/MBViewer/index.html b/public/MBViewer/index.html index 5fccfad..d67f99a 100644 --- a/public/MBViewer/index.html +++ b/public/MBViewer/index.html @@ -2,18 +2,18 @@
-- Here I am doing, another strange thing of mine. + TWeb.loadMore($('.js-messages_more_wrap > a'), [{ content: `
+ Here I am, doing another strange thing of mine. This is my personal experiment to make an MB-style frontend for sources that are by default not really friendly to that concept. Since this first day, we will start with just WordPress, and we'll see what comes from that. See https://octospacc.altervista.org/2024/01/13/wordpress-che-non-e/. -
`, date: '2024-01-13' }, { content: `+
`, date: '2024-01-13T21:00' }, { content: `
After fixing a few post-release issues driving me insane (scrolling cough cough), here are some new improvements:
* Handling of posts without date is just a bit nicer.
* Added a back button to return to this page here from a real site stream.
@@ -118,6 +224,16 @@ async function MbViewerInit () {
I also just now realized that wordpress.com uses a different REST API with different endpoints and parameters,
so I will need to handle that...
+ New changes:
+
* Correctly handle wordpress.com blogs
+
* Show specific users as post authors whenever possible
+
* Made the navigation bar smarter: now handles URLs without schema, and t.me links (redirects to official site)
+
* Made the info box (right column on desktop) visible on small screens (by clicking the screen header)
+
* Added an Altervista workaround for videos not loading (bypass anti-hotlinking)
+
* Made URL hash parameter names case-insensitive
+
* Now sites without an icon will display a random color and their acronicized name
+
* Hopefully fixed all the scrolling-loading issues for real this time...
+
Copyright notice: MBViewer uses code borrowed from t.me,
specially modified to handle customized data visualizations in an MB-style.
@@ -125,9 +241,15 @@ async function MbViewerInit () {
all rights upon the original materials (which are: everything not strictly related to the "MBViewer" mod) belong to the original owners.