[Dspace-devel] Thoughts on format of config/default.license?

2015-04-27 Thread Mark H. Wood
I was handed a Word document for use as a deposit license.  Of course
that doesn't work, but what does?  I carefully extracted and
re-formatted the content as plain text, and it was nearly destroyed by
the UI.

It turns out that the license text is neither one thing nor another.
It seems to be provided by machine-machine interfaces that would make
HTML problematic.  But XMLUI treats it as a simple HTML fragment,
which gets it rendered as ordinary character data (meaning that my
nice spacing and multilevel bullet lists get squashed).

What should we do with this thing?  If it has to be plain text, then
XMLUI should treat it as pre so it doesn't get
rewrapped/filled/generally blenderized.  Or should it *really* be an
HTML fragment in which we can use markup appropriate to the interior
of the body element?  Something else?

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel


Re: [Dspace-devel] Thoughts on format of config/default.license?

2015-04-27 Thread Peter Dietz
Once upon a time, I built a proxy license submission step. A penultimate
step step that lets admin users upload a file by proxy. And so they are
uploading a signed document (PDF)
https://github.com/osulibraries/DSpace/blob/osukb/dspace-api/src/main/java/org/dspace/submit/step/UploadLicenseStep.java

Nobody views that license / file. Its only for legal/archival purposes for
(in case) someone challenges how the repository obtained the original
document.

I guess another question you are asking is should the system store
presentation information (markup / html), or should it be plain text.
Another question is what's the purpose of the license? Just to present
something better looking to the user before they click I agree? You could
try to render the license within the license acceptance page. PDF's have
better success at rendering than doc.
http://stackoverflow.com/questions/1469/embed-pdf-in-html5


Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Mon, Apr 27, 2015 at 5:05 PM, Mark H. Wood mw...@iupui.edu wrote:

 I was handed a Word document for use as a deposit license.  Of course
 that doesn't work, but what does?  I carefully extracted and
 re-formatted the content as plain text, and it was nearly destroyed by
 the UI.

 It turns out that the license text is neither one thing nor another.
 It seems to be provided by machine-machine interfaces that would make
 HTML problematic.  But XMLUI treats it as a simple HTML fragment,
 which gets it rendered as ordinary character data (meaning that my
 nice spacing and multilevel bullet lists get squashed).

 What should we do with this thing?  If it has to be plain text, then
 XMLUI should treat it as pre so it doesn't get
 rewrapped/filled/generally blenderized.  Or should it *really* be an
 HTML fragment in which we can use markup appropriate to the interior
 of the body element?  Something else?

 --
 Mark H. Wood
 Lead Technology Analyst

 University Library
 Indiana University - Purdue University Indianapolis
 755 W. Michigan Street
 Indianapolis, IN 46202
 317-274-0749
 www.ulib.iupui.edu


 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 Dspace-devel mailing list
 Dspace-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-devel


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel