LaCollision Posted September 5, 2017 Share Posted September 5, 2017 (edited) Hi, It looks like that the breadcrumb JSON script is currently empty? I can't see it on my community (4.2.3), neither on this website, under the list of javascript files: <script type='text/javascript'> ips.setSetting( 'date_format', jQuery.parseJSON('"mm\/dd\/yy"') ); ips.setSetting( 'date_first_day', jQuery.parseJSON('0') ); ips.setSetting( 'remote_image_proxy', jQuery.parseJSON('1') ); ips.setSetting( 'ipb_url_filter_option', jQuery.parseJSON('"none"') ); ips.setSetting( 'url_filter_any_action', jQuery.parseJSON('"allow"') ); ips.setSetting( 'bypass_profanity', jQuery.parseJSON('0') ); </script> ### JSON breadcrumb structured data missing here? <script src="//use.typekit.net/aeh4hzr.js"></script> Thanks Edited September 5, 2017 by LaCollision Link to comment Share on other sites More sharing options...
All Astronauts Posted September 5, 2017 Share Posted September 5, 2017 IPS has been mucking about with the meta tags and json output recently. If you want them to warn you this is happening prior to a release being released you'll need to poke the various parties responsible. /* Wipe JsonLD for now until issues resolved */ \IPS\Output::i()->jsonLd = array(); That includes breadcrumbs. Sorry. LaCollision and sobrenome 1 1 Link to comment Share on other sites More sharing options...
LaCollision Posted September 5, 2017 Author Share Posted September 5, 2017 Thank you for your answer! I didn't notice the Json reset in the source code. I hope the issues will be soon addressed, as the IPS Suite currently has no structured data! The schema.org metadata has been removed from the templates. Link to comment Share on other sites More sharing options...
All Astronauts Posted September 5, 2017 Share Posted September 5, 2017 4 minutes ago, LaCollision said: The schema.org metadata has been removed from the templates. Yep... Link to comment Share on other sites More sharing options...
TSP Posted September 8, 2017 Share Posted September 8, 2017 I see it's still not back in 4.2.4 pre-release. Could someone from IPS give us an idea on when it's coming back? sound and LaCollision 2 Link to comment Share on other sites More sharing options...
LaCollision Posted September 11, 2017 Author Share Posted September 11, 2017 Up! Apparently, the new beta released today doesn't include the metadata either. Link to comment Share on other sites More sharing options...
Stuart Silvester Posted September 11, 2017 Share Posted September 11, 2017 JsonLD data was restored in 4.2.4 beta 2, I'm also seeing it working in communities that have been upgraded to Beta 2. DSystem, sobrenome, LaCollision and 1 other 3 1 Link to comment Share on other sites More sharing options...
LaCollision Posted September 11, 2017 Author Share Posted September 11, 2017 1 hour ago, Stuart Silvester said: JsonLD data was restored in 4.2.4 beta 2, I'm also seeing it working in communities that have been upgraded to Beta 2. Great! Thanks! Link to comment Share on other sites More sharing options...
sobrenome Posted November 27, 2020 Share Posted November 27, 2020 On 9/11/2017 at 12:12 PM, Stuart Silvester said: JsonLD data Is there a guide for this? I have a database for medical drugs and Pages uses article type schema. I would like to use the specific drug schema: https://schema.org/Drug I have tried: {{\IPS\Output::i()->jsonLd['Drug']['activeIngredient'] = $record->_title;}} But the result is incorrect: <script type='application/ld+json'> { "activeIngredient": "Fenilpropionato de nandrolona" } </script> Link to comment Share on other sites More sharing options...
bfarber Posted November 30, 2020 Share Posted November 30, 2020 You probably have to define the "Drug" array entry first. sobrenome 1 Link to comment Share on other sites More sharing options...
Recommended Posts