On 07/13/2012 10:50 AM, Joshua Wulf wrote:
Thanks for the reply Jeff, and Rudi for the help in IRC. I got it to work!

My observations inline below for anyone else trying this.

----- Original Message -----
From: "Jeff Fearn"<jfe...@redhat.com>
To: publican-list@redhat.com
Sent: Friday, July 13, 2012 10:10:03 AM
Subject: Re: [publican-list] Adding Common_Content to a brand

On 07/13/2012 12:22 AM, Joshua Wulf wrote:
Is it possible to add arbitrary Common_Content to a brand?

I followed the instructions in
http://rlandmann.fedorapeople.org/pug/chap-Users_Guide-Branding.html
and built my brand. I have css overrides working, and can package,
install, and use my brand to build books.

I'd like to have some additional boiler plate text.

I tried adding a file to the en-US directory of the brand, where
Legal_Notice.xml and Feedback.xml are. However, it doesn't seem to
package these. Is there any way to add a file to the
Common_Content, or somewhere else, in a custom brand package?

This should Just Work(TM). The OpenShift brand in the publican git
repo
should be a good example of just adding stuff in.

where stuff==$filename.xml&&  isValidXML($filename.xml)

Anything without the .xml extension is ignored, and anything with the .xml 
extension is validated as xml.

New subdirectories are also ignored.

If anyone has a requirement for a specific kind of content they can open a bug and we'll handle it.

For truly arbitrary content, the images and css directories seem to work well.

Until someone opens a bug about the wrong kind of thing being copied and we filter that content too, such as happened with the XML.

Cheers, Jeff.

--
Jeff Fearn <jfe...@redhat.com>
Acting Supervisor
Infrastructure Engineering & Development (AEU)
Red Hat Asia Pacific Pty Ltd
GPG: 0x0357E8F0

_______________________________________________
publican-list mailing list
publican-list@redhat.com
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to