Posts

For more information, see the search syntax documentation. Search results are sorted by creation date.

Search Results

Site and Policy » Philomena open beta / breaking API changes » Post 382

Angius

The Ponut Eater
The new API no longer returns the mp4 representation for images uploaded as WEBM.
 
While we’re at it, what about .gif representations? Will this hack still work?
 
Also, another question. The old API returns tags with their respective namespaces, the new API returns just tags and more tag data has to be fetched per-tag. That makes it so that an image with, say, 50 tags will now take 51 requests should I want every tag to have a namespace and/or color.
 
Should I just fetch those as they come, and simply cache for reuse, or is there some other method for handling it?

Site and Policy » Philomena open beta / breaking API changes » Post 381

Rene_Z
Non-Fungible Trixie -
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Not a Llama - Happy April Fools Day!
Artist -

The new API no longer returns the mp4 representation for images uploaded as WEBM.
 
Example: Old API, New API
 
For images uploaded as GIF, the new API still returns both the webm and mp4 representation as before (Example).
 
Is this intended behaviour? WEBM still isn’t as widely supported as MP4, so I’m relying on the MP4 representation (in my case sending the image to Telegram, which supports sending MP4 videos but not sending WEBM videos). Of course I could just change the file extension in the URL, but that would be quite hacky and I’d have to check if the MP4 actually exists each time.
 
EDIT 2: I noticed a second issue. The API now always returns the mp4 and webm fields for GIFs, even if the video versions don’t actually exist on the server (for old uploads where no video version was generated). The URLs just return 404. This was not the case before, it would just not include the video representations in the response. However, it seems that even the old API now returns those non-existant representations.
 
Example: Old API, New API
 
EDIT: And a minor issue with the API documentation, the format field of an image response can also return jpeg (instead of jpg), depending on the original file extension of the image. The behaviour is the same as with the old API, it’s just missing from the documentation.

Site and Policy » Philomena open beta / breaking API changes » Post 380

Site and Policy » Philomena open beta / breaking API changes » Post 379

Site and Policy » Philomena open beta / breaking API changes » Post 378

Site and Policy » Philomena open beta / breaking API changes » Post 377

Site and Policy » Philomena open beta / breaking API changes » Post 376

Wellwater
Magnificent Metadata Maniac - #1 Assistant
My Little Pony - 1992 Edition
Wallet After Summer Sale -

Just a flurry of H₂O
@Barhandar  
It’s less expressive because it is (as far as I can tell) no longer possible to search for threads (only posts) and it’s no longer possible to specify a forum to search in.
 
For that matter, while the documentation below the search results says you can use author to search by post author, it doesn’t actually work. So there isn’t even any way to search for posts by a given user.
 
(That’s a bug, of course, not a design flaw, but still.)

Site and Policy » Philomena open beta / breaking API changes » Post 375

Barhandar
Perfect Pony Plot Provider - Uploader of 10+ images with 350 upvotes or more (Questionable/Explicit)
Friendship, Art, and Magic (2020) - Took part in the 2020 Community Collab
The Magic of Friendship Grows - For helping others attend the 2020 Community Collab
Dream Come True! - Participated in the MLP 9th Anniversary Event
Toola Roola - For helping others attend the 2019 Community Collab
Wallet After Summer Sale -
Friendship, Art, and Magic (2019) - Celebrated Derpibooru's seventh year anniversary with friends
A Tale For The Ages - Celebrated MLP's 35th Anniversary and FiM's 8th Anniversary
Friendship, Art, and Magic (2018) - Celebrated Derpibooru's six year anniversary with friends.
Helpful Owl - Drew someone's OC for the 2018 Community Collab

(twi|pony)booru.org
@Jarkes  
That’s incomprehensible to any software developer.
 
@Wellwater  
Clunkier, yes, less expressive, no. It’s basically nerd option, just like command line vs GUI (which it effectively is): extremely more powerful if you know how to use it, but trash for the averaged person who just want predetermined fields to put what they want into and get results.

Site and Policy » Philomena open beta / breaking API changes » Post 374

Site and Policy » Philomena open beta / breaking API changes » Post 373

Site and Policy » Philomena open beta / breaking API changes » Post 372

