[ 
https://jira.duraspace.org/browse/DS-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26239#comment-26239
 ] 

Kostas Stamatis commented on DS-1227:
-------------------------------------

Dear all,

I have just committed a newer version of the code in GitHub.

This contributions has the same limitations as those described in DS-1223 by 
Andrea Bollini, since both contributions use the BrowseDAO classes.
The contributions have to do with the authorities in browse indices and the 
case insensitive stuff.

The tag cloud implementation in BrowseDAO classes has been implemented using 
the smallest amount of if statements in order not to produce a messy code. For 
the time being, the implementation seems fine, given the fact that the deadline 
is over.

Talking with Andrea in Skype, we discussed methods on how this contribution 
(and DS-1223 contribution, as well) can be improved, some of them include the 
addition of more columns in the browse tables. And this is something that we 
(at EKT) will be working for the next months.

Similar to DS-1223, this contribution needs to be tested on Oracle.

Thanks,

Kostas
                
> Tag cloud for any browse index in the home page of DSpace
> ---------------------------------------------------------
>
>                 Key: DS-1227
>                 URL: https://jira.duraspace.org/browse/DS-1227
>             Project: DSpace
>          Issue Type: New Feature
>          Components: JSPUI
>            Reporter: Kostas Stamatis
>            Assignee: Sands Fish
>              Labels: has-patch, has-pull-request, tag-cloud
>         Attachments: opencloud.jar, README.txt, tagcloud-patch.diff
>
>
> This proposed extension (implemented by National Documentation Centre/EKT - 
> http://www.ekt.gr) allows the import of a tag cloud in the homepage of DSpace.
> The tag cloud can include values from any of the browse indices (of metadata 
> type) of the repository and this is a configuration option along with many 
> other options that you can see later.
> Tha tag cloud is implemented as a tag, meaning that it can be included in any 
> page of the DSpace repository besides the homepage.
> USEFULNESS
> ---------------------
> Select a important browse index of your repository (i.e. subject) and include 
> all major subjects of your records in the home page of DSpace to attract 
> visitors.
> CONFIGURATION FILES
> ---------------------------------------
> Tag cloud is fully configurable within the default dspace.cfg configuration 
> file of DSpace. The new configuration options are:
> #######################################################
> # TAG CLOUD configuration #
> #######################################################
> #
> # Should display tag cloud in the home page?
> # Possible values: true | false
> webui.tagcloud.home.show = true
> #
> # Select the browse index to create a tag cloud for in the home page
> # Possible values: any of the browse indices declared earlier in this conf 
> file
> webui.tagcloud.home.bindex = subject
> #
> # Select the total tags to show
> # Possible values: any integer from 1 to infinity
> webui.tagcloud.home.maxtags = 50
> #
> # Should display the score next to each tag?
> # Possible values: true | false
> webui.tagcloud.home.showscore = false
> #
> # The score that tags with lower than that will not appear in the rag cloud
> # Possible values: any integer from 1 to infinity
> webui.tagcloud.home.cutlevel = 5
> #
> # Should display the tag as center aligned in the page or left aligned?
> # Possible values: true | false
> webui.tagcloud.home.showcenter = true
> #
> # The font size (in em) for the tag with the lowest score
> # Possible values: any decimal
> webui.tagcloud.home.fontfrom = 1.3
> #
> # The font size (in em) for the tag with the highest score
> # Possible values: any decimal
> webui.tagcloud.home.fontto = 2.8
> #
> # The case of the tags
> # Possible values: Case.LOWER | Case.UPPER | Case.CAPITALIZATION | 
> Case.PRESERVE_CASE | Case.CASE_SENSITIVE
> webui.tagcloud.home.tagcase = Case.PRESERVE_CASE
> #
> # If the 3 colors of the tag cloud should be independent of score 
> (random=yes) or based on the score
> # Possible values: true | false
> webui.tagcloud.home.randomcolors = true
> #
> # The ordering of the tags (based either on the name or the score of the tag)
> # Possible values: Tag.NameComparatorAsc | Tag.NameComparatorDesc | 
> Tag.ScoreComparatorAsc | Tag.ScoreComparatorDesc
> webui.tagcloud.home.tagorder = Tag.NameComparatorAsc
> #
> # The first color of the tags
> # Possible values: hex value of the color (i.e. e3d67a)
> webui.tagcloud.home.tagcolor1 = D96C27
> #
> # The second color of the tags
> # Possible values: hex value of the color (i.e. e3d67a)
> webui.tagcloud.home.tagcolor2 = 424242
> #
> # The third color of the tags
> # Possible values: hex value of the color (i.e. e3d67a)
> webui.tagcloud.home.tagcolor3 = 818183
> EXTERNAL LIBRARIES
> --------------------------------------
> This extension makes use of the following external java library:
> a) opencloud |(http://opencloud.mcavallo.org/): a java library for for 
> generating and managing tag clouds (under MIT licence)
> EXAMPLES
> -------------------
> Repository: Managing Authority of the Operational Programme "Education and 
> Lifelong Learning"
> URL: http://repository.edulll.gr/edulll/

--
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

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to