Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Autumn, 30 Sep 2026 - @685.49
Forum Activity: Four Stars Random | Recent Posts | Guild Recents
News: Love is not possession  :4u: Guild Events: Halloween Watch-a-thon
Super News: ~~MelonLand's Halloween Profile Design Contest 2026~~
+  MelonLand Forum
|-+  Da Web Revival
| |-+  ✁ ∙ Web Crafting
| | |-+  Idea: Badge Button Sharing Standard!


« previous next »
Pages: 1 [2] Print Embed
Author Topic: Idea: Badge Button Sharing Standard!  (Read 6214 times)
vvinrg
Jr. Member ⚓︎
**
View Profile WWW


It's mine! My text! You can't have it!! Bwahaha!!!
⛺︎ My Room
StatusCafe: winrg
Matrix: Chat!
XMPP: Chat!
iMood: winrg

Artifacts:
First 1000 Members!Joined 2023!
« Reply #15 on: Autumn, 14 Nov 2023 @985 » Toggle Font Embed

I'll write a python module for this, why not.

Logged
vvinrg
Jr. Member ⚓︎
**
View Profile WWW


It's mine! My text! You can't have it!! Bwahaha!!!
⛺︎ My Room
StatusCafe: winrg
Matrix: Chat!
XMPP: Chat!
iMood: winrg

Artifacts:
First 1000 Members!Joined 2023!
« Reply #16 on: Autumn, 24 Nov 2023 @225 » Toggle Font Embed

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 ⚓︎
*****
View Profile WWWArt


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

Guild Memberships:
Artifacts:
You're a Star!Flinstone VitaminWavy Shoulder-Length Hair with BangsBug!Top HatI got robbed by Dan Q on Melonland!
« Reply #17 on: Autumn, 24 Nov 2023 @914 » Toggle Font Embed

@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

Artifact Swap: black n cyan yappin kittayHave a chillpillRed Tulip100 coins<3eyntivemds pet fishcurious fish
vvinrg
Jr. Member ⚓︎
**
View Profile WWW


It's mine! My text! You can't have it!! Bwahaha!!!
⛺︎ My Room
StatusCafe: winrg
Matrix: Chat!
XMPP: Chat!
iMood: winrg

Artifacts:
First 1000 Members!Joined 2023!
« Reply #18 on: Autumn, 25 Nov 2023 @078 » Toggle Font Embed

I think I'll end up checking [provided] -> "/BBSS/" -> "/badges/".

Logged
vvinrg
Jr. Member ⚓︎
**
View Profile WWW


It's mine! My text! You can't have it!! Bwahaha!!!
⛺︎ My Room
StatusCafe: winrg
Matrix: Chat!
XMPP: Chat!
iMood: winrg

Artifacts:
First 1000 Members!Joined 2023!
« Reply #19 on: Autumn, 26 Nov 2023 @189 » Toggle Font Embed

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 ⚓︎
**
View Profile WWW


It's mine! My text! You can't have it!! Bwahaha!!!
⛺︎ My Room
StatusCafe: winrg
Matrix: Chat!
XMPP: Chat!
iMood: winrg

Artifacts:
First 1000 Members!Joined 2023!
« Reply #20 on: Winter, 24 Dec 2023 @300 » Toggle Font Embed

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 Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ 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
@000 Melon
Land
Forum Art Hub Chat Webring Explore Random Recent Tenement Arcade Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Help I'm Lost! Link Land Newsletters Image Stream Minecraft: Online
Zap!
Passport Sites tamaNOTchi Asatte Add your site?
Aero Archive Onio Cafe 32 Bit Cafe Status Cafe