Recipefy Scope

Registered by Eduard Gotwig

The idea for the Recipefy Scope is that you can list trough it recips from recipefy.com

Here are some ideas, for parsing the HTML content of the recipe search result:

# TO IMPLEMENT FOR RECIPEFY SCOPE (COOKING-LENS)

http://www.recipefy.com/$LANG/all/dishes/1/explore/latest

is an example URL.

/en - is for the display language
/all - is for the recipe country
/dishes -
/1 - is for the first category ( of six )
/explore
/latest - sorts recipes for the last published ones

THE RECIPE RESULTS ARE IN A HTML DOCUMENT, specific in the DiV TAG WITH THE CLASS 'items recipes'

EACH RECIPE IS STORED IN A DIV TAG WITH THE CLASS 'item' AND A SPECIFIC ID

THE RECIPE LINK (<a href="URL">...) IS FOUND IN THE DIV WITH THE CLASS 'item-img'

THE RECIPE IMAGE ( <img class="photo" ... src="URL" </a> ) IS FOUND IN THE DIV WITH THE CLASS 'item-img', AND IS IN THE </a> TAG.

RECIPE NAME ( <h3> CONTENT <h3>) and RECIPE TAGS ( <p class="tags"> <a href="URL"> NAME</a> " , " ... </p>) ARE STORED IN THE DIV CLASS 'item-cont'

ADDITIONAL INFO FOR THE RECIPE IS STORED IN A DIV TAG WITH THE CLASS 'item-extra'

LIKES ( <a href="URL" class="ch-like"> X Likes</a>) AE STORED IN A HTML TABLE ROW(<ul> <li>)

COMMENTS ARE STORED IN A ROW (<a href="URL" class="ch-comment"> X Likes</a>)

EXTRA TIME (<span title="&lt;p class='nw'&gt;Prep. Time &amp;rarr; TIMEIN min &lt;br/&gt ;.. </span>)

AND LEVEL (<span title="...; Level &amp;rarr; LEVEL&lt;/p&gt;"> ... </span>)

ARE STORED IN ONE ROW (<span title="&lt;p class='nw'&gt;Prep. Time &amp;rarr; TIMEIN min &lt;br/&gt; Level &amp;rarr; LEVEL&lt;/p&gt;"> ... </span>) with class 'nw'

Blueprint information

Status:
Complete
Approver:
Eduard Gotwig
Priority:
Essential
Drafter:
None
Direction:
Needs approval
Assignee:
Eduard Gotwig
Definition:
Drafting
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Eduard Gotwig
Completed by
Eduard Gotwig

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.