{"id":50502,"date":"2016-08-25T13:06:20","date_gmt":"2016-08-25T13:06:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/open-meal-information\/"},"modified":"2019-02-18T08:57:39","modified_gmt":"2019-02-18T08:57:39","slug":"open-meal-information","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/open-meal-information\/","author":8857345,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"5.0.25","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Open Meal Information","header_author":"jonashjalmarsson","header_description":"","assets_banners_color":"","last_updated":"2019-02-18 08:57:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/open-meal-information","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":696,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Output of open-meal-information on page."}},"plugin_section":[],"plugin_tags":[1556,12446,20268,12392],"plugin_category":[39],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-50502","plugin","type-plugin","status-closed","hentry","plugin_tags-api","plugin_tags-food","plugin_tags-meal","plugin_tags-open-source","plugin_category-business","plugin_committers-jonashjalmarsson"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/open-meal-information.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Shortcode <code>[open-meal-information]<\/code> enables a table populated with this weeks meals. Enter the URL to the API in the shortcode. Read more about the Open Meal Information project here: [http:\/\/orebrokommun.github.io\/Open-Meal-Information\/]<\/p>\n\n<h4>[open-meal-information]<\/h4>\n\n<p>Add open meal information functionallity to any post or widget with the shortcode\n    [open-meal-information src=\"http:\/\/path_to\/api.json\"]<\/p>\n\n<p>With this shortcode a week meal is populated.<\/p>\n\n<p><strong>Settings:<\/strong><\/p>\n\n<p>There are some settings to control the search and output.<\/p>\n\n<ul>\n<li><p><strong>src<\/strong> Enter the path to the file to search, the file is uploaded through the Media archive as with any other file. Find the URL and enter it in this attribute. Sample: https:\/\/skolmaten.se\/api\/openmeal\/v2\/meals.json?distributorID=5323089923538944<\/p><\/li>\n<li><p><strong>scriptsrc<\/strong> <em>Optional.<\/em> Enter the path to javascript file. Default is https:\/\/orebrokommun.github.io\/Open-Meal-Information\/js\/widget.js.<\/p><\/li>\n<li><p><strong>language<\/strong> <em>Optional.<\/em> Set language. Default to 'sv'.<\/p><\/li>\n<li><p><strong>days<\/strong> <em>Optional.<\/em> Number of days to show. Default 5 days.<\/p><\/li>\n<li><p><strong>icalbutton<\/strong> <em>Optional.<\/em> Set to true to show ical button. Will get iCal-url from API call and has to be styled with class \"glyphicon glyphicon-calendar\" to show.<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>install and activate the plugin on the Plugins page<\/li>\n<li>add one of the shortcodes to page or post content<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<p>Initial commit.<\/p>","raw_excerpt":"Easy way to enable Open Meal Information. Use the shortcodes [open-meal-information] to enable.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/50502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=50502"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jonashjalmarsson"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=50502"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=50502"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=50502"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=50502"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=50502"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=50502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}