It would actually be great to get this problem fixed rather than add yet more band aids on it. What can we actually do to start moving towards structured metadata on files? What needs to happen? Can we lean on Wikidata in anyway?
On Mon, Dec 8, 2014 at 2:04 PM, Dan Garry dgarry@wikimedia.org wrote:
On 8 December 2014 at 12:52, Derk-Jan Hartman d.j.hartman@gmail.com wrote:
Welcome to the problem of 'there is no structured metadata for files' :)
This is a garbage in, garbage out problem and probably when you start filtering you will break attribution requirements (more than the community will appreciate).
I figured. :-(
So, given that we can't do anything meaningful with the HTML in a native app, that means we only have three options:
Display the raw HTML directly to the user Try to parse the HTML for interesting information and update the relevant view's properties using native code Strip any and all HTML tags that are given to us in the JSON
The first two aren't sounding workable at all to me; the first is unworkable from a product standpoint, and the second is an absolutely gigantic can of worms. So I guess we'll be stripping the HTML until such time that this is fixed. :-)
Thanks, Dan
-- Dan Garry Associate Product Manager, Mobile Apps Wikimedia Foundation
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l