Reply To: Tabbles API (V4): start here 2017-10-27T15:29:17+00:00

Home Forums Plugins and API Tabbles API (V4): start here Reply To: Tabbles API (V4): start here

Dan Novak
Member
Post count: 3

Hello @tarekjor & Co.,

A couple ideas I’ve been playing with, based on imageboards like Danbooru/Moebooru (https://github.com/r888888888/danbooru).  There’s a test instance running at http://testbooru.donmai.us/ (CAUTION: may be NSFW depending on what’s posted there).  

Implications:

When entering a particular tag, a second tag is also added to the tagged resource.

For example, you can setup “shirt” -> “clothing”.  Tagging anything with “shirt” will also add the “clothing” tag.

I believe nested tags already do something like this, but I could not figure out how to make it work like I wanted.   

Aliases:

Tags that get replaced with other tags, e.g.

“Gordon Sumner” -> “Sting”.

“gray” -> “grey”

Both aliases and implications in Danbooru are apparently a performance hit, especially if there’s a lot of them – they run the processing as a background job or on adding an image/video.  I’m not sure what this means for something like Tabbles or if this can be done with a plugin.  I mean to try, however. 🙂

It’s not a substitute for a controlled vocabulary, but these may be one way to implement something like it. The ability to disable adding new tags in the tagging interface would also help enforce a controlled vocabulary (it may already do this with permissions and multiuser and such, but I’ve only ever explored Tabbles as a solo user)

Hashing: Might be useful to identify duplicate files – for example Danbooru uses this technique for uploaded media and it’s storage – files are stored with an MD5 hash of the content rather than the original filename.

— Dan

  • This reply was modified 2 months, 3 weeks ago by  Andrea.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close