Ejemplo n.º 1
0
 def _writeStartTag(self, stream):
     stream.write(u'<album name="%s" pic="%s" menu-id="%s" title="%s" subtitle="%s" description="%s">\n'
                  % (asXmlAttribute(self.name), asXmlAttribute(self.pic_location), asXmlAttribute(self.menu_id),
                     asXmlAttribute(self.title), asXmlAttribute(self.subtitle), asXmlAttribute(self.description)))
Ejemplo n.º 2
0
 def __writeStartTag(self, stream):
     stream.write(u'<customcontent name="%s" location="%s" dir-location="%s" menu-id="%s" title="%s" subtitle="%s">\n'
                  % (asXmlAttribute(self.name), asXmlAttribute(self.html_location), asXmlAttribute(self.supplemental_dir), 
                     asXmlAttribute(self.menu_id), asXmlAttribute(self.title), asXmlAttribute(self.subtitle)))
Ejemplo n.º 3
0
 def _writeStartTag(self, stream):
     stream.write(u'<gallery name="%s" menu-id="%s" title="%s" subtitle="%s" description="%s">\n'
                  % (asXmlAttribute(self.name), asXmlAttribute(self.menu_id),
                     asXmlAttribute(self.title), asXmlAttribute(self.subtitle),
                     asXmlAttribute(self.description)))
Ejemplo n.º 4
0
 def __writeStartTag(self, stream):
     stream.write(u'<project\n %s="%s"\n %s="%s"\n %s="%s"\n %s="%s"\n %s="%s"\n %s="%s"\n %s="%s"\n %s="%s"\n %s="%s"\n %s="%s"\n %s="%s">\n' %
                  ('name', asXmlAttribute(self.name),
                   'galgen-version', asXmlAttribute(Globals.ProgVersion),
                   'xhtml-template', asXmlAttribute(self.__xhtml_template),
                   'highres-xhtml-template', asXmlAttribute(self.__highres_xhtml_template),
                   'slideshow-xhtml-template', asXmlAttribute(self.__slideshow_xhtml_template),
                   'style-directory', asXmlAttribute(self.__style_directory),
                   'menu-id', asXmlAttribute(self.menu_id),
                   'title', asXmlAttribute(self.title),
                   'subtitle', asXmlAttribute(self.subtitle),
                   'html-location', asXmlAttribute(self.html_location),
                   'supplemental-dir', asXmlAttribute(self.supplemental_dir)))
Ejemplo n.º 5
0
 def __writeStartTag(self, stream):
     stream.write(u'<picture name="%s" location="%s" highres-location="%s" menu-id="%s" title="%s" subtitle="%s" description="%s" exif="%s">\n'
                  % (asXmlAttribute(self.name), asXmlAttribute(self.pic_location), asXmlAttribute(self.highres_location),
                     asXmlAttribute(self.menu_id), asXmlAttribute(self.title), asXmlAttribute(self.subtitle),
                     asXmlAttribute(self.description), asXmlAttribute(self.exif)))