{"shas":[["170da7ea855f1e46d70c45873054dc5b182c56e2","dc8db9f3c058352378e1b099e5739e383f3572b7@c89fab08-2f9b-42bf-8176-bd3ad6bee547","* The aVideo slot can now be imported. This is supported for type=\"aVideo\" and, implicitly, for type=\"foreignHtml\". That is, videos and other embeds/objects/iframes inline in your existing HTML will be automatically converted to video slots interleaved with rich text slots. We already do this for inline images. Note that this can import things that aren't strictly video, such as google maps embed codes. Media item titles are taken from the service in question or, if that is not available, based on the page title\n\n* A small change of import behavior: for consistency, the title of an imported page should already be entity-escaped HTML (we do not escape it for you). This was already required for the text of a slot and is consistent with what Wordpress exports contain\n\n* aString::splitAndCaptureAtEarliestMatch accepts a string and an array of regular expressions and splits the string each time it encounters a match for one of the regular expressions, always taking the earliest match available. The regular expression matches are included in the results. This is useful for separating out images and embed codes while still retaining the order of the original HTML. (preg_split does not really work this way because regex alternation does not always pick the earliest match)\n\n* Do a better job figuring out the file extensions of images at import time, even if there is a query string etc. present\n\n* Always generate valid slugs for imported media items\n\n* Import quietly when all is well (in dev you will still see a lot of logging messages)\n\n* All embed services patched to return proper strings, never funky XML objects\n\n\n\ngit-svn-id: http://svn.apostrophenow.org/plugins/apostrophePlugin/branches/1.5@3938 c89fab08-2f9b-42bf-8176-bd3ad6bee547","tboutell"]],"ref":"refs/heads/1.5","size":1,"head":"170da7ea855f1e46d70c45873054dc5b182c56e2","push_id":36507576}