You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "Gregor J. Rothfuss" <gr...@apache.org> on 2005/03/16 04:33:10 UTC

[Fwd: Re: global assets?]

lee,

maybe this is of interest for your global asset management

let us know how it goes.

and maybe doug will chime in too ;)



-------- Original Message --------
Subject: Re: global assets?
Date: Wed, 02 Feb 2005 17:03:27 -0500
From: Doug Chestnut <dh...@virginia.edu>
To: Gregor J. Rothfuss <gr...@apache.org>
References: <42...@apache.org> 
<42...@virginia.edu> <42...@apache.org>


> i see. would you mind sending those to me? i'm playing around with asset 
> management and would be curious to see how you approached things.
> 

Yeah, sorry for the late reply, I have been in meetings all day.

Actually, turns out that I did implement it in 1.4 and haven't gotten
around to trying something like it in 1.2.x.  Anyway, my current build
of 1.4 doesn't allow me to upload documents for some reason or another
so I can't try it out.

I had this working at some point, just got left in the queue of things
to do :).

--Doug



Re: Re: global assets?]

Posted by Lee Carroll <le...@aol.com>.
Gregor, Doug,

Thanks for the advice and code examples.

I've managed (after much pain and difficulty, brought on mainly by a heady 
mixture of java ignorance and incompetance) to implement a global assets bin 
for a publication. It's far from ideal and has several flaws but works for 
us, for now. Dougs code implemented the idea we had a little while ago where 
a pages ancestors resources where also available to the page. However we 
decided not to go for this as it forces the organization of the publications 
resources into the same structure as the site hierarchy. This might be true 
but it probably is not.

We have a root level document called "globalAssetsBin". Users add 
publication wide resorces to this page. Child documents of the 
"globalAssetsBin" document provide a classification structure.

Info/Assets.xsp has been changed to read the globalAssetsBin documents and 
display the publication wide resources along with the page resources. A 
clunky bit of javascript then creates the correct relative href to be 
inserted into the docment.

Doug noted some limitations, mainly document moves. We've also noted the 
publication of resources is not ideal. If a users adds a publication wide 
resource they must publish the "globalAssetBin" page again. However the page 
has not been edited and therefore the user must force a dummy edit to be 
able to publish. We thought about having the globalAssetsBin pages as a 
special doctype with a different workflow. A workflow which starts when a 
user adds a resource, possibly publishing the page straight off? Is this 
possible?

We've also found that users need to classify images in multiple ways. (By 
color, subject, size etc) and we have only got one hierarchy. Has anyone out 
there used metadata?

Cheers Lee C


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: [Fwd: Re: global assets?]

Posted by Doug Chestnut <dh...@virginia.edu>.
> 
> and maybe doug will chime in too ;)
> 
As I said to Gregor, I had this working at some point in 1.4 but I am 
now using 1.2.  I just made assets.xsp not only return a list of assets 
but also a list of inherited assets (live).

I figured that inherited assets made better sense than global assets 
since you could have sections or your site be able to access certain 
assets (more manageable?).  Assets that belonged to the homepage would 
be inherited by the entire site (global).

Problems that I see:
-delete an asset and there is no warning, and broken asset links remain 
(this is an issue with assets as they are now as far as I know)
-move a page (with link to inherited asset) and should the asset be 
removed? does it break the asset link (haven't tried it).

My users would like to make url assets (links to database/journal 
resources and metadata about the resource) and build their link pages 
from the asset lists.  When urls/metadata change for their resources, 
they change the asset instead of all the pages with the links.  I think 
I saw a post about link assets recently, I will have to take a second look.

--Doug


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org