Trying to convert php library from github to wordpress plugin.
-
I’m a newbie learning php and I’ve been trying to convert the zip file of a php library that I found on github to a wordpress plugin.
But i dont understand what this line means.
“Call RecipeParser::parse(), passing in the contents of an HTML file that includes a recipe and, optionally, the URL of the original page, which helps to identify specific parsers to use.”
Where do I call that code and automatically pass in content for html and different url. Is there a function that I’m missing?
I want the plugin to automatically create a new blog post of parsed recipes every time a content is published on certain websites. Is this even possible
This is the guthub link. https://github.com/onetsp/RecipeParser/blob/master/README.md. Thank you in advance.
The page I need help with: [log in to see the link]
- The topic ‘Trying to convert php library from github to wordpress plugin.’ is closed to new replies.