David E. Wheeler wrote:
> On Dec 2, 2010, at 6:39 AM, Aaron Fuleki wrote:
>
>> Even skipping the web service part and outputting static markup when the story
> profile loads (which is my understanding of Zdravko's current solution) might benefit from
> the 'uuid://' approach
>
> +1, especially if we added a Burner method that would fix such links for you.
> In fact, it'd be nice if there was something that would allow the wysiwyg editor to display them;
> maybe use a URI like http://$bricolge_host/preview/media/$uuid, which would be a call to the
> back end that would return the document. Should be pretty simple, really.
>
Nice. This would cover for generality. Relative links would do, too: /preview/media/$uuid.
But what to do on template part?
Should it be left entirely to users?
Running some predefined template would be an exception in bricolage.
It may be better having some $burner->wysiwyg($html) that does the uri replacements or even
calls display_element($related_media)?
Zdravko
> On Dec 2, 2010, at 6:39 AM, Aaron Fuleki wrote:
>
>> Even skipping the web service part and outputting static markup when the story
> profile loads (which is my understanding of Zdravko's current solution) might benefit from
> the 'uuid://' approach
>
> +1, especially if we added a Burner method that would fix such links for you.
> In fact, it'd be nice if there was something that would allow the wysiwyg editor to display them;
> maybe use a URI like http://$bricolge_host/preview/media/$uuid, which would be a call to the
> back end that would return the document. Should be pretty simple, really.
>
Nice. This would cover for generality. Relative links would do, too: /preview/media/$uuid.
But what to do on template part?
Should it be left entirely to users?
Running some predefined template would be an exception in bricolage.
It may be better having some $burner->wysiwyg($html) that does the uri replacements or even
calls display_element($related_media)?
Zdravko