Home Events! Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
November 21, 2024 - @945.82 (what is this?)
Forum activity rating: Three Stars Posts: 26/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts    Start New Topic
News: :eyes: ~ Inconvenience is counterculture ~ :eyes:

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  Idea: Badge Button Sharing Standard!


« previous next »
Pages: 1 [2] Print
Author Topic: Idea: Badge Button Sharing Standard!  (Read 2100 times)
vvinrg
Jr. Member
**


It's mine! My text! You can't have it!! Bwahaha!!!

⛺︎ My Room
StatusCafe: winrg
iMood: winrg
Matrix: Chat!
XMPP: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #15 on: November 14, 2023 @985.24 »

I'll write a python module for this, why not.
Logged
vvinrg
Jr. Member
**


It's mine! My text! You can't have it!! Bwahaha!!!

⛺︎ My Room
StatusCafe: winrg
iMood: winrg
Matrix: Chat!
XMPP: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #16 on: November 24, 2023 @225.03 »

Thoughts while I work on implementing code to parse this:

I propose the following form for comments on all list files:

Code
## This will be reproduced later-on.
# This will be discarded.
## This will get tacked on to the end.
foo
bar
# This will also be discarded.
foobar

This would be parsed into something of the form:

Code
[
  {
    "comment": "This will be reproduced later on. This will get tacked on to the end.",
    "entry": "foo"
  },
  {
    "comment": null,
    "entry": "bar"
  },
  {
    "comment": null,
    "entry": "foobar"
  }
]

The procedure while parsing should be to accumulate double-hash comments until reaching a line with no comments, and then pushing the structure containing the concatenated double-hash comments and the line with no comments. I think it would be useful to allow people to specify extra info about their buttons, just for fun.



The following forms should be supported for friends.txt entries:

Code
example.com
example.com/BBSS/
https://example.com
https://example.com/BBSS/

Each of these will yield the same actual URL for where to find BBSS-related files. The second and forth forms should be considered special-cases for people operating on webhosts which give subdirectories instead of subdomains, in which case they may contain something like `tilde.example/~foo/BBSS/`.



I'd appreciate any thoughts on these ideas.
Logged
Melooon
Hero Member ⚓︎
*****


So many stars!

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games

View Profile WWW

Thanks for being rad!a puppy for your travelsAlways My PalFirst 1000 Members!spring 2023!Squirtle!!!!MIDI WarriorMIDI Warrior1234 Posts!OzspeckCool Dude AwardRising Star of the Web AwardMessage BuddyPocket Icelogist!OG! Joined 2021!...
« Reply #17 on: November 24, 2023 @914.26 »

@vvinrg These all seem like super solid choices and I'd fully support them  :grin: The URL formats is a really good idea since people would almost certainly add URLs that are not perfectly formatted; I would even add a fall back so if someone uses a totally incorrect URL like "bob.com/pasta.html" it tries to look at the base domain anyway "https://bob.com/BBSS"

I think the main sticking point people had with this idea was that they found the folder name "BBSS" confusing; we never really came up with a perfect solution for that; some people seemed to prefer "badges" as a root folder, whereas others just wanted "88x31" as the root folder and no support for other sizes.
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
vvinrg
Jr. Member
**


It's mine! My text! You can't have it!! Bwahaha!!!

⛺︎ My Room
StatusCafe: winrg
iMood: winrg
Matrix: Chat!
XMPP: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #18 on: November 25, 2023 @77.79 »

I think I'll end up checking [provided] -> "/BBSS/" -> "/badges/".
Logged
vvinrg
Jr. Member
**


It's mine! My text! You can't have it!! Bwahaha!!!

⛺︎ My Room
StatusCafe: winrg
iMood: winrg
Matrix: Chat!
XMPP: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #19 on: November 26, 2023 @189.05 »

Update on implementation: deciding to make a bad path a hard fail, but having the following defaults to check for a missing path: "/BBSS/", "/.well-known/BBSS/", "/badges/", "/buttons/", and "/". I think it should be configurable? But IDK how python module imports work soo...
Logged
vvinrg
Jr. Member
**


It's mine! My text! You can't have it!! Bwahaha!!!

⛺︎ My Room
StatusCafe: winrg
iMood: winrg
Matrix: Chat!
XMPP: Chat!

View Profile WWW

First 1000 Members!Joined 2023!
« Reply #20 on: December 24, 2023 @299.75 »

hihihi im not dead i just got swamped with college but it's winter break so im working on documenting the python module! coming up next is a set of BBSS sites to test with and a javascript impl.

@Melooon would you mind my writing some proper docs and a getting started guide for the format as a whole?
Logged
Pages: 1 [2] Print 
« previous next »
 

Vaguely similar topics! (3)

How do ads fit into your idea of the yesterweb/web 1.0?

Started by xandraBoard ✁ ∙ Web Crafting

Replies: 16
Views: 4367
Last post September 16, 2023 @921.42
by Kallistero
Does anyone think it would be a good idea to start a FPS webring?

Started by BritKneeBoard ☮︎ ∙ Other Communities & Webrings

Replies: 4
Views: 1802
Last post November 29, 2023 @658.16
by myleszey
looking for help with a 3D neocities directory mall idea!

Started by Frost SheridanBoard ✎ ∙ Art Crafting

Replies: 0
Views: 932
Last post September 19, 2022 @871.91
by Frost Sheridan

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi