by Moka » September 18th, 2009, 7:56 am
I got a new picture for you guys! I was editing the FAA making a new feature:
[quote="Moka"]It was very difficult, but I was able to add a new feature! When uploading a new artwork, MLKFAA will search your artwork title and description for character names (your characters and canon characters). If it finds a match or several matches, it will suggest that you tag them in your new artwork. You select which ones are actually IN your art, and then you click submit and it automatically tags them for you. Of course, you can always manually tag them one by one later (and remove tags). Since this feature is very new, there may be some issues with it that I need to fix over the next few days. Please PM me if something doesn't seem right. Enjoy![/quote]
For this feature to work, I had to write up a function from scratch (outlined in red). I featured this function because it was one of the hardest functions I've ever written. It took days of trouble shooting and testing, but I think it finally works. All it does is take two strings (texts), combines them, searches them for relative character names (original [belonging to artist] or canon), and makes an array of character names that it found in the text. In other ways, it provides a simple way for artists to tag characters based upon what they submitted in their text! Of course, this function might not be 100% right all the time (especially with descriptions like stories that talk about a lot of characters), which is why I added later functions that allow the user to choose (by a checkbox method) which characters to tag and which to not tag. Try it yourself the next time you upload something!
- Attachments
-
