You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to be able to add the name of the website to tags / metadata for the purposes of grouping recipes from the same source. I see this isn't in the json schema, but shouldn't be too hard to just parse <title> from the domain's root page?
Main barrier would be that there is no existing HTML parsing in the project, but grabbing the contents of <title> seems like it could be just done with regex/string manip on the full html content - I'm not familiar with HTML parsing in JS.
Happy to PR this myself when I have a second if it would be as easy as I'm imagining, but want to check the idea is possible first.
The text was updated successfully, but these errors were encountered:
Lol. I am SO sorry @deafmute1! I am deleting my previous message. I forgot we already do add the tags. I will 100% add name in there! I think we should go with name from the https://schema.org/Recipe instead of the <title> though. Do you agree or would you prefer the HTML title?
Would be nice to be able to add the name of the website to tags / metadata for the purposes of grouping recipes from the same source. I see this isn't in the json schema, but shouldn't be too hard to just parse
<title>
from the domain's root page?Main barrier would be that there is no existing HTML parsing in the project, but grabbing the contents of <title> seems like it could be just done with regex/string manip on the full html content - I'm not familiar with HTML parsing in JS.
Happy to PR this myself when I have a second if it would be as easy as I'm imagining, but want to check the idea is possible first.
The text was updated successfully, but these errors were encountered: