[
https://jira.duraspace.org/browse/DS-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19291#action_19291
]
Tim Donohue commented on DS-692:
--------------------------------
This issue was discussed in DSpace Developer Mtg on Feb 23, 2011.
Full discussion thread follows:
[20:17] <tdonohue> https://jira.duraspace.org/browse/DS-692 : Clean up invalid
HTML in collection and community metadata
[20:18] <stuartlewis> Could this be implemented as a curation task?
[20:18] <richardrodgers> So this is a migration tool?
[20:18] <tdonohue> +1 to stuartlewis's question. Seems like a potential
curation task?
[20:18] <PeterDietz> this is a 1.6-era thing, so a likely candidate for
implementation as curation task
[20:19] <PeterDietz> yeah, this was essentially a one-time thing. convert <br>
to <br/> and such
[20:19] <mhwood> And people will continue to put invalid HTML in, so it's not
really migration-only.
[20:19] <richardrodgers> OK, then if the latter, I agree it looks curation
task-like..
[20:19] <tdonohue> +1 if this is made into a curation task
[20:20] <kshepherd> +1 to curation task with reporting/noop and 'fix' options
[20:20] <PeterDietz> adding some client-side input validation on edit
item/collection/community would help stop users from doing bad things
[20:20] <mhwood> +1
[20:20] <stuartlewis> +1
[20:20] <PeterDietz> I'm fine with curation-task-ifying it
[20:20] <stuartlewis> Any other votes? If not, +4, keep assigned to PeterDietz
> Clean up invalid HTML in collection and community metadata
> ----------------------------------------------------------
>
> Key: DS-692
> URL: https://jira.duraspace.org/browse/DS-692
> Project: DSpace
> Issue Type: New Feature
> Components: DSpace API
> Affects Versions: 1.6.2
> Environment: xmlui
> Reporter: Peter Dietz
> Assignee: Peter Dietz
> Attachments: CDATA-wrapping-collection-attributes.patch,
> jtidy-comm-coll.patch, xmlui-report-invalid-coll-comm.patch
>
>
> In JSPUI the system was forgiving with an instance with plain-old-HTML that
> users entered into the metadata values for fields. In XMLUI, it requires
> valid XHTML, otherwise it junks the whole text and displays the html in the
> page, as opposed to rendering them. This solves local needs, and had been a
> deal breaker before migrating between systems.
> Therefore, I've implemented jTidy in DSpace to clean up collection and
> community metadata fields. It runs from the command line.
> == To Install the JTidy JAR ==
> Download the jar:
> http://sourceforge.net/projects/jtidy/files/JTidy/r938/jtidy-r938.jar/download
> mvn install:install-file
> -Dfile=/home/dspace/Downloads/jtidy-r938/jtidy-r938.jar -DgroupId=jtidy
> -DartifactId=jtidy -Dversion=938 -Dpackaging=jar
> Then it can be run from the command line:
> /dspace/bin/dspace dsrun org.dspace.content.service.TidyService
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel