Andrea Schweer commented on New Feature DS-1483
Ivan -- Constants.CONTENT_BUNDLE_NAME might be a better choice (https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/core/Constants.java#L68). Though as you say, ORIGINAL is hard-coded all over the place (which doesn't necessarily mean it's a good idea!). I think originally the idea was to make this configurable, but in reality things would break in many interesting ways if anybody did in fact change it in their repository.

Richard, can you think of a good way to make this configurable? I agree that this would be great but I fear it would get messy quickly because there are so many possible combinations of how to select a "good" candidate. I guess also it depends on what you mean by "configurable" -- I tend to read it as "flick a switch in the config file" while so often in DSpace it means "you can write a custom Java class that implements your custom logic".

For your specific case, the HTML trees -- is the index.html really not what you want to index, if the choice is index that one or index no file at all for the item? I guess at the end of the day it really depends on the content in your repository, but 'my' repository managers all thought that indexing _something_ is better than indexing nothing. The good old false positives vs false negatives trade-off I suppose...
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to