def convert(self, converter):
		e = xsc.Frag()
		if "name" in self.attrs:
			e.append(html.meta(name="author", content=self.attrs["name"]))
			if "lang" in self.attrs:
				e[-1].attrs["lang"] = self["lang"]
		if "email" in self.attrs:
			e.append(html.link(rel="made", href=("mailto:", self["email"])))
		return e.convert(converter)
Beispiel #2
0
 def convert(self, converter):
     e = xsc.Frag()
     if "name" in self.attrs:
         e.append(html.meta(name="author", content=self.attrs["name"]))
         if "lang" in self.attrs:
             e[-1].attrs["lang"] = self["lang"]
     if "email" in self.attrs:
         e.append(html.link(rel="made", href=("mailto:", self["email"])))
     return e.convert(converter)
Beispiel #3
0
 def convert(self, converter):
     e = html.meta(self.attrs)
     e.attrs["name"] = "keywords"
     e.attrs["content"] = self.content
     return e.convert(converter)
Beispiel #4
0
 def convert(self, converter):
     e = html.meta(self.attrs.withoutnames("type"))
     e.attrs["http-equiv"] = "Content-Script-Type"
     e.attrs["content"] = self["type"]
     return e.convert(converter)
Beispiel #5
0
 def convert(self, converter):
     e = html.meta(http_equiv="Refresh",
                   content=(self.attrs["secs"], "; url=",
                            self.attrs["href"]))
     return e.convert(converter)
Beispiel #6
0
 def convert(self, converter):
     e = html.meta(self.attrs)
     e.attrs["name"] = "description"
     e.attrs["content"] = self.content
     return e.convert(converter)
	def convert(self, converter):
		e = html.meta(self.attrs)
		e.attrs["name"] = "keywords"
		e.attrs["content"] = self.content
		return e.convert(converter)
	def convert(self, converter):
		e = html.meta(self.attrs.withoutnames("type"))
		e.attrs["http-equiv"] = "Content-Script-Type"
		e.attrs["content"] = self["type"]
		return e.convert(converter)
	def convert(self, converter):
		e = html.meta(http_equiv="Refresh", content=(self.attrs["secs"], "; url=", self.attrs["href"]))
		return e.convert(converter)
	def convert(self, converter):
		e = html.meta(self.attrs)
		e.attrs["name"] = "description"
		e.attrs["content"] = self.content
		return e.convert(converter)