Skip to main content

HTML meta element builder

Project description

HTML meta element: description, keywords, author, copyright, robots, refresh, content-type, expires, publisher and all.

# Pyhmeta 0.2 news: W3 validator Passed (This document was successfully checked as XHTML 1.0 Strict!) expires, publisher and all meta elements add. new color style.

Install:

sudo python setup.py install

Use- Kullanım:

>>> import hmeta
>>> hmeta.des("HTML meta elements builder")
<head>
<meta name="description" content="HTML meta elements builder" />
</head>
>>> hmeta.aut("Samet Aras")
<head>
<meta name="author" content="Samet Aras" />
</head>
>>> hmeta.publ("Samet Aras")
<head>
<meta name="publisher" content="Samet Aras" />
</head>
>>> hmeta.refresh(15,"http://www.python.org")
<head>
<meta http-equiv="refresh" content="15; url=http://www.python.org" />
</head>
>>> hmeta.all()
<head>
<meta name="description" content="HTML Meta Element" />
<meta name="keywords" content="html,meta,element" />
<meta name="author" content="Samet Aras" />
<meta name="copyright" content="&copy; 2009" />
<meta name="robots" content="ALL" />
<meta http-equiv="refresh" content="10; url=http://www.python.org" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="expires" content="Tue, 13 Oct 2009 07:55:47" />
<meta name="publisher" content="Samet Aras" />
</head>
Would you like HTML file [Y/N] ?y
Congratulations, created your HTML file.
PATH:  /home/samet/Masaüstü/pyhmeta/hmeta.html
Would you like hmeta.html with working your default web browser ? [Y/N]y
hmeta.html working...   OK.

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page