Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign of Parser and Render #11

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

brunomp
Copy link

@brunomp brunomp commented Feb 6, 2019

Parser replaced the class Reader and Render replaced the class Writer. It is now possible to render Opengraph in Json and restore it with ParserJson. The new design allows new Parser types and new Render types to be created without the need to change the Opengraph class (Open-closed principle of SOLID).

@euskadi31 euskadi31 self-requested a review February 6, 2019 20:55
@euskadi31 euskadi31 added this to the v2.0.0 milestone Feb 6, 2019
@euskadi31
Copy link
Owner

Ok for me, just fix unit test :)

@euskadi31
Copy link
Owner

@brunomp any news ?

1 similar comment
@euskadi31
Copy link
Owner

@brunomp any news ?

@@ -1,14 +1,18 @@
{
"name": "euskadi31/Opengraph",
"name": "brunomp/opengraph",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Package name should remain the same


$data = array(
$property . ':url' => $content

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self::OG_IMAGE needs ':url' suffix to be added

@euskadi31
Copy link
Owner

@brunomp any news ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants