Ejemplo n.º 1
0
    def atom(self, host):
        import drupal
        import joomla
        import wordpress
        import magento
        import concrete5
        import bolt
        import typo3
        import vbulletin
        import urllib
        from core.urli import sansor
        host = sansor().fransor(host)
        hostp = sansor().pransor(host)
        if sansor().cransor(hostp):

            cont = urllib.urlopen(host).read()
            final = []
            drp = drupal.Drupal().run(cont)
            jml = joomla.Joomla().run(cont)
            wps = wordpress.Wordpress().run(cont)
            mgt = magento.Magento().run(cont)
            cr5 = concrete5.Concrete5().run(cont)
            blt = bolt.Bolt().run(cont)
            tp3 = typo3.Typo3().run(cont)
            vbn = vbulletin.Vbulletin().run(cont)
            eve = [drp, jml, wps, mgt, cr5, blt, tp3, vbn]
            for key in eve:
                if key:
                    final.append(key)
            if final == []:
                final.append('none')
            return final
        else:
            return None
Ejemplo n.º 2
0
def Cms(content):
	return (
		drupal.Drupal().run(content),
		joomla.Joomla().run(content),
		wordpress.Wordpress().run(content),
		magento.Magento().run(content)
		)	
Ejemplo n.º 3
0
def Cms(content):
    return (drupal.Drupal().Run(content), joomla.Joomla().Run(content),
            wordpress.Wordpress().Run(content))