forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clay Leeds (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-872) Updated odt_to_xhtml.xsl to pass <title> & <h1> elements.
Date Fri, 05 May 2006 02:53:17 GMT
    [ http://issues.apache.org/jira/browse/FOR-872?page=comments#action_12377939 ] 

Clay Leeds commented on FOR-872:
--------------------------------

Uh oh... The images don't work as well as planned. The Forrest resources.xmap places them
in '../images/' instead of 'images/'. Since the images were placed in 'build/images/' instead
of 'build/site/images/' I didn't notice the problem until I tested on a separate server.

BTW, we also need to ensure embedded images are placed in subdirectories based on $filename
(similar to how OOo plugin works) to ensure embedded images from different files have a unique
path, to ensure integrity of the page (if two embedded images are assigned the same name,
then the image from the last file transformed would replace earlier versions with the same
name).

> Updated odt_to_xhtml.xsl to pass <title> & <h1> elements.
> ---------------------------------------------------------
>
>          Key: FOR-872
>          URL: http://issues.apache.org/jira/browse/FOR-872
>      Project: Forrest
>         Type: Improvement

>   Components: Plugins: Potential new
>     Versions: 0.8-dev
>     Reporter: Clay Leeds
>     Assignee: Thorsten Scherler
>     Priority: Minor
>      Fix For: 0.8-dev
>  Attachments: odt_002.diff, odt_clay_003.diff, odt_clay_004.diff, odt_plugin.diff, odt_to_xhtml-forrest.xsl,
resources.xmap
>
> Modified odt_to_xhtml.xsl to pass the first text heading (office:document-content/office:body/office:text/text:h[1])
as the Forrest output's HTML <title> & <h1> elements.
> Eventually, this will be changed to grab the OpenDocument 'Title' attribute (/office:document-meta/office:meta/dc:title).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message