2017 © Pedro Peláez
 

library metaculous

Metadata helpers

image

monomelodies/metaculous

Metadata helpers

  • Saturday, January 28, 2017
  • by monomelodies
  • Repository
  • 1 Watchers
  • 0 Stars
  • 143 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 1 % Grown

The README.md

Metaculous

Metadata helpers, (*1)

A few simple helpers to generically add metadata tag (description, keywords) to your HTML pages, based on page content., (*2)

Website Full documentation, (*3)

Installation

$ composer install --save monomelodies/metaculous

Manual

Download or clone the files, and add /path/to/metaculous/src to your autoloader for classes in the Metaculous namespace., (*4)

Usage

Instantiate the Parser:, (*5)

<?php

use Metaculous\Parser;

$parser = new Parser;

Generate a short description based on random text (e.g. page content from a database):, (*6)

<?php

echo '<meta name="description" content="'.$parser->description($bodyText).'">';

Generate top 10 keywords based on the same text:, (*7)

<?php

echo '<meta name="keywords" content="'.implode(', ', $parser->keywords($bodyText)).'">';

Of course, you could also use the keywords to e.g. display a tag cloud., (*8)

The Versions

28/01 2017

dev-master

9999999-dev

Metadata helpers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

twig template php metadata description keywords

28/01 2017

1.1.0

1.1.0.0

Metadata helpers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

twig template php metadata description keywords

14/03 2016

dev-develop

dev-develop

Metadata helpers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

twig template php metadata description keywords

14/03 2016

1.0.4

1.0.4.0

Metadata helpers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

twig template php metadata description keywords

30/12 2015

1.0.3

1.0.3.0

Metadata helpers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

twig template php metadata description keywords

24/11 2015

1.0.2

1.0.2.0

Metadata helpers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

twig template php metadata description keywords

16/08 2015

1.0.1

1.0.1.0

Metadata helpers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

twig template php metadata description keywords

11/06 2015

1.0.0

1.0.0.0

Metadata helpers

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marijn Ophorst

twig template php metadata description keywords