duckduckgo / community-platform

DuckDuckGo Community Platform
https://duck.co/
Other
456 stars 128 forks source link

Include Planning IAs in metadata #1354

Open GuiltyDolphin opened 8 years ago

GuiltyDolphin commented 8 years ago

It would be really useful if we could include IAs in planning in the metadata - working with DuckPAN and using the metadata to fill out fields automatically kindah requires that we have access to planning IAs.

/cc @jdorweiler @zekiel

jdorweiler commented 8 years ago

@zachthompson

zachthompson commented 8 years ago

Yep, we've had a task for this for while.

GuiltyDolphin commented 8 years ago

@zachthompson Just curious, but @jdorweiler and I had a bit of a discussion about this; the main issue here is that we may have a lot more Instant Answers in the metadata.

Are you thinking of having all the metadata together in the main JSON? Or perhaps have a separate file that contains everything? Either way, it'd be great to be able to access everything somehow.

GuiltyDolphin commented 8 years ago

@zachthompson @jbarrett It looks like we can already access most of this through https://duck.co/ia/repo/all/json?all_milestones=1 ? Maybe we should just redirect where DDG::Meta::Data is fetching from?

zachthompson commented 8 years ago

@GuiltyDolphin Not directly, there's a reason we aren't hitting duck.co.

GuiltyDolphin commented 8 years ago

@zachthompson Hmm, okay - well that's the data I'm looking for, so maybe we can just package that up? We can always have some preset filters later on in Meta::Data (such as the set of live IAs).

mintsoft commented 8 years ago

I'm tempted to say that we should either revert https://github.com/duckduckgo/zeroclickinfo-goodies/issues/3018 or get this implemented as the pipeline for cheatsheets is now broken

GuiltyDolphin commented 8 years ago

@mintsoft Maybe - a temp fix might be to only test metadata when an env variable is set (and set it in the Travis build); @zachthompson is this likely to be implemented soon?