Skip to content

Commit

Permalink
fix: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
euskadi31 committed Dec 1, 2022
1 parent e83ba3c commit e8ca708
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@

## Test with [Atoum](https://github.com/atoum/atoum)

cd Opengraph/
cd Opengraph/
curl -s https://getcomposer.org/installer | php
php composer.phar install --dev
./vendor/atoum/atoum/bin/atoum --glob Tests/Units/

./vendor/bin/phpunit -c phpunit.xml.dist

## Writer

``` php
```php
<?php
namespace Application;

Expand All @@ -35,16 +34,16 @@ echo $writer->render() . PHP_EOL;

Output

``` html
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
```html
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
```

## Reader

``` php
```php
<?php
namespace Application;

Expand Down

0 comments on commit e8ca708

Please sign in to comment.