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

Mark Diggory commented on DS-1076:
----------------------------------

We've done work where a transformer is added to DSpace which checks the file 
path for the static file and populates the body of the dri with a placeholder 
uri to the file and detail for the accessing the file in the Page metadata.  
His blocks the resource not found error.  The format of the status files is 
then XHTML and is placed into the body content section of the page in the xslt 
transform, skipping the dri stage and thus allowing pages to be authored 
completely in XHTML.

The title and other metadata is extracted from the XHTML head and populates the 
generated view. 

At some point we should get this into the next version, even within @mire we 
have several variants of this approach that could stand to be consolidated.

Mark
                
> Visualisation of static pages is broken in 1.8
> ----------------------------------------------
>
>                 Key: DS-1076
>                 URL: https://jira.duraspace.org/browse/DS-1076
>             Project: DSpace
>          Issue Type: Bug
>          Components: XMLUI
>    Affects Versions: 1.8.0
>            Reporter: Àlex Magaz Graça
>
> I have a repository with static pages implemented following the instructions 
> of the XSL-method (the first one):
> https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthemetutorial-Addingstaticpages
> However, it has stopped working after upgrading to version 1.8 (from 1.7.0). 
> The cause of the problem is the change in the following commit:
> https://fisheye3.atlassian.com/browse/dspace/dspace/trunk/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/general/PageNotFoundTransformer.java#r6780
> If not fixed documentation should be updated accordingly to avoid confusion. 
> Anyway, it would be great to have an easy and non-ugly way of adding static 
> pages to DSpace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to