[publican-list] Adding Common_Content to a brand

Joshua Wulf jwulf at redhat.com
Fri Jul 13 00:50:08 UTC 2012


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" <jfearn at redhat.com>
> To: publican-list at 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. 

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




More information about the publican-list mailing list