I think embed:http://url.... should be deprecated in MARKMIN.
It think if a url is found and not marked-up whether or not prefixed with
"embed:" the url should be precessed by the function
gluon/contrib/autolinks.py/expand_one(url,{})
This function uses the oembed protocol to figure out the best way to embed
the content pointed by the url (whether it is an image, a video, a youtube
page, etc.) The {} argument is a dictionary that will be used for caching.
The iframe prefix should be left alone but may need to discuss security.
Should it be enabled by default?
This may actually simplify markmin.
Massimo
On Thursday, 26 July 2012 17:30:21 UTC-5, Massimo Di Pierro wrote:
>
> Before you change it, let me think about this some more...
>
> On Thursday, 26 July 2012 17:03:35 UTC-5, dbdeveloper wrote:
>>
>> well, give me an example of correct iframe and embed output and I'll
>> change markmin. ok?
>>
>> Vladyslav Kozlovskyy (Ukraine)
>>
>> 26.07.12 16:40, Jose написав(ла):
>>
>>
>>
>> El jueves, 26 de julio de 2012 02:04:21 UTC-3, dbdeveloper escribió:
>>>
>>> Hi, Jose!
>>>
>>> try 'iframe' instead of 'embed':
>>>
>>> iframe:http://www.youtube.com/embed/x1w8hKTJ2Co
>>>
>>
>> Ok Vladyslav, but I think the same as Massimo, this breaks backwards
>> compatibility.
>>
>> Jose
>> --
>>
>>
>>
>>
>>
>>
>>
>>
--