I have made the following views improvements to the Yoast SEO module:

- Added SEO Score as an available field, filter & sort.
- Renamed SEO Score to SEO Rating (keeping with the terminology used in the JS).
- Added Focus Keyword as available field, filter & sort.
- Utilised Views relationships to pull SEO data from DB instead of relying on module functions to return data, allows use of default views sorts etc.

I'll post the patch shortly.

It's important to note that this -will- break existing views as the handler has changed. Luckily it's a simple case of removing and readding the fields to the views.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MJCO created an issue. See original summary.

Homotechsual’s picture

Patch to improve views support in the Yoast SEO module.

Homotechsual’s picture

Some screenshots of how we're using this are attached.

Homotechsual’s picture

Issue summary: View changes
robertragas’s picture

Hey Homotechsual,

Great improvement! For now i'm setting this to reviewed and approved and will merge it in later.
As you said it breaks the handlers, but since it was only available as a field and not filter etc. I don't think it has that of a huge impact but I will be sure to include it in the release notes.

Thanks for the hard work!

robertragas’s picture

Status: Needs review » Reviewed & tested by the community
Homotechsual’s picture

FileSize
5.82 KB

Patch updated to latest 7.x-1.x code. Any idea when this will be committed? We're currently having to maintain separate code to keep these changes in sync on an increasing number of client sites.

Not trying to be pushy - just curious :-)

Thanks!

robertragas’s picture

Today :) I am working on the new release now.

robertragas’s picture

Status: Reviewed & tested by the community » Fixed
Homotechsual’s picture

That's Great - Thanks :-)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.