Joey
Dawnsong - Derpi Supporter
Cool Crow - "Caw!" An awesome tagger
Tree of Harmony - Drew someone's OC for the 2022 Community Collab
Elements of Harmony - Had an OC in the 2022 Community Collab
Non-Fungible Trixie -
Verified Pegasus - Show us your gorgeous wings!
Preenhub - We all know what you were up to this evening~
Philomena - For helping others attend the 2021 community collab
Twinkling Balloon - Took part in the 2021 community collab.
Ten years of changes - Celebrated the 10th anniversary of MLP:FiM!

PM me your cute OCs
@byte[]  
What are your thoughts on having a seperate page/section for forum/comment searching? That page is mostly for imeage searching, and spends a lot of time talking about attributes that communications don’t have.
 
There is that little guide at the bottom of the forum search, but most people probably don’t think to look there

Site and Policy » Philomena open beta / breaking API changes » Post 371

Site and Policy » Philomena open beta / breaking API changes » Post 370

Wellwater
Magnificent Metadata Maniac - #1 Assistant
My Little Pony - 1992 Edition
Wallet After Summer Sale -

Just a flurry of H₂O
@byte[]  
Yes, but that wasn’t previously necessary for searching the forums, and for forum search it’s a lot clunkier and less expressive than the previous search form. I suspect that’s what Jarkes meant.

Site and Policy » Philomena open beta / breaking API changes » Post 369

Site and Policy » Philomena open beta / breaking API changes » Post 368

Wellwater
Magnificent Metadata Maniac - #1 Assistant
My Little Pony - 1992 Edition
Wallet After Summer Sale -

Just a flurry of H₂O
@Background Pony #F414  
Huh? The syntax (and general interface) for searching for forum posts/threads? You are talking about that syntax, right?
 
Of course, technically that might actually be right, but if so, there was a lot of syntax I was able to push off on the much more sophisticated search form with no loss of expressiveness, so I’m not sure that counts for much.

Site and Policy » Philomena open beta / breaking API changes » Post 367

Site and Policy » Philomena open beta / breaking API changes » Post 366

Site and Policy » Philomena open beta / breaking API changes » Post 365

Jarkes
Elements of Harmony - Had an OC in the 2022 Community Collab
Twinkling Balloon - Took part in the 2021 community collab.
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Friendship, Art, and Magic (2018) - Celebrated Derpibooru's six year anniversary with friends.
Magical Inkwell - Wrote MLP fanfiction consisting of at least around 1.5k words, and has a verified link to the platform of their choice
Not a Llama - Happy April Fools Day!
Friendship, Art, and Magic (2017) - Celebrated Derpibooru's five year anniversary with friends.
Thread Starter - Transformers Thread

GOKAAAAI... SILVER!
…I’m just going to say it. I hate how the search syntax is so much more complicated now, especially when it comes to searching posts.

Site and Policy » Philomena open beta / breaking API changes » Post 364

Site and Policy » Philomena open beta / breaking API changes » Post 363

Ajedi32
Not a Llama - Happy April Fools Day!

Wait, you rewrote the entire backend in a completely different language, with a completely different development framework? In 6 months? With pretty much zero impact to the UI? That’s seriously impressive.

Site and Policy » Philomena open beta / breaking API changes » Post 362

Site and Policy » Philomena open beta / breaking API changes » Post 361

Site and Policy » Philomena open beta / breaking API changes » Post 360

Site and Policy » Philomena open beta / breaking API changes » Post 359

Site and Policy » Philomena open beta / breaking API changes » Post 358

Default search

If you do not specify a field to search over, the search engine will search for posts with a body that is similar to the query's word stems. For example, posts containing the words winged humanization, wings, and spread wings would all be found by a search for wing, but sewing would not be.

Allowed fields

Field SelectorTypeDescriptionExample
authorLiteralMatches the author of this post. Anonymous authors will never match this term.author:Joey
bodyFull TextMatches the body of this post. This is the default field.body:test
created_atDate/Time RangeMatches the creation time of this post.created_at:2015
idNumeric RangeMatches the numeric surrogate key for this post.id:1000000
myMetamy:posts matches posts you have posted if you are signed in. my:posts
subjectFull TextMatches the title of the topic.subject:time wasting thread
topic_idLiteralMatches the numeric surrogate key for the topic this post belongs to.topic_id:7000
topic_positionNumeric RangeMatches the offset from the beginning of the topic of this post. Positions begin at 0.topic_position:0
updated_atDate/Time RangeMatches the creation or last edit time of this post.updated_at.gte:2 weeks ago
user_idLiteralMatches posts with the specified user_id. Anonymous users will never match this term.user_id:211190
forumLiteralMatches the short name for the forum this post belongs to.forum:meta