PHP Classes

HTML Metatags using PHP on Time: Store and retrieve HTML tags to use in Web pages

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 79 This week: 2All time: 10,092 This week: 84Up
Version License PHP version Categories
htmlheaderontime 1.0.0Public Domain5HTML, PHP 5, Databases
Description 

Author

This package can be used to Store and retrieve HTML tags to use in Web pages.

It provides traits that can be used by classes to store values in a NoSQL database that associate a named group of HTML tag values with the respective values.

The package can also retrieve the a group of HTML tag values given the group name, so applications can use the values when they render the HTML of the current page being served by PHP.

How to implement html header using OnTime backend to can change it without change the web code, store in the basic content feature, can define the meta tag headers need in any web page

Picture of Mario Carrocera
  Performance   Level  
Name: Mario Carrocera is available for providing paid consulting. Contact Mario Carrocera .
Classes: 18 packages by
Country: Mexico Mexico
Age: 58
All time rank: 310236 in Mexico Mexico
Week rank: 103 Up2 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Example

<?php
ini_set
('display_errors', true);
error_reporting(E_ERROR | E_PARSE | E_NOTICE | E_WARNING);

$base='ontime/';
include_once(
$base."OnTimetmp.php");
$Demo=new OnTime();
$Screen = $Demo->ShwCntIn('screen',"page");

?>

<!DOCTYPE html>
<html>
    <head>
        <title id='Description'><?php echo $Screen['head']; ?></title>
        <link rel="shortcut icon" href="<?php echo $Screen['icon']; ?>" />
        <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" />
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta name="description" content="<?php echo $Screen['description']; ?>" />
        <meta name="keywords" content="<?php echo $Screen['keyword']; ?>" />
        <meta name="author" content="<?php echo $Screen['author']; ?>" />
    </head>
<body>

<?php


$Demo
->ot_show($tmp);


include_once(
'Classcommon.php');
$license = new CCLicense(3,2,1);
echo
'<br>'.$license->logo . '</br>';

echo
$license->url;

?>

</body>
   
</html>
           
           


Details

How use OnTime backend to store and setup html meta tags

The OnTime framework is designed to be modular, scalable and comprehensive, so that each new feature integrates without difficulty and maintains a unique class definition (OnTime) and all "additional classes" are "trait" that enrich it, in such a way that an integrated system is obtained, not separate programs which do not necessarily have to behave correctly together.

This is just a sample to show how todo, can add o remove all tag you wan

Installation in test environment:

1.- Copy all the files in the directory where was instaled OnTime

2.- With the browser of your preference, locate the directory and enter it

3.- Execute the OntimeInstaller.php file

4.- When executing the file, the files the required environment was created

Recommendations:

If you know how to create a subdomain that points to the "demo" directory, it is more comfortable and realistic.

After install

1.- Select the file FillDataxxx.php, to create sample data, can use it to adapt as you need. 2.- The file HtmlPage.php show the result in the browser,

mario.carrocera@hotmail.com


Screenshots  
  • HtmlMetaTag.png
  • SourceCode.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file background.jpg Example Example script
Accessible without login Plain text file FillData.php Example Example script
Accessible without login Plain text file HtmlPage.php Example Example script
Accessible without login Plain text file licencia Data Auxiliary data
Accessible without login Plain text file license Lic. License text
Accessible without login Image file mglogo30.png Icon Icon image
Accessible without login Plain text file OnTime.php Aux. Auxiliary script
Accessible without login Image file ontime.png Data Auxiliary data
Accessible without login Plain text file OntimeInstaller.php Example Example script
Accessible without login Plain text file OnTimetmp.php Aux. Auxiliary script
Accessible without login Image file otfavicon.ico Data Auxiliary data
Plain text file OTicore.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

Downloadhtmlheaderontime-2021-05-06.zip 517KB
Downloadhtmlheaderontime-2021-05-06.tar.gz 517KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP Creative Commons Logo Download .zip .tar.gz nice tool Recommended
HTML Nav bar using PHP on Time Download .zip .tar.gz Implements a Nav Bar Optional
HTML Google Fonts using PHP on Time Download .zip .tar.gz Implement Google Font on HTML Recommended
HTML CSS Styles using PHP on Time Download .zip .tar.gz Implements Css Html Recommended
HTML LayOut using PHP on Time Download .zip .tar.gz Implement Layout Recommended
PHP NoSQL Database OnTime Download .zip .tar.gz Database controler Required
 Version Control Reuses Unique User Downloads Download Rankings  
 86%15
Total:79
This week:2
All time:10,092
This week:84Up