tantek, benwerd, [chrisaldrich], [miklb], renem, snarfed, gRegorLove, [jeremycherfas], amz3`, [kevinmarks], raretrack, loicm and calumryan joined the channel
#GWGI need a good name for a function that looks at the mf2 properties of a post and returns the elements necessary to generate a link preview of the item being referenced(bookmark URL, check-in data, etc).
#GWGI'm using get as the function name for retrieving single properties.
#sebselAre you making a call to the bookmarked URL to get the mf2 from there? That sounds like 'fetch'.
#GWGsebsel: No. I'm storing that information in as properties. This is to hide the code that figures out which property
#GWGRight now, I store everything in the wrong place. It should be nested properties under in-reply-to or bookmark-of, etc instead of in a separate area.
#GWGIt's part of the modifications I'm making to support nested properties because Micropub stores them as nested
#sebselHm, the way I support nestled properties now is just storing them by URL in a sort-of dictionary
#GWGI store them inside the post, not in a third table.
#sebselI have no database, so that's easy, but it looks like XRay's return values, like the 'refs' there.
#sebselBut then I use a function I believe I called 'lookup' or 'fetch', which looks at that dictionary for the URL, and if it's not there, it grabs it from the external source and stores it in the dictionary.