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
To better equip Google's crawler to find DReact related content (like a list of links on the Policies site), modify the dreact module to inject a list of links into a <noscript> tag derived from the assigned endpoint (Drupal View) on the page that the DReact app is embedded.
This injection should only happen when the DReact app is set as "search-filter" (DSF).
@rnorigian Thanks for adding this. We may need to clarify the bullet points under "Expected behavior" a bit:
The data from the endpoint should always print within the tag. (That's the most accessible approach, and is the best way to ensure Google will crawl the content.)
Note: All the data from a given endpoint should print in the tag (e.g., titles, dates, descriptions, etc.). The contents of the should not be limited only to links — and different endpoints provide different fields, depending on the nature of the content.
At the OUC weekly yesterday Joel said that there are a number of other sites (besides Policy) that use DSF that don't have OUC's manual workaround (to get google to crawl) in place. When you're ready to test this, Joel can identify the sites we'd use for monitoring effectiveness.
OK. There are currently some issues with this that don't relate to getting the data, but relate to the way the dreact module itself works. Some early choices in the project are causing major headaches. Right now I'm trying to get around needing to completely nuke all of the key/value pairs across all sites in order to get it to reload properly.
jmorton-ca
changed the title
Inject DSF Links for Google Crawler
Implement noscript for DReact
Nov 28, 2022
To better equip Google's crawler to find DReact related content (like a list of links on the Policies site), modify the dreact module to inject a list of links into a
<noscript>
tag derived from the assigned endpoint (Drupal View) on the page that the DReact app is embedded.This injection should only happen when the DReact app is set as "search-filter" (DSF).
Example endpoint view value: https://dev.policy.brown.edu/dsf_combined
Expected behavior:
<noscript>
tagThe text was updated successfully, but these errors were encountered: