#aaronpkI want to refactor that part of the code somewhat anyway
#aaronpkI want to be able to write hooks for other known sites like instagram
#aaronpkI'm thinking a class map may not be able to parse all sites, it may take some custom xpath queries
#barnabywaltersaaronpk: that’s easy enough, just create an array of oldclassname => mf2-classname
#barnabywaltersso, to use the legacy classmaps, you create the parser, then addClassMap() with each classmap you want (legacy included by default), then call convertLegacy
#barnabywaltersthen when you call parse(), you’ll get the results as usual
#aaronpkso on instagram for example, the user profile picture is actually in the src attribute of the element: .user-avatar img
#aaronpkbut the img tag doesn't have a class of its own so it can't be addressed directly with a class name
#barnabywaltersI really don’t want to turn php-mf2 into a generic website scraping library
#aaronpkhow would you feel about removing the twitter classmap from the core, and instead writing a new class that just calls mf2\Parser or does its own parsing?
#aaronpki'll make it so you pass in the html and base URL to the parse function, and if it recognizes the URL as one of the known sites, it does its own parsing, otherwise calls mf2\Parser
#barnabywaltersafter trying to use the twitter classmap and getting awful results I’m inclined to think that it’d be better to create a new class for each service
#aaronpkyea exactly, easier to add stuff to later as well
#aaronpkbarnabywalters: do you install phpunit using the .phar?
#barnabywaltersaaronpk: I either install it using composer, the run it with bin/phpunit, but I also have it installed globally via PEAR. the global one is harder to update though, so I prefer composer
#barnabywaltershah, my brain will now have a permanent s/facebook/big blue silo filter going
jzb, caseorganic and tantek joined the channel
#tantekbarnabywalters, consider: what's the minimum viable venue UI could you implement and start using to check-in via your website?
#tantekI'm going to suggest that you may find that once you design/implement that MVVUI and use it, by actual use in the wild you'll come up with a much more informed set of next-most-important-to-you features to implement.
#barnabywaltersoh, this is separate to check in UI — this is venue permalink page, then I specced out a *really* minimal UI for adding venue checkin data to the note posing UI
#barnabywaltersbbiab, off to some event (not entirely sure what)
#tanteklike if I post a note that refers to an earlier note of mine (a mention, not a reply), should I convert that mention of a note on my site, to URL of its POSSE copy, when I POSSE the new note?
#bretits only a matter of time before more people have the though "why are all these companies so interested in me socializing!?!? could this be one big tupperware party for advertisers?"
#bretSomething that isnt taking the approach of apple, google, facebook. "just put all your eggs in a single basket, dont worry we will never fail you"