On 01/12/2010 17:54, Neill Mitchell wrote:
> Hi Don.
>
> No, it's just a link that is published plus a thumbnail if desired. Then
> when you click on it in the wiki it opens a tab to the DAM page.

This sounds as if it could be realised with manageable effort (depending 
on your familiarity with the code, of course) by implementing a custom 
datatype. The dataype would interpret inputs as "IDs" of your external 
data items (whatever format that would be) and produce a proper 
MediaWiki embedding of these items for display. Storing the IDs would be 
easy (the datatype could keep them as strings, i.e. be implemented like 
Type:String with some additional sanity checks, similar to the ones for 
Type:URL). Looking at a file like ./includes/datavalues/SMW_DV_URI.php 
shows that the amount of code needed there is limited (this file already 
includes quite a number of checks, requiring, e.g., to analyse the 
protocol used in a URL). One would also have to register the new 
datatype; an example of this is found in the Semantic Maps datatype for 
geographic coordinates.

The main task would be to endow the new datatype with suitable output 
functions that produce the desired form of embedding in MediaWiki pages. 
This mainly requires that one already has a way of creating the desired 
output manually by writing wikitext -- SMW can not achieve any 
formatting that is not possible in MediaWiki directly, though it can 
make sure that additional Javascripts or CSS styles get loaded (which 
the user cannot do by just writing MediaWiki text). If there is a 
problem with this, one would first need to create a MediaWiki extension 
(e.g. with a custom-built parser function or parser hook) that is 
powerful enough to build the desired output.

-- Markus

>
> Cheers
> Neill.
> On 01/12/10 15:50, don undeen wrote:
>> Thanks neill, your project sounds interesting.
>>
>> We're using Mediabin.Which has an API that I can work with.
>>
>> when you say you have assets published to a SMW instance, does that mean
>> the assets are copied?
>> I really can't copy the assets; we've got too many of them. They need to
>> "live" in the DAM, and SMW needs to treat them as if they were local.
>>
>> which is why I was also thinking of the problem as "Mediawiki using
>> externally referenced images instead of just uploaded images"
>>
>>
>> ------------------------------------------------------------------------
>> *From:* Neill Mitchell<ne...@nlkmitchell.com>
>> *To:* semediawiki-devel@lists.sourceforge.net
>> *Sent:* Wed, December 1, 2010 6:45:28 AM
>> *Subject:* Re: [SMW-devel] SMW-DAM integration?
>>
>> Hi Don.
>>
>> I guess this is all down to what DAM you use. We have a client that uses
>> Xinet and so we faced the exact same problem you have. We had to get an
>> extension written that integrates with the Xinet Connector API. It was a
>> major (and expensive) chunk of work! It allows links to assets stored in
>> Xinet to be published to a SMW instance. Had to integrate the security
>> as well which was fun.
>>
>> It is a commercial DAM you are using or home grown?
>>
>> Regards
>> Neill.
>>
>> On 30/11/10 20:39, don undeen wrote:
>>   >  Hi all,
>>   >  I'm wondering if anyone out there has any experience integrating their
>>   >  wiki installation with an existing Digitial Asset Management system?
>>   >
>>   >  At my institution, we've got a massive DAM with millions of images.
>>   >  Obviously we really don't want to import/copy any images into the wiki.
>>   >
>>   >  However, some of the more useful features of image handling in the wiki,
>>   >  such as the RichMedia tool, WYSIWYG , the image page, etc, all depend on
>>   >  an image being uploaded to the wiki.
>>   >
>>   >  Currently, when I want to show an image from the DAM in the wiki, I just
>>   >  reference the full URL in the wiki text.
>>   >  But that doesn't play nice with the WYSIWYG editor.
>>   >
>>   >  I've described this problem previously as "Being able to use
>>   >  externally-referenced images in [[Image tags," but haven't heard any
>>   >  solutions yet.
>>   >
>>   >  But maybe if I describe it as "DAM Integration" the importance of this
>>   >  feature will seem more apparent, or a different kind of solution will
>>   >  present itself? Because I could imagine some sort of proxy could be used
>>   >  to do DAM integration, and you still wouldn't need to support "External
>>   >  URLs" in [[Image tags.
>>   >
>>   >  Seems like someone out there must be dealing with this issue. Anyone?
>>   >
>>   >
>>   >  Cheers,
>>   >  Don Undeen
>>   >  Metropolitan Museum of Art
>>   >
>>   >
>>   >
>>   >
>> ------------------------------------------------------------------------------
>>   >  Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
>>   >  Tap into the largest installed PC base&  get more eyes on your game by
>>   >  optimizing for Intel(R) Graphics Technology. Get started today with the
>>   >  Intel(R) Software Partner Program. Five $500 cash prizes are up for
>> grabs.
>>>   http://p.sf.net/sfu/intelisp-dev2dev
>>   >
>>   >
>>   >
>>   >  _______________________________________________
>>   >  Semediawiki-devel mailing list
>>   >  Semediawiki-devel@lists.sourceforge.net
>> <mailto:Semediawiki-devel@lists.sourceforge.net>
>>   >  https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>
>> ------------------------------------------------------------------------------
>> Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
>> Tap into the largest installed PC base&  get more eyes on your game by
>> optimizing for Intel(R) Graphics Technology. Get started today with the
>> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
>> http://p.sf.net/sfu/intelisp-dev2dev
>> _______________________________________________
>> Semediawiki-devel mailing list
>> Semediawiki-devel@lists.sourceforge.net
>> <mailto:Semediawiki-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App&  Earn a Chance To Win $500!
> Tap into the largest installed PC base&  get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to