You could add your simple example using the same postprocessing
functionality that YouTube is done with. Take a look at
/farcry/core/packages/lib/postprocess.cfc to see how it's done.

Fully functional containers would be much more elaborate - not just to
implement, but for users to manage. You could probably do something like it
by using a postprocess function to insert preexisting containers.

Blair


On Tue, Apr 30, 2013 at 11:37 AM, Mark Picker <[email protected]>wrote:

>  Any thoughts on being able to embed objects/rules/containers etc. into
> the body content?
>
> For example in the middle of your content you could add something like
> {{youtube:v348fdd}} (I realise there is a parser for youTube in 6.2 but
> just using that as an example)or {{file:
> B7F0A8E1-2BFA-C128-43DAFF7280D7DFF6}} etc.  Even better if tinyMCE could
> render that while the contributor is still editing the content.
>
> At the moment you can have a webskin that is used by the “related content
> templates” in TinyMCE but when using these we are commonly inserting
> content with div’s and span’s etc. e.g. inserting an icon to the left of a
> file link and displaying the file size to the right. We have a lot of
> issues when contributors are editing the content and delete a link to a
> file for example, but accidently leave behind the wrapping span/div tags.
> They then insert a new link to an updated document (again using related
> content templates) but now end up with multiple and possibly broken div and
> span tags.  If you have the webskin displaying the file size or other
> information about the file, this is static.  If instead using something
> like {{file: B7F0A8E1-2BFA-C128-43DAFF7280D7DFF6}} that is rendered at
> runtime, if the file has been updated then the file size and other
> information would change as needed.
>
> You would/could still use the related content templates to build these
> code snippets.
>
> I could see a use for this beyond just youTube and files.  It could be a
> way to insert rules and containers into the middle of the content rather
> than having custom types with “top” and “bottom” content.  If used to
> insert images into the content, it means any changes to the images
> (captions, titles, alt etc.) would automatically change across a site.
>
> Would this be a useful feature to anyone?
>
> Cheers
> Mark
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to