[MTOS-dev] attaching vs. embedding assets to entries patch
Byrne Reese
byrne at sixapart.com
Mon Mar 24 11:45:55 PDT 2008
Well then - let's submit the patch into bugs.mt.org and get the contribution
process underway.
+1
On 3/24/08 11:40 AM, "Timothy Appnel" <tim at appnel.com> wrote:
> On Mon, Mar 24, 2008 at 12:52 PM, Byrne Reese <byrne at sixapart.com> wrote:
>> But let summarize the problem statements as I see them:
>
> I believe this is correct as you laid them out.
>
>> Now, let's summarize a solution, which your patch should already partially
>> or completely implement:
>>
>> * we need a way for MT to differentiate between assets that have been
>> associated manually vs those associated via being inserted
>
> This is th epurpose of the embedded boolean I added.
>
>> * we need a way for MT to auto-detect assets that may have been
>> inserted/removed into/from an entry and then to create/remove an association
>> between that asset and entry
>
> MT already did this though it need to consider the embedded boolean
> flag in its handling.
>
>> * we need a simple API to allow plugins, or other methods of
>> creating/removing an association between an entry and asset. A good example
>> is custom fields, or another attachment mechanism.
>
> This essentially exists through the Perl API though a specific method
> would be helpful -- if it doesn't already exist and I'm just missing
> it.
>
>> * we need a simpler association method - the complex HTML wrapper is
>> confusing. Can it be reduced somehow? Perhaps to a simple: mt:asset_id=""
>> attribute?
>
> This is less of an issue for me, but from what I can tell yes. What of
> text formatting engines though? I just raise it for consideration.
>
> <tim/>
More information about the MTOS-dev
mailing list