Skip to content

Conversation

@ndewhurst
Copy link

Hi Mike,
I'm working on a pilot parse.ly integration with a Drupal site, and would like to use this module, so I started extending/revising it. Let me know if you have any thoughts on these changes (and/or if you have a development roadmap for an initial module release).
Cheers,

Nathanael

 - Refactoring _parsely_get_tags for performance (particularly when
   large vocabs are involved) and simplicity.
 - Tweaking syntax in parsely_should_add_metas to avoid fatal error in
   some PHP versions.
…section.

  Admins can now specify criteria for choosing between multiple terms in
  the given vocab, and can elect to always use top-level terms in
  hierarchical vocabs.
  New config section for metadata values, with node/global token support.
  Current iteration supports the "thumbnailUrl" field. Future iterations
  should support the custom "metadata" option, "@type," etc. (possibly
  all fields). Works gracefully with any recent version of Token module,
  or without it.
@ndewhurst
Copy link
Author

I just added support for the thumbnailUrl field, with nice CMS configurability. It ties into the Token module if it's available so admins can drop in a token for a node image field, etc. (see 2be2259 for specifics). The idea is that we could take the same approach for some or all of the other metadata fields, to make this truly customizable. Can also support the alternate metadata format ("repeated metatags") or just pipe data from the Metatag module into the JSON-LD format. And we'd want to make the final product alterable in any case...

@ndewhurst ndewhurst changed the title Functional enhancements and new options for sections and tags Functional enhancements, new options for sections and tags, thumbnailUrl, metadata customization Feb 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant