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


Release history Release notifications

This version
History Node

0.2

History Node

0.1

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page